Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-3204

Resource Limiting on Queues is not working

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.18.0
    • None
    • None

    Description

      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]

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            clebertsuconic Clebert Suconic
            clebertsuconic Clebert Suconic
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h

                Slack

                  Issue deployment