Hello,

My AMQ Artemis broker is failing to start with the nullPointerException
"couldn't find factory for type=0". I am seeing this after having just
upgraded from 2.11.0 to 2.12.0, previously the broker was able to start up
successfully. I am unsure whether this issue is being caused by something in
my broker.xml configuration or if it is being caused by one or more of the
messages being sent to Artemis. Can you please point me in the right
direction to determine what is the root cause? Full stack trace copied
below.


2020-05-11 19:02:00,520 ERROR [org.apache.activemq.artemis.core.server]
AMQ224000: Failure in initialisation: java.lang.NullPointerException:
couldn't find factory for type=0
        at
org.apache.activemq.artemis.spi.core.protocol.MessagePersister.decode(MessagePersister.java:118)
[artemis-server-2.12.0.jar:2.12.0]
        at
org.apache.activemq.artemis.core.paging.impl.PagedMessageImpl.decode(PagedMessageImpl.java:183)
[artemis-server-2.12.0.jar:2.12.0]
        at
org.apache.activemq.artemis.core.paging.impl.Page.readFromSequentialFile(Page.java:407)
[artemis-server-2.12.0.jar:2.12.0]
        at org.apache.activemq.artemis.core.paging.impl.Page.read(Page.java:268)
[artemis-server-2.12.0.jar:2.12.0]
        at org.apache.activemq.artemis.core.paging.impl.Page.read(Page.java:251)
[artemis-server-2.12.0.jar:2.12.0]
        at
org.apache.activemq.artemis.core.paging.impl.PagingStoreImpl.reloadLivePage(PagingStoreImpl.java:471)
[artemis-server-2.12.0.jar:2.12.0]
        at
org.apache.activemq.artemis.core.paging.impl.PagingStoreImpl.start(PagingStoreImpl.java:451)
[artemis-server-2.12.0.jar:2.12.0]
        at
org.apache.activemq.artemis.core.paging.impl.PagingManagerImpl.reloadStores(PagingManagerImpl.java:328)
[artemis-server-2.12.0.jar:2.12.0]
        at
org.apache.activemq.artemis.core.paging.impl.PagingManagerImpl.start(PagingManagerImpl.java:422)
[artemis-server-2.12.0.jar:2.12.0]
        at
org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart1(ActiveMQServerImpl.java:2880)
[artemis-server-2.12.0.jar:2.12.0]
        at
org.apache.activemq.artemis.core.server.impl.SharedNothingLiveActivation.run(SharedNothingLiveActivation.java:112)
[artemis-server-2.12.0.jar:2.12.0]
        at
org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.internalStart(ActiveMQServerImpl.java:599)
[artemis-server-2.12.0.jar:2.12.0]
        at
org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start(ActiveMQServerImpl.java:526)
[artemis-server-2.12.0.jar:2.12.0]
        at
org.apache.activemq.artemis.integration.FileBroker.start(FileBroker.java:70)
[artemis-cli-2.12.0.jar:2.12.0]
        at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:84)
[artemis-cli-2.12.0.jar:2.12.0]
        at
org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:150)
[artemis-cli-2.12.0.jar:2.12.0]
        at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:98)
[artemis-cli-2.12.0.jar:2.12.0]
        at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:125)
[artemis-cli-2.12.0.jar:2.12.0]
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) [java.base:]
        at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[java.base:]
        at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java.base:]
        at java.base/java.lang.reflect.Method.invoke(Method.java:566) 
[java.base:]
        at org.apache.activemq.artemis.boot.Artemis.execute(Artemis.java:129)
[artemis-boot.jar:2.12.0]
        at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:49)
[artemis-boot.jar:2.12.0]


Thanks



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Reply via email to