Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Start 2.28 server, and run ./artemis queue stat against that server.
You will get a NullPointerException within JSON:
java.lang.NullPointerException: no mapping for internalQueue
at org.apache.johnzon.core.JsonObjectImpl.valueOrExcpetion(JsonObjectImpl.java:52)
at org.apache.johnzon.core.JsonObjectImpl.getString(JsonObjectImpl.java:85)
at org.apache.activemq.artemis.json.impl.JsonObjectImpl.getString(JsonObjectImpl.java:68)
at org.apache.activemq.artemis.cli.commands.queue.StatQueue.getColumnSizes(StatQueue.java:293)
at org.apache.activemq.artemis.cli.commands.queue.StatQueue.printStats(StatQueue.java:268)
at org.apache.activemq.artemis.cli.commands.queue.StatQueue.lambda$printStats$1(StatQueue.java:227)
at org.apache.activemq.artemis.api.core.management.ManagementHelper.doManagement(ManagementHelper.java:127)
at org.apache.activemq.artemis.api.core.management.ManagementHelper.doManagement(ManagementHelper.java:111)
at org.apache.activemq.artemis.cli.commands.messages.BasicConnectionAbstract.performCoreManagement(BasicConnectionAbstract.java:90)
at org.apache.activemq.artemis.cli.commands.queue.StatQueue.printStats(StatQueue.java:223)
at org.apache.activemq.artemis.cli.commands.queue.StatQueue.singleExeuction(StatQueue.java:212)
at org.apache.activemq.artemis.cli.commands.queue.StatQueue.execute(StatQueue.java:172)
at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321)
Attachments
Issue Links
- links to