JMSException: Error while receiving message

I am trying to consume messages from a topic on UM using the following JAVA Nirvana jar libraries,


However we receive the following error which appear to originate from the Nirvana code. On doing a tcpdump on the UM server endpoint we see the contents of the JMS message from the topic being sent when consumed by our client code. However our client code fails at the point of receiving the message with the following stacktrace.

[color=red]javax.jms.JMSException: Error while receiving message - java.lang.NullPointerException
at com.pcbsys.nirvana.nJMS.MessageConsumerImpl.receive(

Caused by: java.lang.NullPointerException
at com.pcbsys.nirvana.nJMS.MessageConsumerImpl.convertEvent(
at com.pcbsys.nirvana.nJMS.MessageConsumerImpl.processTopicAcknowledgement(
at com.pcbsys.nirvana.nJMS.MessageConsumerImpl.receiveTopicEvent(
at com.pcbsys.nirvana.nJMS.MessageConsumerImpl.receive(
… 83 more[/color]

Our connection parameters are the following
clientGroup = “client-group:group”
providerUrl = “nsp://”
factoryLookupName = “JMS_CF”
initialContextFactory = “com.pcbsys.nirvana.nSpace.NirvanaContextFactory”

Can anyone tell me what is causing this exception?

1 Like

Solved - we cleared down the topic and deleted and re-created the clientGroup on the UM Server.

This appeared to work fine.