Error when running EMA Java 3.8.0.0 with JDK1.8.x

I'm trying to upgrade EMA 3.5.1.0 to EMA 3.8.0.0. Our current JDK version is 1.8.x. While starting the server with the new version, there is an error below:

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.

2024-07-02 17:37:02.154 ERROR 21070 --- [main] com.om.dpf.pserv.PservErrorListener : java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;


java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;

at com.refinitiv.eta.codec.BufferImpl.copy(BufferImpl.java:130)

at com.refinitiv.eta.valueadd.reactor.ReactorOptions.copy(ReactorOptions.java:499)

at com.refinitiv.eta.valueadd.reactor.Reactor.<init>(Reactor.java:287)

at com.refinitiv.eta.valueadd.reactor.ReactorFactory.createReactor(ReactorFactory.java:117)

at com.refinitiv.ema.access.OmmBaseImpl.initialize(OmmBaseImpl.java:323)

at com.refinitiv.ema.access.OmmConsumerImpl.<init>(OmmConsumerImpl.java:47)

at com.refinitiv.ema.access.EmaFactory.createOmmConsumer(EmaFactory.java:237)

at com.om.dpf.pserv.server.provider.reuters.ema.EMASessionFactory.start(EMASessionFactory.java:27)

Do we have to upgrade JDK to 1.11 or 1.17 to be compatible with EMA 3.8.0.0?
If not, how to resolve that issue above?

Best Answer

  • Gurpreet
    Answer ✓
    Hi @fanghua.liu​,

    This version of EMA 3.8 is the latest.

    You can raise this issue at the RTSDK GitHub, where the developers of the SDK will be able to verify, and add it to the roadmap for the fix in the subsequent releases of the SDK.

Answers