Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-4318

[LTS] NPE during broker initialization: getCreateDurableQueueRoles

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • AMQ 7.4.5.GA
    • None
    • None

      A broker started throwing a NPE during operations, and on restart the broker fails to initialize. Removing the broker data dir and starting with a fresh data store allows the broker to start.

      2020-11-19 12:40:24,145 ERROR [org.apache.activemq.artemis.core.server] AMQ224000: Failure in initialisation: java.lang.NullPointerException
      	at org.apache.activemq.artemis.core.persistence.config.PersistedRoles.getCreateDurableQueueRoles(PersistedRoles.java:133) [artemis-server-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
      	at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.recoverStoredConfigs(ActiveMQServerImpl.java:3286) [artemis-server-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
      	at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.loadJournals(ActiveMQServerImpl.java:3232) [artemis-server-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
      	at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(ActiveMQServerImpl.java:2926) [artemis-server-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
      	at org.apache.activemq.artemis.core.server.impl.LiveOnlyActivation.run(LiveOnlyActivation.java:76) [artemis-server-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
      	at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.internalStart(ActiveMQServerImpl.java:599) [artemis-server-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
      	at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start(ActiveMQServerImpl.java:526) [artemis-server-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
      	at org.apache.activemq.artemis.integration.FileBroker.start(FileBroker.java:70) [artemis-cli-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
      	at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:84) [artemis-cli-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
      	at org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:153) [artemis-cli-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
      	at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:101) [artemis-cli-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
      	at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:128) [artemis-cli-2.13.0.redhat-00006.jar:2.13.0.redhat-00006]
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_272]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_272]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_272]
      	at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_272]
      	at org.apache.activemq.artemis.boot.Artemis.execute(Artemis.java:134) [artemis-boot.jar:2.13.0.redhat-00006]
      	at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:50) [artemis-boot.jar:2.13.0.redhat-00006]
      

              rhn-support-jbertram Justin Bertram
              rhn-support-shiggs Stephen Higgs
              Tiago Bueno Tiago Bueno
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: