AMQ224000: Failure in initialisation: java.lang.NullPointerException at ...PagingStoreFactoryNIO.reloadStores()

Solution Verified - Updated -

Issue

The Artemis message broker refuses to start after a disorderly shutdown, with the following exception:

AMQ224000: Failure in initialisation: java.lang.NullPointerException
    at org.apache.activemq.artemis.api.core.SimpleString.<init>(SimpleString.java:84)
    at org.apache.activemq.artemis.core.paging.impl.PagingStoreFactoryNIO.reloadStores(PagingStoreFactoryNIO.java:211)
    at org.apache.activemq.artemis.core.paging.impl.PagingManagerImpl.reloadStores(PagingManagerImpl.java:294)
    at org.apache.activemq.artemis.core.paging.impl.PagingManagerImpl.start(PagingManagerImpl.java:383)
        ...

The problem can affect both the stand-alone AMQ 7 product, and also the built-in Artemis broker in EAP 7.

Environment

  • Red Hat AMQ
    • 7.1 - 7.3
  • Red Hat JBoss EAP
    • 7.2.8 and earlier

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content