-
Bug
-
Resolution: Done
-
Minor
-
EAP_EWP 5.1.2 CR3
-
None
-
Not Required
There is npe thrown from ServerSessionImpl in org.hornetq.tests.integration.security.SecurityTest - testSendMessageUpdateSender.
Log:
[junit] * [Thread-0 (HornetQ-remoting-threads-HornetQServerImpl::serverUUID=05317d77-352f-11e1-a650-001d0901cc3f-21067408-13563633)] 2-Jan 5:46:26,478 SEVERE [ServerSessionPacketHandler] Caught unexpected exception
[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.invm.InVMConnection$1.run(InVMConnection.java:150)
[junit] at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:100)
[junit] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[junit] at java.lang.Thread.run(Thread.java:662)
I didn't have time to look at it deeper. Just adding line from which npe is thrown:
if (message.getAddress().equals(managementAddress))
- is duplicated by
-
JBPAPP-7855 ServerSessionImpl trows npe - NettyBridgeTest
- Closed