Dear Support,
strategies, which subscribe to Instruments by the setSubscribedInstruments(Set<Instrument>, boolean)
https://www.dukascopy.com/client/javadoc/com/dukascopy/api/IContext.html#setSubscribedInstruments(java.util.Set,%20boolean)get a Java Console error as follows
2016-01-07 17:15:01.100 ERROR c - Event execution error: com.dukascopy.dds2.greed.actions.subscribe.FullDepthInstrumentSubscribeAction, message: null
java.lang.NullPointerException
at com.dukascopy.dds2.greed.actions.subscribe.FullDepthInstrumentSubscribeAction.GA(L:53)
at com.dukascopy.dds2.greed.actions.c.run(L:48)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Code Sniplet in "onStart(IContext context)" function:
Set<Instrument> instrumentsContext = new HashSet();
instrumentsContext.add(Instrument.EURUSD);
instrumentsContext.add(Instrument.USDCAD);
context.setSubscribedInstruments(instrumentsContext, true);
It does not happen in live at the moment as the version is still 2.45.28
Please don't roll this version out into live, this bug could terminate a lot of working strategies!