Hi, we are connecting and getting market data ok, however we get repeated nullpointer exception after the service has been up for at least a day. Here we are getting snapshots every few minutes (ie. isSubscription=false). Restarting the service that talks to EMA fixes the problem.
ReqMsg reqMsg = EmaFactory.createReqMsg().serviceName(serviceName).name(assetCode).interestAfterRefresh(isSubscription); reqMsg.payload(consumerClient.getMessageView()); consumerClient.setHandle(ommConsumer.registerClient(reqMsg, consumerClient));
The exception is thrown on the last line when registering the client because the ReqMsg has been created without a rsslMsg (or rather lost it's rsslMsg somehow).