java.lang.RuntimeException: connection closed


Solutions on the web

Solution icon of apache
via qpid-users by Shahbaz Chaudhary, 1 year ago
connection closed

Solution icon of apache
via incubator-qpid-users by Shahbaz Chaudhary, 1 year ago
connection closed

Solution icon of web
connection closed

Stack trace

java.lang.RuntimeException: connection closed
	at org.apache.qpidity.nclient.Client$1.exception(Client.java:76)
	at org.apache.qpidity.transport.Connection.exception(Connection.java:115)
	at org.apache.qpidity.transport.network.Assembler.exception(Assembler.java:105)
	at org.apache.qpidity.transport.network.InputHandler.exception(InputHandler.java:250)
	at org.apache.qpidity.transport.network.mina.MinaHandler.exceptionCaught(MinaHandler.java:85)
	at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.exceptionCaught(AbstractIoFilterChain.java:695)
	at org.apache.mina.common.support.AbstractIoFilterChain.callNextExceptionCaught(AbstractIoFilterChain.java:423)
	at org.apache.mina.common.support.AbstractIoFilterChain.access$1000(AbstractIoFilterChain.java:54)
	at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.exceptionCaught(AbstractIoFilterChain.java:794)
	at org.apache.mina.common.support.AbstractIoFilterChain$HeadFilter.exceptionCaught(AbstractIoFilterChain.java:611)
	at org.apache.mina.common.support.AbstractIoFilterChain.callNextExceptionCaught(AbstractIoFilterChain.java:423)
	at org.apache.mina.common.support.AbstractIoFilterChain.fireExceptionCaught(AbstractIoFilterChain.java:407)
	at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:366)
	at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:54)
	at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:800)
	at org.apache.mina.common.support.AbstractIoFilterChain$HeadFilter.messageReceived(AbstractIoFilterChain.java:617)
	at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:362)
	at org.apache.mina.common.support.AbstractIoFilterChain.fireMessageReceived(AbstractIoFilterChain.java:353)
	at org.apache.mina.transport.socket.nio.SocketIoProcessor.read(SocketIoProcessor.java:246)
	at org.apache.mina.transport.socket.nio.SocketIoProcessor.process(SocketIoProcessor.java:206)
	at org.apache.mina.transport.socket.nio.SocketIoProcessor.access$500(SocketIoProcessor.java:44)
	at org.apache.mina.transport.socket.nio.SocketIoProcessor$Worker.run(SocketIoProcessor.java:506)
	at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:43)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: expecting '41', got 'f'
	at org.apache.qpidity.transport.Channel.error(Channel.java:116)
	at org.apache.qpidity.transport.Channel.error(Channel.java:41)
	at org.apache.qpidity.transport.ProtocolError.delegate(ProtocolError.java:59)
	at org.apache.qpidity.transport.Channel.received(Channel.java:72)
	at org.apache.qpidity.transport.Connection.received(Connection.java:82)
	at org.apache.qpidity.transport.Connection.received(Connection.java:43)
	at org.apache.qpidity.transport.network.Assembler.emit(Assembler.java:90)
	at org.apache.qpidity.transport.network.Assembler.error(Assembler.java:134)
	at org.apache.qpidity.transport.ProtocolError.delegate(ProtocolError.java:64)
	at org.apache.qpidity.transport.network.Assembler.received(Assembler.java:100)
	at org.apache.qpidity.transport.network.Assembler.received(Assembler.java:49)
	at org.apache.qpidity.transport.network.InputHandler.error(InputHandler.java:111)
	at org.apache.qpidity.transport.network.InputHandler.expect(InputHandler.java:243)
	at org.apache.qpidity.transport.network.InputHandler.expect(InputHandler.java:234)
	at org.apache.qpidity.transport.network.InputHandler.next(InputHandler.java:126)
	at org.apache.qpidity.transport.network.InputHandler.received(InputHandler.java:118)
	at org.apache.qpidity.transport.network.InputHandler.received(InputHandler.java:41)
	at org.apache.qpidity.transport.network.mina.MinaHandler.messageReceived(MinaHandler.java:74)
	at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(AbstractIoFilterChain.java:703)
	at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:362)
	... 11 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.