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 Google Groups by Will Johnson, 9 months ago
org.apache.activemq.command.ActiveMQObjectMessage cannot be cast to com.foo.app.JMSTest$Payload
via MuleSoft JIRA by Will Johnson, 1 year ago
org.apache.activemq.command.ActiveMQObjectMessage cannot be cast to com.foo.app.JMSTest$Payload
via MuleSoft JIRA by Will Johnson, 2 years ago
org.apache.activemq.command.ActiveMQObjectMessage cannot be cast to com.foo.app.JMSTest$Payload
java.lang.ClassCastException: org.apache.activemq.command.ActiveMQObjectMessage cannot be cast to com.foo.app.JMSTest$Payload at com.foo.app.JMSTest.onCall(JMSTest.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.mule.impl.model.resolvers.DynamicEntryPoint.invokeMethod(DynamicEntryPoint.java:312) at org.mule.impl.model.resolvers.DynamicEntryPoint.invoke(DynamicEntryPoint.java:259) at org.mule.impl.DefaultLifecycleAdapter.intercept(DefaultLifecycleAdapter.java:194) at org.mule.impl.InterceptorsInvoker.execute(InterceptorsInvoker.java:47) at org.mule.impl.model.DefaultMuleProxy.onCall(DefaultMuleProxy.java:258) at org.mule.impl.model.seda.SedaComponent.doSend(SedaComponent.java:398) at org.mule.impl.model.AbstractComponent.sendEvent(AbstractComponent.java:418) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:349) at org.mule.routing.inbound.InboundRouterCollection.send(InboundRouterCollection.java:197) at org.mule.routing.inbound.InboundRouterCollection.route(InboundRouterCollection.java:163) at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:581) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:322) at org.mule.providers.AbstractReceiverWorker$1.doInTransaction(AbstractReceiverWorker.java:107) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:92) at org.mule.providers.AbstractReceiverWorker.doRun(AbstractReceiverWorker.java:124) at org.mule.providers.AbstractReceiverWorker.run(AbstractReceiverWorker.java:60) at org.mule.impl.work.WorkerContext.run(WorkerContext.java:310) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528) at java.lang.Thread.run(Thread.java:619)