Skip to content

Instantly share code, notes, and snippets.

@Vineeth-Mohan
Created October 20, 2012 03:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Vineeth-Mohan/3921903 to your computer and use it in GitHub Desktop.
Save Vineeth-Mohan/3921903 to your computer and use it in GitHub Desktop.
[java] com.opengamma.OpenGammaRuntimeException: Failed to init component factory: 'viewProcessor' with {factory=com.opengamma.component.factory.engine.SpringViewProcessorComponentFactory, springFile=classpath:fullstack/fullstack-example-viewprocessor-spring.xml, propertiesFile=MANAGER.PROPERTIES, classifier=main, jmsConnector=::standard, scheduler=::standard, volatilityCubeDefinitionSource=::combined, marketDataProviderResolver=::standard, jmsBrokerUri=failover:(tcp://localhost:61616?daemon=true)?timeout=3000}
[java] at com.opengamma.component.ComponentManager.initComponent(ComponentManager.java:318)
[java] at com.opengamma.component.OpenGammaComponentServer$VerboseManager.initComponent(OpenGammaComponentServer.java:281)
[java] at com.opengamma.component.ComponentManager.init(ComponentManager.java:278)
[java] at com.opengamma.component.ComponentManager.loadIni(ComponentManager.java:251)
[java] at com.opengamma.component.OpenGammaComponentServer$VerboseManager.loadIni(OpenGammaComponentServer.java:270)
[java] at com.opengamma.component.ComponentManager.start(ComponentManager.java:202)
[java] at com.opengamma.component.OpenGammaComponentServer$VerboseManager.start(OpenGammaComponentServer.java:257)
[java] at com.opengamma.component.ComponentManager.start(ComponentManager.java:184)
[java] at com.opengamma.component.ComponentManager.start(ComponentManager.java:199)
[java] at com.opengamma.component.OpenGammaComponentServer$VerboseManager.start(OpenGammaComponentServer.java:257)
[java] at com.opengamma.component.ComponentManager.start(ComponentManager.java:184)
[java] at com.opengamma.component.ComponentManager.start(ComponentManager.java:199)
[java] at com.opengamma.component.OpenGammaComponentServer$VerboseManager.start(OpenGammaComponentServer.java:257)
[java] at com.opengamma.component.ComponentManager.start(ComponentManager.java:184)
[java] at com.opengamma.component.OpenGammaComponentServer.run(OpenGammaComponentServer.java:162)
[java] at com.opengamma.component.OpenGammaComponentServer.run(OpenGammaComponentServer.java:121)
[java] at com.opengamma.component.OpenGammaComponentServer.main(OpenGammaComponentServer.java:66)
[java] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mainCompiledFunctionService' defined in class path resource [fullstack/fullstack-example-viewprocessor-spring.xml]: Cannot create inner bean 'com.opengamma.engine.function.config.RepositoryFactoryBean#1aff012' of type [com.opengamma.engine.function.config.RepositoryFactoryBean] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.opengamma.engine.function.config.RepositoryFactoryBean#1aff012' defined in class path resource [fullstack/fullstack-example-viewprocessor-spring.xml]: Invocation of init method failed; nested exception is com.opengamma.OpenGammaRuntimeException: Unable to add parameterized function: ParameterizedFunctionConfiguration[_parameter=[Present Value, MARK_TO_MARKET],_definitionClassName=com.opengamma.financial.analytics.model.equity.futures.EquityIndexDividendFuturesFunction]
[java] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281)
[java] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120)
[java] at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:630)
[java] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)
[java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003)
[java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907)
[java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
[java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
[java] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
[java] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
[java] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
[java] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
[java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
[java] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
[java] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
[java] at com.opengamma.component.factory.AbstractSpringComponentFactory.createApplicationContext(AbstractSpringComponentFactory.java:79)
[java] at com.opengamma.component.factory.engine.SpringViewProcessorComponentFactory.init(SpringViewProcessorComponentFactory.java:101)
[java] at com.opengamma.component.ComponentManager.initFactory(ComponentManager.java:516)
[java] at com.opengamma.component.ComponentManager.initComponent(ComponentManager.java:316)
[java] ... 16 more
[java] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.opengamma.engine.function.config.RepositoryFactoryBean#1aff012' defined in class path resource [fullstack/fullstack-example-viewprocessor-spring.xml]: Invocation of init method failed; nested exception is com.opengamma.OpenGammaRuntimeException: Unable to add parameterized function: ParameterizedFunctionConfiguration[_parameter=[Present Value, MARK_TO_MARKET],_definitionClassName=com.opengamma.financial.analytics.model.equity.futures.EquityIndexDividendFuturesFunction]
[java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
[java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
[java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
[java] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270)
[java] ... 34 more
[java] Caused by: com.opengamma.OpenGammaRuntimeException: Unable to add parameterized function: ParameterizedFunctionConfiguration[_parameter=[Present Value, MARK_TO_MARKET],_definitionClassName=com.opengamma.financial.analytics.model.equity.futures.EquityIndexDividendFuturesFunction]
[java] at com.opengamma.engine.function.config.RepositoryFactory.addParameterizedFunctionConfiguration(RepositoryFactory.java:60)
[java] at com.opengamma.engine.function.config.RepositoryFactory.constructRepository(RepositoryFactory.java:41)
[java] at com.opengamma.engine.function.config.RepositoryFactoryBean.createObject(RepositoryFactoryBean.java:32)
[java] at com.opengamma.engine.function.config.RepositoryFactoryBean.createObject(RepositoryFactoryBean.java:15)
[java] at com.opengamma.util.SingletonFactoryBean.afterPropertiesSet(SingletonFactoryBean.java:64)
[java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
[java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
[java] ... 37 more
[java] Caused by: com.opengamma.OpenGammaRuntimeException: Unable to create static function: class com.opengamma.financial.analytics.model.equity.futures.EquityIndexDividendFuturesFunction: [Present Value, MARK_TO_MARKET]
[java] at com.opengamma.engine.function.config.RepositoryFactory.createParameterizedFunction(RepositoryFactory.java:107)
[java] at com.opengamma.engine.function.config.RepositoryFactory.addParameterizedFunctionConfiguration(RepositoryFactory.java:56)
[java] ... 43 more
[java] Caused by: java.lang.NoSuchMethodException: No suitable constructor found: class com.opengamma.financial.analytics.model.equity.futures.EquityIndexDividendFuturesFunction: [Present Value, MARK_TO_MARKET]
[java] at com.opengamma.engine.function.config.RepositoryFactory.createParameterizedFunction(RepositoryFactory.java:101)
[java] ... 44 more
[java] 08:52:45.237 [main] ERROR c.o.e.f.config.RepositoryFactory - Exception creating parameterized function
[java] java.lang.NoSuchMethodException: No suitable constructor found: class com.opengamma.financial.analytics.model.equity.futures.EquityIndexDividendFuturesFunction: [Present Value, MARK_TO_MARKET]
[java] at com.opengamma.engine.function.config.RepositoryFactory.createParameterizedFunction(RepositoryFactory.java:101) [og-engine-1.2.0-local-20121020073344.jar:na]
[java] at com.opengamma.engine.function.config.RepositoryFactory.addParameterizedFunctionConfiguration(RepositoryFactory.java:56) [og-engine-1.2.0-local-20121020073344.jar:na]
[java] at com.opengamma.engine.function.config.RepositoryFactory.constructRepository(RepositoryFactory.java:41) [og-engine-1.2.0-local-20121020073344.jar:na]
[java] at com.opengamma.engine.function.config.RepositoryFactoryBean.createObject(RepositoryFactoryBean.java:32) [og-engine-1.2.0-local-20121020073344.jar:na]
[java] at com.opengamma.engine.function.config.RepositoryFactoryBean.createObject(RepositoryFactoryBean.java:15) [og-engine-1.2.0-local-20121020073344.jar:na]
[java] at com.opengamma.util.SingletonFactoryBean.afterPropertiesSet(SingletonFactoryBean.java:64) [og-util-1.2.0-local-20121020072402.jar:na]
[java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
[java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
[java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
[java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
[java] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
[java] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
[java] at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:630) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
[java] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
[java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
[java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
[java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
[java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
[java] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
[java] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
[java] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
[java] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
[java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580) [spring-beans-3.0.4.jar:3.0.4.RELEASE]
[java] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) [spring-context-3.0.4.jar:3.0.4.RELEASE]
[java] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) [spring-context-3.0.4.jar:3.0.4.RELEASE]
[java] at com.opengamma.component.factory.AbstractSpringComponentFactory.createApplicationContext(AbstractSpringComponentFactory.java:79) [og-component-1.2.0-local-20121020074027.jar:na]
[java] at com.opengamma.component.factory.engine.SpringViewProcessorComponentFactory.init(SpringViewProcessorComponentFactory.java:101) [og-component-1.2.0-local-20121020074027.jar:na]
[java] at com.opengamma.component.ComponentManager.initFactory(ComponentManager.java:516) [og-component-1.2.0-local-20121020074027.jar:na]
[java] at com.opengamma.component.ComponentManager.initComponent(ComponentManager.java:316) [og-component-1.2.0-local-20121020074027.jar:na]
[java] at com.opengamma.component.OpenGammaComponentServer$VerboseManager.initComponent(OpenGammaComponentServer.java:281) [og-component-1.2.0-local-20121020074027.jar:na]
[java] at com.opengamma.component.ComponentManager.init(ComponentManager.java:278) [og-component-1.2.0-local-20121020074027.jar:na]
[java] at com.opengamma.component.ComponentManager.loadIni(ComponentManager.java:251) [og-component-1.2.0-local-20121020074027.jar:na]
[java] at com.opengamma.component.OpenGammaComponentServer$VerboseManager.loadIni(OpenGammaComponentServer.java:270) [og-component-1.2.0-local-20121020074027.jar:na]
[java] at com.opengamma.component.ComponentManager.start(ComponentManager.java:202) [og-component-1.2.0-local-20121020074027.jar:na]
[java] at com.opengamma.component.OpenGammaComponentServer$VerboseManager.start(OpenGammaComponentServer.java:257) [og-component-1.2.0-local-20121020074027.jar:na]
[java] at com.opengamma.component.ComponentManager.start(ComponentManager.java:184) [og-component-1.2.0-local-20121020074027.jar:na]
[java] at com.opengamma.component.ComponentManager.start(ComponentManager.java:199) [og-component-1.2.0-local-20121020074027.jar:na]
[java] at com.opengamma.component.OpenGammaComponentServer$VerboseManager.start(OpenGammaComponentServer.java:257) [og-component-1.2.0-local-20121020074027.jar:na]
[java] at com.opengamma.component.ComponentManager.start(ComponentManager.java:184) [og-component-1.2.0-local-20121020074027.jar:na]
[java] at com.opengamma.component.ComponentManager.start(ComponentManager.java:199) [og-component-1.2.0-local-20121020074027.jar:na]
[java] at com.opengamma.component.OpenGammaComponentServer$VerboseManager.start(OpenGammaComponentServer.java:257) [og-component-1.2.0-local-20121020074027.jar:na]
[java] at com.opengamma.component.ComponentManager.start(ComponentManager.java:184) [og-component-1.2.0-local-20121020074027.jar:na]
[java] at com.opengamma.component.OpenGammaComponentServer.run(OpenGammaComponentServer.java:162) [og-component-1.2.0-local-20121020074027.jar:na]
[java] at com.opengamma.component.OpenGammaComponentServer.run(OpenGammaComponentServer.java:121) [og-component-1.2.0-local-20121020074027.jar:na]
[java] at com.opengamma.component.OpenGammaComponentServer.main(OpenGammaComponentServer.java:66) [og-component-1.2.0-local-20121020074027.jar:na]
[java] ======== OPENGAMMA STARTUP FAILED ========
[java] 08:52:46.815 [ActiveMQ Transport: tcp://localhost/127.0.0.1:61616] WARN o.a.a.t.failover.FailoverTransport - Transport failed to tcp://localhost:61616?daemon=true , attempting to automatically reconnect due to: java.io.EOFException
BUILD SUCCESSFUL
Total time: 2 minutes 3 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment