Timothy Bish created ARTEMIS-2146:
-------------------------------------
Summary: Broker throws exception and becomes unresponsive during
AMQP messaging
Key: ARTEMIS-2146
URL: https://issues.apache.org/jira/browse/ARTEMIS-2146
Project: ActiveMQ Artemis
Issue Type: Bug
Components: AMQP
Affects Versions: 2.6.3
Reporter: Timothy Bish
Fix For: 2.6.4
While testing two different AMQP clients communicating on a single broker
instance the broker can throw the below error and become crippled afterwards
requiring a restart to get back to normal operation.
{noformat}
2018-10-23 10:29:49,863 INFO [org.apache.activemq.artemis.core.server]
AMQ221007: Server is now live
2018-10-23 10:29:49,863 INFO [org.apache.activemq.artemis.core.server]
AMQ221001: Apache ActiveMQ Artemis Message Broker version 2.7.0-SNAPSHOT
[0.0.0.0, nodeID=18aef23b-d6d0-11e8-b6ff-2c56dc3896a2]
2018-10-23 10:29:50,008 INFO
[org.apache.activemq.hawtio.branding.PluginContextListener] Initialized
activemq-branding plugin
2018-10-23 10:29:50,042 INFO
[org.apache.activemq.hawtio.plugin.PluginContextListener] Initialized
artemis-plugin plugin
2018-10-23 10:29:50,247 INFO [io.hawt.HawtioContextListener] Initialising
hawtio services
2018-10-23 10:29:50,257 INFO [io.hawt.system.ConfigManager] Configuration will
be discovered via system properties
2018-10-23 10:29:50,259 INFO [io.hawt.jmx.JmxTreeWatcher] Welcome to hawtio
1.5.5 : http://hawt.io/ : Don't cha wish your console was hawt like me? ;-)
2018-10-23 10:29:50,261 INFO [io.hawt.jmx.UploadManager] Using file upload
directory: /home/timothy/dev/activemq-artemis/amqp/tmp/uploads
2018-10-23 10:29:50,272 INFO [io.hawt.web.AuthenticationFilter] Starting
hawtio authentication filter, JAAS realm: "activemq" authorized role(s): "amq"
role principal classes:
"org.apache.activemq.artemis.spi.core.security.jaas.RolePrincipal"
2018-10-23 10:29:50,293 INFO [io.hawt.web.JolokiaConfiguredAgentServlet]
Jolokia overridden property: [key=policyLocation,
value=file:/home/timothy/dev/activemq-artemis/amqp/etc/jolokia-access.xml]
2018-10-23 10:29:50,311 INFO [io.hawt.web.RBACMBeanInvoker] Using MBean
[hawtio:type=security,area=jmx,rank=0,name=HawtioDummyJMXSecurity] for role
based access control
2018-10-23 10:29:50,521 INFO [io.hawt.system.ProxyWhitelist] Initial proxy
whitelist: [localhost, 127.0.0.1, 192.168.2.150, 10.10.124.116,
ovpn-124-116.rdu2.redhat.com]
2018-10-23 10:29:50,666 INFO [org.apache.activemq.artemis] AMQ241001: HTTP
Server started at http://localhost:8161
2018-10-23 10:29:50,666 INFO [org.apache.activemq.artemis] AMQ241002: Artemis
Jolokia REST API available at http://localhost:8161/console/jolokia
2018-10-23 10:29:50,666 INFO [org.apache.activemq.artemis] AMQ241004: Artemis
Console available at http://localhost:8161/console
2018-10-23 10:37:53,162 WARN [org.apache.activemq.artemis.core.server]
AMQ222151: removing consumer which did not handle a message,
consumer=ServerConsumerImpl [id=0, filter=null, binding=LocalQueueBinding
[address=q0, queue=QueueImpl[name=q0, postOffice=PostOfficeImpl
[server=ActiveMQServerImpl::serverUUID=18aef23b-d6d0-11e8-b6ff-2c56dc3896a2],
temp=false]@31eabbcf, filter=null, name=q0,
clusterName=q018aef23b-d6d0-11e8-b6ff-2c56dc3896a2]],
message=Reference[40000080]:NON-RELIABLE:AMQPMessage [durable=false,
messageID=40000080, address=q0, size=271, applicationProperties=null,
properties=Properties{messageId=ID:822fd816-a7dc-4a54-a39f-ea9798995135:1:1:1-1,
userId=null, to='q0', subject='null', replyTo='null', correlationId=null,
contentType=application/octet-stream, contentEncoding=null,
absoluteExpiryTime=null, creationTime=null, groupId='null', groupSequence=null,
replyToGroupId='null'}, extraProperties = TypedProperties[_AMQ_AD=q0]]:
java.lang.NullPointerException
at
org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl.handle(ServerConsumerImpl.java:352)
[artemis-server-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at
org.apache.activemq.artemis.core.server.impl.QueueImpl.handle(QueueImpl.java:3173)
[artemis-server-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at
org.apache.activemq.artemis.core.server.impl.QueueImpl.deliver(QueueImpl.java:2515)
[artemis-server-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at
org.apache.activemq.artemis.core.server.impl.QueueImpl.access$2100(QueueImpl.java:111)
[artemis-server-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at
org.apache.activemq.artemis.core.server.impl.QueueImpl$DeliverRunner.run(QueueImpl.java:3410)
[artemis-server-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at
org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42)
[artemis-commons-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at
org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31)
[artemis-commons-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at
org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:66)
[artemis-commons-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[rt.jar:1.8.0_191]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[rt.jar:1.8.0_191]
at
org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
[artemis-commons-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
2018-10-23 10:37:53,163 WARN
[org.apache.activemq.artemis.core.server.impl.QueueImpl] null:
java.util.NoSuchElementException
at
org.apache.activemq.artemis.utils.collections.PriorityLinkedListImpl$PriorityLinkedListIterator.repeat(PriorityLinkedListImpl.java:172)
[artemis-commons-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at
org.apache.activemq.artemis.core.server.impl.QueueImpl.deliver(QueueImpl.java:2532)
[artemis-server-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at
org.apache.activemq.artemis.core.server.impl.QueueImpl.access$2100(QueueImpl.java:111)
[artemis-server-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at
org.apache.activemq.artemis.core.server.impl.QueueImpl$DeliverRunner.run(QueueImpl.java:3410)
[artemis-server-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at
org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42)
[artemis-commons-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at
org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31)
[artemis-commons-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at
org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:66)
[artemis-commons-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[rt.jar:1.8.0_191]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[rt.jar:1.8.0_191]
at
org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
[artemis-commons-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
2018-10-23 10:38:02,990 WARN [org.apache.activemq.artemis.core.server]
AMQ222061: Client connection failed, clearing up resources for session
393d0882-d6d1-11e8-b6ff-2c56dc3896a2
2018-10-23 10:38:02,991 WARN [org.apache.activemq.artemis.core.server]
AMQ222107: Cleared up resources for session 393d0882-d6d1-11e8-b6ff-2c56dc3896a2
2018-10-23 10:38:21,089 WARN [org.apache.activemq.artemis.core.server]
AMQ222038: Starting paging on address 'q0'; size is currently: 3,221,225,937
bytes; max-size-bytes: -1; global-size-bytes: 3,221,225,937{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)