In case you're wondering, from the stack trace below, I re-named the jar "1.0.0" when registering with my local MAVEN repo. But, this is from the first (non-beta) release of the Java EMA Elektron API. This may be related to the other question I have posted today, as "Unknown Source" looks suspicious.
I am using a recorded rwf file and using the sink_driven_src tool. The code is based on example 370. Except, I am requesting *multiple* batches of 50 rics. Each batch request is a repeat of lines 126-134 from the example, for each different batch of rics I am requesting.
This error is intermittent occurring only 1 in 10 times, using the same playback file. But, when it does, the feed hangs and I get no more refresh or update messages coming through.
Error Stack Trace:
6809 [pool-58-thread-1] ERROR o.a.s.s.o.a.z.s.NIOServerCnxnFactory - Thread Thread[pool-58-thread-1,5,main] died
java.lang.NullPointerException
at com.thomsonreuters.ema.access.ItemCallbackClient.processStatusMsg(Unknown Source) ~[ema-1.0.0.jar:?]
at com.thomsonreuters.ema.access.ItemCallbackClient.defaultMsgCallback(Unknown Source) ~[ema-1.0.0.jar:?]
at com.thomsonreuters.upa.valueadd.reactor.Reactor.sendDefaultMsgCallback(Unknown Source) ~[upavalueadd-1.0.0.jar:${version}]
at com.thomsonreuters.upa.valueadd.reactor.Reactor.sendAndHandleDefaultMsgCallback(Unknown Source) ~[upavalueadd-1.0.0.jar:${version}]
at com.thomsonreuters.upa.valueadd.reactor.WlItemHandler.callbackUser(Unknown Source) ~[upavalueadd-1.0.0.jar:${version}]
at com.thomsonreuters.upa.valueadd.reactor.WlItemHandler.dispatch(Unknown Source) ~[upavalueadd-1.0.0.jar:${version}]
at com.thomsonreuters.upa.valueadd.reactor.Watchlist.dispatch(Unknown Source) ~[upavalueadd-1.0.0.jar:${version}]
at com.thomsonreuters.upa.valueadd.reactor.Reactor.processWorkerEvent(Unknown Source) ~[upavalueadd-1.0.0.jar:${version}]
at com.thomsonreuters.upa.valueadd.reactor.Reactor.dispatchChannel(Unknown Source) ~[upavalueadd-1.0.0.jar:${version}]
at com.thomsonreuters.upa.valueadd.reactor.ReactorChannel.dispatch(Unknown Source) ~[upavalueadd-1.0.0.jar:${version}]
at com.thomsonreuters.ema.access.OmmConsumerImpl.rsslReactorDispatchLoop(Unknown Source) ~[ema-1.0.0.jar:?]
at com.thomsonreuters.ema.access.OmmConsumerImpl.run(Unknown Source) ~[ema-1.0.0.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[?:1.8.0_77]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[?:1.8.0_77]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_77]