[ 
https://issues.apache.org/jira/browse/ARTEMIS-502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15256322#comment-15256322
 ] 

ASF GitHub Bot commented on ARTEMIS-502:
----------------------------------------

Github user mtaylor commented on the pull request:

    https://github.com/apache/activemq-artemis/pull/485#issuecomment-214317611
  
    @iweiss Hi do you have a test that reproduces the problem?  If so, could 
you add it to this PR.  This way we can see exaclty what the fix is solving and 
prevent regression in the future.
    
    Thanks


> AMQ224044, error acknowledging message: java.lang.NullPointerException, can 
> happen sometimes during load
> --------------------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-502
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-502
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 1.0.0, 1.1.0, 1.2.0, 1.3.0
>            Reporter: Ingo Weiss
>
> When under heavy load, the broker can sometimes log this NPE:
> {code}
> 04:53:44,897 ERROR [org.apache.activemq.artemis.core.server] (default I/O-4) 
> AMQ224044: error acknowledging message: java.lang.NullPointerException
>       at 
> org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.removeReferenceByID(ServerConsumerImpl.java:796)
>       at 
> org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.individualAcknowledge(ServerConsumerImpl.java:726)
>       at 
> org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.individualAcknowledge(ServerSessionImpl.java:738)
>       at 
> org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler.handlePacket(ServerSessionPacketHandler.java:408)
>       at 
> org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.handlePacket(ChannelImpl.java:567)
>       at 
> org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:349)
>       at 
> org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:331)
>       at 
> org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:605)
>       at 
> org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:68)
>       at 
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
>       at 
> io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
>       at 
> io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265)
>       at 
> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
>       at 
> io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
>       at 
> io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)
>       at 
> org.xnio.netty.transport.AbstractXnioSocketChannel$ReadListener.handleEvent(AbstractXnioSocketChannel.java:435)
>       at 
> org.xnio.netty.transport.AbstractXnioSocketChannel$ReadListener.handleEvent(AbstractXnioSocketChannel.java:371)
>       at 
> org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) 
> [xnio-api-3.3.4.Final-redhat-1.jar:3.3.4.Final-redhat-1]
>       at 
> org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
>  [xnio-api-3.3.4.Final-redhat-1.jar:3.3.4.Final-redhat-1]
>       at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88) 
> [xnio-nio-3.3.4.Final-redhat-1.jar:3.3.4.Final-redhat-1]
>       at org.xnio.nio.WorkerThread.run(WorkerThread.java:559) 
> [xnio-nio-3.3.4.Final-redhat-1.jar:3.3.4.Final-redhat-1]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to