Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-1105

Null pointer when replicating paged messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • None
    • None

    Description

      Ive seen the following stack trace when replicating:

      09:30:12,288 WARN [org.apache.activemq.artemis.core.server] (Thread-1 (ActiveMQ-client-netty-threads-303929810)) AMQ222086: error handling packet PACKET(ReplicationPageWriteMessage)[type=97, channelID=2, packetObject=ReplicationPageWriteMessage] for replication: java.lang.NullPointerException
      at org.apache.activemq.artemis.core.paging.impl.PagedMessageImpl.initMessage(PagedMessageImpl.java:77) [artemis-server-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
      at org.apache.activemq.artemis.core.replication.ReplicationEndpoint.handlePageWrite(ReplicationEndpoint.java:654) [artemis-server-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
      at org.apache.activemq.artemis.core.replication.ReplicationEndpoint.handlePacket(ReplicationEndpoint.java:186) [artemis-server-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
      at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.handlePacket(ChannelImpl.java:628) [artemis-core-client-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
      at org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:381) [artemis-core-client-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
      at org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:363) [artemis-core-client-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
      at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl$DelegatingBufferHandler.bufferReceived(ClientSessionFactoryImpl.java:1143) [artemis-core-client-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
      at org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:69) [artemis-core-client-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]
      at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:372) [netty-all-4.1.5.Final.jar:4.1.5.Final]

      Attachments

        Issue Links

          Activity

            People

              andytaylor Andy Taylor
              andytaylor Andy Taylor
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: