Hello, I am getting null pointer exceptions from TS1 when decoding time series data for some RICs, for example for "3398.HK"
I checked the TimeSeriesTrend.java TS1 example in the SDK and with 90 samples it also throws the exception. Java RFA SDK 7.6.1.L1 (Legacy examples).
Can someone please help?, stack trace from TimeSeriesTrend example below
Thanks
--------
TimeSeries: Requesting series for symbol 3398.HK:
Period: Daily, NumSamples: 90
java.lang.NullPointerException
at com.reuters.ts1.tsds.Tsds.events(Unknown Source)
at com.reuters.ts1.tsds.Tsds.data(Unknown Source)
at com.reuters.ts1.tsds.Tsds.decodeUnpackedData(Unknown Source)
at com.reuters.ts1.tsds.Tsds.decode(Unknown Source)
at com.reuters.ts1.tsds.TsdsRecord.decode(Unknown Source)
at com.reuters.ts1.tsds.TsdsSeries.secondaryDecode(Unknown Source)
at com.reuters.ts1.tsds.TsdsSeries.decode(Unknown Source)
at com.reuters.rfa.legacyexample.framework.idn.TS1TimeSeries.processTimeSeries(TS1TimeSeries.java:149)
at com.reuters.rfa.legacyexample.framework.idn.TS1TimeSeries.processItemEvent(TS1TimeSeries.java:118)
at com.reuters.rfa.legacyexample.framework.idn.TS1TimeSeries.processEvent(TS1TimeSeries.java:94)
at com.reuters.rfa.internal.common.ResponseMessage.dispatchToClient(Unknown Source)
at com.reuters.rfa.internal.common.ResponseMessage.dispatch(Unknown Source)
at com.reuters.rfa.internal.common.EventQueueImpl.localDispatch(Unknown Source)
at com.reuters.rfa.internal.common.EventQueueImpl.dispatch(Unknown Source)
at com.reuters.rfa.legacyexample.framework.sub.AppContextMainLoop$1.run(AppContextMainLoop.java:108)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
java.lang.NullPointerException
at com.reuters.rfa.legacyexample.idn.tstrend.TSTrendCanvas.update(TSTrendCanvas.java:123)
at com.reuters.rfa.legacyexample.idn.tstrend.TSTrendPanel.processTimeSeriesComplete(TSTrendPanel.java:167)
at com.reuters.rfa.legacyexample.framework.idn.TS1TimeSeries.processTimeSeries(TS1TimeSeries.java:168)
at com.reuters.rfa.legacyexample.framework.idn.TS1TimeSeries.processItemEvent(TS1TimeSeries.java:118)
at com.reuters.rfa.legacyexample.framework.idn.TS1TimeSeries.processEvent(TS1TimeSeries.java:94)
at com.reuters.rfa.internal.common.ResponseMessage.dispatchToClient(Unknown Source)
at com.reuters.rfa.internal.common.ResponseMessage.dispatch(Unknown Source)
at com.reuters.rfa.internal.common.EventQueueImpl.localDispatch(Unknown Source)
at com.reuters.rfa.internal.common.EventQueueImpl.dispatch(Unknown Source)
at com.reuters.rfa.legacyexample.framework.sub.AppContextMainLoop$1.run(AppContextMainLoop.java:108)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)