question

Upvotes
Accepted
35 7 9 12

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

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

elektronrefinitiv-realtimeelektron-sdkema-apirrtelektron-message-apiexception
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Monitored by @Wasin Waeosri

@Chaitanya.Vishnubhotla

Please let us know if there is any update on this. If it is still an issue, please post again with the requested information mentioned by Wasin Waeosri.

Regards,

AHS

Upvotes
Accepted
35 7 9 12

Hi,

Currently there is no problem from our side too. We can leave it for now.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
24.7k 54 17 14

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
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.