[
http://jira.jboss.com/jira/browse/JBESB-1018?page=comments#action_12376199 ]
Jaroslaw Kijanowski commented on JBESB-1018:
--------------------------------------------
GA isn't using SampleObject.
The QS in trunk tries to cast the result to SampleObject
org.jboss.soa.esb.samples.quickstart.helloworld.MyJMSListenerAction:
System.out.println("And: "+(SampleObject) message.getBody().get());
This works fine only when an ESB message is sent:
org.jboss.soa.esb.samples.quickstart.helloworld.test.SendEsbMessage:
esbMessage.getBody().add(new SampleObject());
exception in helloworld QS
--------------------------
Key: JBESB-1018
URL:
http://jira.jboss.com/jira/browse/JBESB-1018
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Examples
Reporter: Jaroslaw Kijanowski
Assigned To: Mark Little
QS is from trunk:
22:22:28,047 INFO [STDOUT]
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
22:22:28,047 INFO [STDOUT] Body: Hello World
22:22:28,049 WARN [ActionProcessingPipeline] Unexpected exception caught while
processing the action pipeline
org.jboss.soa.esb.actions.ActionProcessingException: Unexpected invocation target
exception from processor
at
org.jboss.soa.esb.listeners.message.ActionProcessorMethodInfo.processMethods(ActionProcessorMethodInfo.java:127)
at
org.jboss.soa.esb.listeners.message.OverriddenActionLifecycleProcessor.process(OverriddenActionLifecycleProcessor.java:74)
at
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:265)
at
org.jboss.soa.esb.listeners.message.MessageAwareListener$1.run(MessageAwareListener.java:297)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassCastException: java.lang.String
at
org.jboss.soa.esb.samples.quickstart.helloworld.MyJMSListenerAction.displayMessage(MyJMSListenerAction.java:40)
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:585)
at
org.jboss.soa.esb.listeners.message.ActionProcessorMethodInfo.processMethods(ActionProcessorMethodInfo.java:102)
... 6 more
22:22:28,049 WARN [ActionProcessingPipeline] No fault address defined for fault message!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira