[
http://jira.jboss.com/jira/browse/JBESB-338?page=comments#action_12349733 ]
Kevin Conner commented on JBESB-338:
------------------------------------
I have discussed this with Bruno and have worked out how this occurs.
Bruno was creating zero length files in the ftp directory and this was triggering a bug in
the XML serialisation of the message.
There are three distinct types of messages that can be serialised, as far as XML
representation is concerned. These are
- null contents
<Body/>
- zero lenth contents
<Body><Bytes/></Body>
- non zero length contents.
<Body><Bytes>XXXXXX</Bytes></Body>
The current code cannot differentiate between the first and second cases when the XML is
parsed.
ActionProcessingPipeline issue
------------------------------
Key: JBESB-338
URL:
http://jira.jboss.com/jira/browse/JBESB-338
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Rosetta
Affects Versions: 4.0 CR1
Reporter: Bruno Georges
Assigned To: Kevin Conner
Fix For: 4.0 CR2
[java]
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
[java] 12:13:15,469 ERROR [pool-1-thread-1][ActionProcessingPipeline] Process method
threw Exception
[java] java.lang.reflect.InvocationTargetException
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.run(ActionProcessingPipeline.java:90)
[java] at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
[java] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
[java] at java.lang.Thread.run(Thread.java:595)
[java] Caused by: java.lang.NullPointerException
[java] at java.lang.String.<init>(String.java:479)
[java] at quickstart.hw_ftp_action.MyAction.displayMessage(UnknownSource)
[java] ... 8 more
--
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