Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMQX queue removal NPE, possibly caused by ARTEMIS-3422 #289

Open
jiridanek opened this issue Sep 2, 2021 · 0 comments
Open

AMQX queue removal NPE, possibly caused by ARTEMIS-3422 #289

jiridanek opened this issue Sep 2, 2021 · 0 comments

Comments

@jiridanek
Copy link
Member

There is suspicious None in places, but I suspect that the responsible party is https://issues.apache.org/jira/browse/ARTEMIS-3422. Upgrading the broker should help. The issue happens only in CI and not on my machine; which makes experimenting a bit harder.

[13:59:18] [PASS] dtestlib.Test :: [[email protected]]$ /opt/miniconda3/envs/tn/bin/python3 -u /var/dtests/node_data/clients/cli_wrapper.py  -DDTESTS_PID=852 -DC_KILLTIME=200 -DC_HANG_ANALYSIS_ENA=0 -DC_CRASH_ANALYSIS_ENA=0 -DC_CRASH_FILE_DELETE_ENA=0  cli-rhea-sender  --broker admin:[email protected]:5672 --address test_queue_remove --log-msgs dict --count 1 # ecode:0 (exp. 0), dur.:0.56 
[13:59:19] [PASS] dtestlib.Test :: [[email protected]]$ /opt/miniconda3/envs/tn/bin/python3 -u /var/dtests/node_data/clients/cli_wrapper.py  -DDTESTS_PID=852 -DC_KILLTIME=60 -DC_HANG_ANALYSIS_ENA=0 -DC_CRASH_ANALYSIS_ENA=0 -DC_CRASH_FILE_DELETE_ENA=0  java  -jar /var/dtests/node_data/clients/amqx.jar  queue --host 10.0.132.237:1099 --username admin --password admin --action list --list-properties False # ecode:0 (exp. 0), dur.:1.06 
[13:59:19] [PASS] dtestlib.Test :: Check if None test_queue_remove  exist. # result:True (exp. True), dur.:-1.00 
[13:59:20] [FAIL] dtestlib.Test :: [[email protected]]$ /opt/miniconda3/envs/tn/bin/python3 -u /var/dtests/node_data/clients/cli_wrapper.py  -DDTESTS_PID=852 -DC_KILLTIME=60 -DC_HANG_ANALYSIS_ENA=0 -DC_CRASH_ANALYSIS_ENA=0 -DC_CRASH_FILE_DELETE_ENA=0  java  -jar /var/dtests/node_data/clients/amqx.jar  queue --host 10.0.132.237:1099 --username admin --password admin --action remove --name 'test_queue_remove' # ecode:254 (exp. True), dur.:1.08 err_cnt:1
[13:59:20] [INFO] dtestlib.Test :: stdout:
  Unable to remove queue: null
  java.lang.NullPointerException
  	at org.apache.activemq.artemis.core.server.impl.QueueImpl.acknowledge(QueueImpl.java:1905)
  	at org.apache.activemq.artemis.core.server.impl.QueueImpl$4.actMessage(QueueImpl.java:2132)
  	at org.apache.activemq.artemis.core.server.impl.QueueImpl.iterQueue(QueueImpl.java:2178)
  	at org.apache.activemq.artemis.core.server.impl.QueueImpl.deleteMatchingReferences(QueueImpl.java:2124)
  	at org.apache.activemq.artemis.core.server.Queue.deleteMatchingReferences(Queue.java:319)
  	at org.apache.activemq.artemis.core.server.impl.QueueImpl.deleteAllReferences(QueueImpl.java:2114)
  	at org.apache.activemq.artemis.core.server.impl.QueueImpl.deleteAllReferences(QueueImpl.java:2109)
  	at org.apache.activemq.artemis.core.server.impl.QueueImpl.deleteQueue(QueueImpl.java:2316)
  	at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.destroyQueue(ActiveMQServerImpl.java:2381)
  	at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.destroyQueue(ActiveMQServerImpl.java:2330)
  	at org.apache.activemq.artemis.core.management.impl.ActiveMQServerControlImpl.destroyQueue(ActiveMQServerControlImpl.java:1574)
  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant