-
Notifications
You must be signed in to change notification settings - Fork 518
Closed
Description
Hive sometimes wants to deliver blocks non-contiguously, which EthereumJ doesn't seem to like:
08:03:14.135 INFO [general] Config ( no ): config passed via constructor
Performing action: importBlocks
08:03:14.212 INFO [general] Overriding config file with CLI options: {peer.discovery.enabled=false}
08:03:14.222 INFO [general] Starting EthereumJ...
08:03:16.005 INFO [general] Running frontier.json, core version: 1.9.0-SNAPSHOT
08:03:16.005 INFO [general] git.hash: [433ae2f]
08:03:16.005 INFO [general] build.time: [GMT]-[10/Aug/2018]-[09:05]
08:03:16.006 INFO [general] Created database version file
08:03:16.007 INFO [general] capability eth version: [62, 63]
08:03:16.007 INFO [general] capability shh version: [3]
08:03:16.007 INFO [general] capability bzz version: [0]
08:03:16.667 ERROR [general] Uncaught exception
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'defaultConfig': Unsatisfied dependency expressed through field 'config'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'systemProperties' defined in org.ethereum.config.CommonConfig: Initialization of bean failed; nested exception is java.lang.RuntimeException: Block numbers should increase
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:569)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:349)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1219)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:751)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
at org.springframework.context.annotation.AnnotationConfigApplicationContext.<init>(AnnotationConfigApplicationContext.java:84)
at org.ethereum.facade.EthereumFactory.createEthereum(EthereumFactory.java:64)
at org.ethereum.facade.EthereumFactory.createEthereum(EthereumFactory.java:45)
at org.ethereum.facade.EthereumFactory.createEthereum(EthereumFactory.java:41)
at org.ethereum.Start.main(Start.java:53)
at com.ethercamp.harmony.Application.main(Application.java:58)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'systemProperties' defined in org.ethereum.config.CommonConfig: Initialization of bean failed; nested exception is java.lang.RuntimeException: Block numbers should increase
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1128)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1056)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:566)
... 18 common frames omitted
Caused by: java.lang.RuntimeException: Block numbers should increase
at org.ethereum.config.net.BaseNetConfig.add(BaseNetConfig.java:37)
at org.ethereum.config.net.JsonNetConfig.<init>(JsonNetConfig.java:114)
at org.ethereum.config.SystemProperties.getBlockchainConfig(SystemProperties.java:330)
at org.ethereum.config.Initializer.initConfig(Initializer.java:66)
at org.ethereum.config.Initializer.postProcessBeforeInitialization(Initializer.java:82)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1575)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
Metadata
Metadata
Assignees
Labels
No labels