Clebert Suconic created AMQ-8199:
------------------------------------
Summary: Resource Limiting on Queues is not working
Key: AMQ-8199
URL: https://issues.apache.org/jira/browse/AMQ-8199
Project: ActiveMQ
Issue Type: Task
Reporter: Clebert Suconic
there is a NullPointerException when the getQueueCounter is being done:
2021-03-23 15:13:01,317 WARN [org.apache.activemq.artemis.core.server]
AMQ222225: Sending unexpected exception to the client:
java.lang.NullPointerException
at
org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.getQueueCountForUser(ActiveMQServerImpl.java:1750)
[artemis-server-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
at
org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.checkQueueCreationLimit(ActiveMQServerImpl.java:1740)
[artemis-server-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
at
org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.createQueue(ServerSessionImpl.java:737)
[artemis-server-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
at
org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler.slowPacketHandler(ServerSessionPacketHandler.java:377)
[artemis-server-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
at
org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler.onMessagePacket(ServerSessionPacketHandler.java:298)
[artemis-server-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
at org.apache.activemq.artemis.utils.actors.Actor.doTask(Actor.java:33)
[artemis-commons-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
at
org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:65)
[artemis-commons-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
at
org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42)
[artemis-commons-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
at
org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31)
[artemis-commons-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
at
org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:65)
[artemis-commons-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[rt.jar:1.8.0_261]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[rt.jar:1.8.0_261]
at
org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
[artemis-commons-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)