{"action":"created","issue":{"url":"https://api.github.com/repos/tronprotocol/docker-tron-quickstart/issues/18","repository_url":"https://api.github.com/repos/tronprotocol/docker-tron-quickstart","labels_url":"https://api.github.com/repos/tronprotocol/docker-tron-quickstart/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/tronprotocol/docker-tron-quickstart/issues/18/comments","events_url":"https://api.github.com/repos/tronprotocol/docker-tron-quickstart/issues/18/events","html_url":"https://github.com/tronprotocol/docker-tron-quickstart/issues/18","id":387166089,"node_id":"MDU6SXNzdWUzODcxNjYwODk=","number":18,"title":" Error creating bean with name 'nodeManager'","user":{"login":"ShenEnQ","id":7359679,"node_id":"MDQ6VXNlcjczNTk2Nzk=","avatar_url":"https://avatars0.githubusercontent.com/u/7359679?v=4","gravatar_id":"","url":"https://api.github.com/users/ShenEnQ","html_url":"https://github.com/ShenEnQ","followers_url":"https://api.github.com/users/ShenEnQ/followers","following_url":"https://api.github.com/users/ShenEnQ/following{/other_user}","gists_url":"https://api.github.com/users/ShenEnQ/gists{/gist_id}","starred_url":"https://api.github.com/users/ShenEnQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShenEnQ/subscriptions","organizations_url":"https://api.github.com/users/ShenEnQ/orgs","repos_url":"https://api.github.com/users/ShenEnQ/repos","events_url":"https://api.github.com/users/ShenEnQ/events{/privacy}","received_events_url":"https://api.github.com/users/ShenEnQ/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-12-04T08:12:51Z","updated_at":"2018-12-06T18:57:38Z","closed_at":null,"author_association":"NONE","body":"When i run `docker run -it -p 8091:8091 -p 8092:8092 -p 8090:8090 -p 50051:50051 -p 50052:50052 --rm --name tron trontools/quickstart:latest`.\r\nThe console is pending and did not generate 10 addresses.\r\n\r\n\r\n`Start the http proxy for dApps...\r\nnohup: appending output to 'nohup.out'\r\n[HPM] Proxy created: /  ->  http://127.0.0.1:18190\r\n[HPM] Proxy created: /  ->  http://127.0.0.1:18191\r\n[HPM] Proxy created: /  ->  http://127.0.0.1:18891\r\n\r\n Full Node listening on http://127.0.0.1:8090\r\n Solidity Node listening on http://127.0.0.1:8091\r\n Event Server listening on http://127.0.0.1:8092\r\n`\r\n\r\n\r\nThen I got errors logs by ` docker exec -it tron tail -n 100  /tron/FullNode/logs/tron.log\r\n` \r\nThe details about the error:\r\n`08:04:39.388 WARN  [main] [o.t.c.a.TronApplicationContext](AbstractApplicationContext.java:558) Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'nodeManager' defined in URL [jar:file:/tron/FullNode/FullNode.jar!/org/tron/common/overlay/discover/node/NodeManager.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'manager': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException\r\n08:04:39.553 ERROR [main] [general](DefaultConfig.java:30) Uncaught exception\r\norg.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'nodeManager' defined in URL [jar:file:/tron/FullNode/FullNode.jar!/org/tron/common/overlay/discover/node/NodeManager.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'manager': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException\r\n        at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:732)\r\n        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:197)\r\n        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1267)\r\n        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1124)\r\n        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:535)\r\n        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)\r\n        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\r\n        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)\r\n        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\r\n        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\r\n        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:759)\r\n        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:869)\r\n        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)\r\n        at org.tron.program.FullNode.main(FullNode.java:49)\r\nCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'manager': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException\r\n        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:139)\r\n        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:416)\r\n        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1691)\r\n        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:573)\r\n        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)\r\n        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)\r\n        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)\r\n        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)\r\n        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)\r\n        at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)\r\n        at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1135)\r\n        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1062)\r\n        at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:818)\r\n        at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:724)\r\n        ... 13 common frames omitted\r\nCaused by: java.lang.IllegalArgumentException: null\r\n        at java.util.concurrent.ThreadPoolExecutor.<init>(ThreadPoolExecutor.java:1314)\r\n        at java.util.concurrent.ThreadPoolExecutor.<init>(ThreadPoolExecutor.java:1202)\r\n        at java.util.concurrent.Executors.newFixedThreadPool(Executors.java:89)\r\n        at org.tron.core.db.Manager.init(Manager.java:381)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.lang.reflect.Method.invoke(Method.java:498)\r\n        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:366)\r\n        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:309)\r\n        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136)\r\n        ... 26 common frames omitted\r\n`\r\nSo, what is wrong?\r\n"},"comment":{"url":"https://api.github.com/repos/tronprotocol/docker-tron-quickstart/issues/comments/444987355","html_url":"https://github.com/tronprotocol/docker-tron-quickstart/issues/18#issuecomment-444987355","issue_url":"https://api.github.com/repos/tronprotocol/docker-tron-quickstart/issues/18","id":444987355,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDk4NzM1NQ==","user":{"login":"sullof","id":108464,"node_id":"MDQ6VXNlcjEwODQ2NA==","avatar_url":"https://avatars2.githubusercontent.com/u/108464?v=4","gravatar_id":"","url":"https://api.github.com/users/sullof","html_url":"https://github.com/sullof","followers_url":"https://api.github.com/users/sullof/followers","following_url":"https://api.github.com/users/sullof/following{/other_user}","gists_url":"https://api.github.com/users/sullof/gists{/gist_id}","starred_url":"https://api.github.com/users/sullof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sullof/subscriptions","organizations_url":"https://api.github.com/users/sullof/orgs","repos_url":"https://api.github.com/users/sullof/repos","events_url":"https://api.github.com/users/sullof/events{/privacy}","received_events_url":"https://api.github.com/users/sullof/received_events","type":"User","site_admin":false},"created_at":"2018-12-06T18:57:38Z","updated_at":"2018-12-06T18:57:38Z","author_association":"COLLABORATOR","body":"That is very weird. Nobody else had the same issue.\r\nTry the new version calling\r\n```\r\ndocker run -it \\\r\n  -p 9090:9090 \\\r\n  -e \"showQueryString=true\" \\\r\n  -e \"showBody=true\" \\\r\n  -e \"formatJson=true\" \\\r\n  --name tron \\\r\n  trontools/quickstart:1.2.4\r\n```"}}
{"actor":{"display_login":"sullof"}}