question

Upvotes
Accepted
1 1 2 3

ConcurrentModificationException in EMA

Hi Team,

We recently migrated our code using TREP EMA API using jdk 1.8. After that we faced 2 times below ConcurrentModificationException error in PROD env and hence our process terminated. Then we had to start our service again. Kindly help to fix this issue ASAP.

We made the connection to TREP using DACSID provided by MDS team and reference code EMA Consumer - Requesting and displaying MarketPrice data shared by Umer Nalla/Team.

FYI. My prev question: https://community.developers.refinitiv.com/questions/10437/socket-programming-to-trep.html?childToView=11899

java.util.ConcurrentModificationException

at java.util.HashMap$HashIterator.remove(HashMap.java:1451)

at com.thomsonreuters.ema.access.OmmBaseImpl.rsslReactorDispatchLoop(OmmBaseImpl.java:985)

at com.thomsonreuters.ema.access.OmmBaseImpl.uninitialize(OmmBaseImpl.java:258)

at com.thomsonreuters.ema.access.OmmConsumerImpl.uninitialize(OmmConsumerImpl.java:46)

at com.d3k.reuters.DealLocator.startDealService(DealLocator.java:193)

at com.d3k.reuters.DealLocator.<init>(DealLocator.java:75)

at com.d3k.reuters.ReutersStartup.startService(ReutersStartup.java:66)

at com.d3k.reuters.ReutersStartup.main(ReutersStartup.java:81)

elektronrefinitiv-realtimeelektron-sdktrepema-apirrtelektron-message-api
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 @Nipat Kunvutipongsak

Hello @rajkumar.boga

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

@rajkumar.boga

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

Upvotes
Accepted
1.9k 7 10 16

To clarify if this is EMA bug/non-support feature or improper implementation/configuration in application level with the development team, you can submit your problem to the development directly via GitHub at

https://github.com/thomsonreuters/Elektron-SDK/issues

Then, click "New issue" button. Hence, you can communicate and follow up with the development team directly.

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.

Hi Nipat Kunvu,

I created New Issue on GitHub as you advised, But no response yet since Aug 21.

https://github.com/thomsonreuters/Elektron-SDK/issues/34

Still we are facing issue more frequently in PRD env. Kindly help to advice.

Raj

Upvotes
1 1 2 3

Hi Nipat Kunvu/Team,

I created New Issue on GitHub as you advised, But no response yet since Aug 21.

https://github.com/thomsonreuters/Elektron-SDK/issues/34

Still we are facing issue more frequently in PRD env. Kindly help to advice.

Raj

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.

Hello @rajkumar.boga ,

I've just chased the Development team regarding this issue already.

If there is any further update, it will be posted on GitHub.

I'll help you monitor this issue at the moment to ensure that this issue is visible to the Development team.

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.