Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-7855

ServerSessionImpl trows npe - NettyBridgeTest

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • EAP_EWP 5.1.2
    • EAP_EWP 5.1.2 CR3
    • HornetQ
    • None
    • Not Required

    Description

      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/

      or CI run:
      https://hudson.qa.jboss.com/hudson/view/EAP-CI-Components/view/HornetQ-CI/job/ci-Solaris10-sparc-SunJDK1.6-NIO/49/

      Attachments

        Issue Links

          Activity

            People

              csuconic@redhat.com Clebert Suconic
              mnovak1@redhat.com Miroslav Novak
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: