Why the below exception is occuring when I am running EMA 100 snap shot example Exception in thread

Why the below exception is occuring when I am running EMA 100 snap shot example

Exception in thread "pool-2-thread-1" java.lang.NullPointerException
at com.thomsonreuters.ema.access.OmmBaseImpl.rsslReactorDispatchLoop(OmmBaseImpl.java:986)
at com.thomsonreuters.ema.access.OmmBaseImpl.run(OmmBaseImpl.java:1131)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

To our surprise the response data is unaffected.

Please suggest us

Best Answer

Answers

  • Why the below exception is occuring when I am running EMA 100 snap shot example

    Exception in thread "pool-2-thread-1" java.lang.NullPointerException
    at com.thomsonreuters.ema.access.OmmBaseImpl.rsslReactorDispatchLoop(OmmBaseImpl.java:986)
    at com.thomsonreuters.ema.access.OmmBaseImpl.run(OmmBaseImpl.java:1131)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    To our surprise the response data is unaffected.

    Please suggest us

  • Hi @Chaitanya.Vishnubhotla I have tried with EMA Java 3.1.0 example102__MarketPrice__Snapshot and it works fine without any error. Could you please give us more detail?

    • The EMA Java version that encounters the problem
    • Java SDK version
    • The soucre code