Hi,
I try to run the exaple sesame server from IntelliJ Idea. However, when I start the application (using OpenGammaServer.main()) I get the following exception:
com.opengamma.component.ComponentConfigException: Failed to set component factory properties: 'webEndpoints' with {factory=com.opengamma.sesame.web.WebComponentFactory, marketDataEnvironmentFactory=::default}
at com.opengamma.component.ComponentManager.initComponent(ComponentManager.java:353)
at com.opengamma.component.ComponentManager.initComponents(ComponentManager.java:322)
at com.opengamma.component.ComponentManager.init(ComponentManager.java:297)
at com.opengamma.component.ComponentManager.start(ComponentManager.java:206)
at com.opengamma.component.ComponentManager.start(ComponentManager.java:193)
at com.opengamma.component.OpenGammaComponentServer.run(OpenGammaComponentServer.java:307)
at com.opengamma.component.OpenGammaComponentServer.run(OpenGammaComponentServer.java:173)
at com.opengamma.solutions.server.OpenGammaServer.main(OpenGammaServer.java:17)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
Caused by: java.lang.IllegalArgumentException: Argument 'viewRunner' must not be null
at org.joda.beans.JodaBeanUtils.notNull(JodaBeanUtils.java:492)
at com.opengamma.sesame.web.WebComponentFactory.setViewRunner(WebComponentFactory.java:108)
at com.opengamma.sesame.web.WebComponentFactory$Meta.propertySet(WebComponentFactory.java:311)
at org.joda.beans.impl.direct.DirectMetaProperty.set(DirectMetaProperty.java:259)
at com.opengamma.component.ComponentManager.setProperty(ComponentManager.java:428)
at com.opengamma.component.ComponentManager.setFactoryProperties(ComponentManager.java:406)
at com.opengamma.component.ComponentManager.initComponent(ComponentManager.java:351)
... 12 more
======== OPENGAMMA STARTUP FAILED ========
Is it possible, that it doesn’t work because I don’t have Bloomberg installed? If not, can you tell me what could be the reason of the issue?
Best regards,
Jacek Witkowski