-
Bug
-
Resolution: Duplicate
-
Major
-
EAP_EWP 5.1.2 CR3
-
None
-
Not Required
There is npe thrown from ServerSessionImpl core class - hit by org.hornetq.tests.integration.cluster.bridge.NettyBridgeTest:
[junit] * [Old I/O server worker (parentId: 23939920, [id: 0x016d4b50, localhost/127.0.0.1:5446])] 2-Jan 13:6:26,587 WARNING [ServerSessionPacketHandler] Sending unexpected exception to the client
[junit] java.lang.NullPointerException
[junit] at org.hornetq.core.server.impl.ServerSessionImpl.send(ServerSessionImpl.java:1134)
[junit] at org.hornetq.core.protocol.core.ServerSessionPacketHandler.handlePacket(ServerSessionPacketHandler.java:441)
[junit] at org.hornetq.core.protocol.core.impl.ChannelImpl.handlePacket(ChannelImpl.java:504)
[junit] at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:538)
[junit] at org.hornetq.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:499)
[junit] at org.hornetq.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:512)
[junit] at org.hornetq.core.remoting.impl.netty.HornetQChannelHandler.messageReceived(HornetQChannelHandler.java:73)
[junit] at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:100)
[junit] at org.jboss.netty.channel.StaticChannelPipeline.sendUpstream(StaticChannelPipeline.java:362)
[junit] at org.jboss.netty.channel.StaticChannelPipeline$StaticChannelHandlerContext.sendUpstream(StaticChannelPipeline.java:514)
[junit] at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:287)
[junit] at org.hornetq.core.remoting.impl.netty.HornetQFrameDecoder2.decode(HornetQFrameDecoder2.java:169)
Problematic line in ServerSessionImpl.java:
if (message.getAddress().equals(managementAddress))
Hudson job:
https://hudson.qa.jboss.com/hudson/view/EAP5/view/HornetQ/job/_Solaris10-SPARC64-SunJDK1.6-NIO/96/
- duplicates
-
JBPAPP-7829 NPE on ServerSessionImpl when the send failed for any reason
- Closed