NullPointerException getChannelNumber

The RabbitMQ Java Client version is 3.5.3 and so is the RabbitMQ Server.

I’m afraid we cannot get a Heap Dump of the JVM Process.

com.rabbitmq.client.AlreadyClosedException: connection is already closed due to connection error; cause: java.net.SocketException: Connection reset 

        at com.rabbitmq.client.impl.AMQChannel.ensureIsOpen(AMQChannel.java:195)

        at com.rabbitmq.client.impl.AMQChannel.transmit(AMQChannel.java:309)

        at com.rabbitmq.client.impl.ChannelN.basicPublish(ChannelN.java:657)

        at com.rabbitmq.client.impl.ChannelN.basicPublish(ChannelN.java:640)

        at com.rabbitmq.client.impl.ChannelN.basicPublish(ChannelN.java:631)

        at com.rabbitmq.client.impl.recovery.AutorecoveringChannel.basicPublish(AutorecoveringChannel.java:168)

What was interesting is that there were 3 other processes using RabbitMQ java client, all of which connecting to the same node, but had no issues regarding connectivity (also note everything lives on the same box on localhost).

I will raise the NullPointerException stack trace on github.

Thanks

PP

Read more here: Source link