java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassCastException: org.apache.activemq.store.kahadb.data.KahaTraceCommand cannot be cast to org.apache.activemq.store.kahadb.data.KahaAddMessageCommand

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via nabble.com by Unknown author, 2 years ago
java.lang.RuntimeException: java.lang.ClassCastException: org.apache.activemq.store.kahadb.data.KahaTraceCommand cannot be cast to org.apache.activemq.store.kahadb.data.KahaAddMessageCommand
via nabble.com by Unknown author, 1 year ago
java.lang.RuntimeException: org.apache.activemq.protobuf.InvalidProtocolBufferException: Protocol message contained an invalid tag (zero).
via jboss.org by Unknown author, 1 year ago
java.lang.RuntimeException: java.io.IOException: Could not locate data file C:\Program Files\MessagePumpTest\FuseMB\data\kahadb\db-682.log
via Stack Overflow by Don Rhummy
, 5 months ago
java.lang.RuntimeException: java.lang.ClassCastException: org.apache.activemq.store.kahadb.data.KahaTraceCommand cannot be cast to org.apache.activemq.store.kahadb.data.KahaAddMessageCommand
via puppetlabs.com by Unknown author, 1 year ago
java.lang.RuntimeException: java.io.IOException: Invalid location: 122:30605869, : java.lang.NegativeArraySizeException
via activemq-dev by HellKnight (JIRA), 1 year ago
java.lang.RuntimeException: org.apache.activemq.broker.SuppressReplyException: ShutdownBrokerInitiated
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassCastException: org.apache.activemq.store.kahadb.data.KahaTraceCommand cannot be cast to org.apache.activemq.store.kahadb.data.KahaAddMessageCommand
at org.apache.activemq.broker.region.cursors.AbstractStoreCursor.reset(AbstractStoreCursor.java:116)
at org.apache.activemq.broker.region.cursors.StoreQueueCursor.reset(StoreQueueCursor.java:157)
at org.apache.activemq.broker.region.Queue.doPageInForDispatch(Queue.java:1766)
at org.apache.activemq.broker.region.Queue.pageInMessages(Queue.java:1995)
at org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:98)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.