Return-Path: X-Original-To: apmail-activemq-issues-archive@minotaur.apache.org Delivered-To: apmail-activemq-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 71A8418643 for ; Mon, 19 Oct 2015 14:02:05 +0000 (UTC) Received: (qmail 3917 invoked by uid 500); 19 Oct 2015 14:02:05 -0000 Delivered-To: apmail-activemq-issues-archive@activemq.apache.org Received: (qmail 3870 invoked by uid 500); 19 Oct 2015 14:02:05 -0000 Mailing-List: contact issues-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list issues@activemq.apache.org Received: (qmail 3850 invoked by uid 99); 19 Oct 2015 14:02:05 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2015 14:02:05 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1859E2C033A for ; Mon, 19 Oct 2015 14:02:05 +0000 (UTC) Date: Mon, 19 Oct 2015 14:02:05 +0000 (UTC) From: "Glaucio Melo (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (ARTEMIS-264) NPE from Netty at Pub Suc tests with Topics MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Glaucio Melo created ARTEMIS-264: ------------------------------------ Summary: NPE from Netty at Pub Suc tests with Topics Key: ARTEMIS-264 URL: https://issues.apache.org/jira/browse/ARTEMIS-264 Project: ActiveMQ Artemis Issue Type: Bug Components: Broker Affects Versions: 1.1.1 Reporter: Glaucio Melo I was performing some tests using as basis the JMeter samples at https://github.com/apache/activemq-artemis/tree/master/examples/perf/jmeter And I've got an exception message from the client consumer: Oct 16, 2015 6:24:12 PM org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl$Runner run ERROR: AMQ214000: Failed to call onMessage java.lang.NullPointerException at io.netty.buffer.PoolChunk.initBufWithSubpage(PoolChunk.java:381) at io.netty.buffer.PoolChunk.initBufWithSubpage(PoolChunk.java:369) at io.netty.buffer.PoolArena.allocate(PoolArena.java:194) at io.netty.buffer.PoolArena.allocate(PoolArena.java:132) at io.netty.buffer.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:271) at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:155) at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:146) at org.apache.activemq.artemis.core.remoting.impl.netty.PartialPooledByteBufAllocator.directBuffer(PartialPooledByteBufAllocator.java:91) at org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnection.createTransportBuffer(NettyConnection.java:154) at org.apache.activemq.artemis.spi.core.protocol.AbstractRemotingConnection.createTransportBuffer(AbstractRemotingConnection.java:156) at org.apache.activemq.artemis.core.protocol.core.impl.PacketImpl.encode(PacketImpl.java:267) at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.send(ChannelImpl.java:225) at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.sendBatched(ChannelImpl.java:205) at org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQSessionContext.sendACK(ActiveMQSessionContext.java:400) at org.apache.activemq.artemis.core.client.impl.ClientSessionImpl.acknowledge(ClientSessionImpl.java:672) at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl.doAck(ClientConsumerImpl.java:1035) at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl.acknowledge(ClientConsumerImpl.java:702) at org.apache.activemq.artemis.core.client.impl.ClientMessageImpl.acknowledge(ClientMessageImpl.java:96) at org.apache.activemq.artemis.core.client.impl.ClientMessageImpl.acknowledge(ClientMessageImpl.java:38) at org.apache.activemq.artemis.jms.client.JMSMessageListenerWrapper.onMessage(JMSMessageListenerWrapper.java:120) at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:932) at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl.access$400(ClientConsumerImpl.java:47) at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:1045) at org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:94) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) This error only happened at my tests only one time, not sure on how to reproduce it. I was looking for a similar error from netty project and I've found this link: https://github.com/netty/netty/issues/4198 >From the discussion at this link, it seems that the guy who reports the issue said that he was using netty incorrectly (not sure exactly what he meant about that). I'm creating this ticket because it's possible to get something similar - by using netty library unexpectedly. Thanks, Glaucio Melo -- This message was sent by Atlassian JIRA (v6.3.4#6332)