{"action":"created","issue":{"url":"https://api.github.com/repos/ethereum/ethereumj/issues/596","repository_url":"https://api.github.com/repos/ethereum/ethereumj","labels_url":"https://api.github.com/repos/ethereum/ethereumj/issues/596/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/ethereumj/issues/596/comments","events_url":"https://api.github.com/repos/ethereum/ethereumj/issues/596/events","html_url":"https://github.com/ethereum/ethereumj/issues/596","id":189448618,"number":596,"title":"Fails to start when using genesis with empty alloc and miner activated","user":{"login":"zilm13","id":6196452,"avatar_url":"https://avatars.githubusercontent.com/u/6196452?v=3","gravatar_id":"","url":"https://api.github.com/users/zilm13","html_url":"https://github.com/zilm13","followers_url":"https://api.github.com/users/zilm13/followers","following_url":"https://api.github.com/users/zilm13/following{/other_user}","gists_url":"https://api.github.com/users/zilm13/gists{/gist_id}","starred_url":"https://api.github.com/users/zilm13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zilm13/subscriptions","organizations_url":"https://api.github.com/users/zilm13/orgs","repos_url":"https://api.github.com/users/zilm13/repos","events_url":"https://api.github.com/users/zilm13/events{/privacy}","received_events_url":"https://api.github.com/users/zilm13/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-15T17:00:48Z","updated_at":"2016-11-18T12:10:21Z","closed_at":"2016-11-18T12:10:21Z","body":"Genesis:\r\n```\r\n{\r\n  \"alloc\": {  },\r\n  \"nonce\": \"0x0000000000000042\",\r\n  \"difficulty\": \"0x000002\",\r\n  \"mixhash\": \"0x0000000000000000000000000000000000000000000000000000000000000000\",\r\n  \"coinbase\": \"0x0000000000000000000000000000000000000000\",\r\n  \"timestamp\": \"0x00\",\r\n  \"parentHash\": \"0x0000000000000000000000000000000000000000000000000000000000000000\",\r\n  \"extraData\": \"0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa\",\r\n  \"gasLimit\": \"0x4c4b40\"\r\n}\r\n```\r\n\r\nStacktrace:\r\n```\r\nCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'blockMiner': Invocation of init method failed; nested exception is java.lang.RuntimeException: Invalid Trie state, missing node 56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421\r\n\tat org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1575)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreatbstractAutowireCapableBeanFactory.java:545)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)\r\n\tat org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1128)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1056)\r\n\tat org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:566)\r\n\t... 53 common frames omitted\r\nCaused by: java.lang.RuntimeException: Invalid Trie state, missing node 56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421\r\n\tat org.ethereum.trie.TrieImpl.insert(TrieImpl.java:265)\r\n\tat org.ethereum.trie.TrieImpl.insertOrDelete(TrieImpl.java:241)\r\n\tat org.ethereum.trie.TrieImpl.update(TrieImpl.java:166)\r\n\tat org.ethereum.trie.SecureTrie.update(SecureTrie.java:25)\r\n\tat org.ethereum.db.RepositoryImpl.updateAccountState(RepositoryImpl.java:512)\r\n\tat org.ethereum.db.RepositoryImpl.updateBatch(RepositoryImpl.java:190)\r\n\tat org.ethereum.db.RepositoryTrack.commit(RepositoryTrack.java:350)\r\n\tat org.ethereum.core.BlockchainImpl.applyBlock(BlockchainImpl.java:861)\r\n\tat org.ethereum.core.BlockchainImpl.createNewBlock(BlockchainImpl.java:476)\r\n\tat org.ethereum.mine.BlockMiner.restartMining(BlockMiner.java:218)\r\n\tat org.ethereum.mine.BlockMiner.stng(BlockMiner.java:115)\r\n\tat org.ethereum.mine.BlockMiner.init(BlockMiner.java:95)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:365)\r\n\tat org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:310)\r\n\tat org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)\r\n\t... 65 common frames omitted\r\n```"},"comment":{"url":"https://api.github.com/repos/ethereum/ethereumj/issues/comments/261517739","html_url":"https://github.com/ethereum/ethereumj/issues/596#issuecomment-261517739","issue_url":"https://api.github.com/repos/ethereum/ethereumj/issues/596","id":261517739,"user":{"login":"zilm13","id":6196452,"avatar_url":"https://avatars.githubusercontent.com/u/6196452?v=3","gravatar_id":"","url":"https://api.github.com/users/zilm13","html_url":"https://github.com/zilm13","followers_url":"https://api.github.com/users/zilm13/followers","following_url":"https://api.github.com/users/zilm13/following{/other_user}","gists_url":"https://api.github.com/users/zilm13/gists{/gist_id}","starred_url":"https://api.github.com/users/zilm13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zilm13/subscriptions","organizations_url":"https://api.github.com/users/zilm13/orgs","repos_url":"https://api.github.com/users/zilm13/repos","events_url":"https://api.github.com/users/zilm13/events{/privacy}","received_events_url":"https://api.github.com/users/zilm13/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T12:10:21Z","updated_at":"2016-11-18T12:10:21Z","body":"This bug is not actual for develop"}}
{"actor":{"display_login":"zilm13"}}