[esb-issues] [JBoss JIRA] Closed: (JBESB-1040) helloworld quickstart - Unexpected exception caught while processing the action pipeline
Kevin Conner (JIRA)
jira-events at lists.jboss.org
Thu Sep 13 13:30:11 EDT 2007
[ http://jira.jboss.com/jira/browse/JBESB-1040?page=all ]
Kevin Conner closed JBESB-1040.
-------------------------------
Fix Version/s: (was: 4.2.1)
Resolution: Duplicate Issue
> helloworld quickstart - Unexpected exception caught while processing the action pipeline
> ----------------------------------------------------------------------------------------
>
> Key: JBESB-1040
> URL: http://jira.jboss.com/jira/browse/JBESB-1040
> Project: JBoss ESB
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Examples
> Affects Versions: 4.2.1 IR1
> Environment: RHEL5
> java version "1.5.0_12"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
> Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode)
> JBoss ESB as downloaded from svn Sept 13, 2007
> Reporter: Len DiMaggio
> Assigned To: Mark Little
>
> I'm seeing this with the helloworld quickstart:
> 12:51:29,724 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.NullPointerException
> at java.lang.String.<init>(String.java:479)
> at org.jboss.soa.esb.samples.quickstart.helloworld.MyJMSListenerAction.displayMessage(MyJMSListenerAction.java:38)
> 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)
> The offending line (MyJMSListenerAction.java:38) is:
> ---------------------------------------------
> System.out.println("Body: " + new String(message.getBody().getByteArray()));
> ---------------------------------------------
> getByteArray() has been deprecated - this line resolves the problem for this quickstart:
> ---------------------------------------------
> System.out.println("Message = " + message.getBody().get("org.jboss.soa.esb.message.defaultEntry"));
> ---------------------------------------------
--
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
More information about the esb-issues
mailing list