[
https://issues.apache.org/jira/browse/ARTEMIS-3204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17307775#comment-17307775
]
ASF subversion and git services commented on ARTEMIS-3204:
----------------------------------------------------------
Commit 8d24bfa6464bde552fb71ec7a35bb8dd449c4084 in activemq-artemis's branch
refs/heads/master from Clebert Suconic
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=8d24bfa ]
ARTEMIS-3204 Fixing NPE on Counting Queue for Resource Limit
> Resource Limiting on Queues is not working
> ------------------------------------------
>
> Key: ARTEMIS-3204
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3204
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Clebert Suconic
> Assignee: Clebert Suconic
> Priority: Major
> Fix For: 2.18.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)