[SystemPrintln] ClassCastException on attachment
------------------------------------------------
Key: JBESB-2219
URL:
https://jira.jboss.org/jira/browse/JBESB-2219
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.4
Reporter: Joakim Sandström
org.jboss.soa.esb.actions.SystemPrintln assumes that the attachments contain Message
objects
09:12:03,960 WARN [ActionProcessingPipeline] Unexpected exception caught while processing
the action pipeline: header: [ To: JMSEpr [ PortReference < <wsa:Address
jms://phobos:1099/queue/documents.aggregate.document/>, <wsa:ReferenceProperties
jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>,
<wsa:ReferenceProperties jbossesb:java.naming.provider.url : phobos:1099/>,
<wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs :
org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type :
queue/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>,
<wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>,
<wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties
jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties
jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type :
urn:jboss/esb/epr/type/jms/> > ] MessageID: f85dbd1f-6358-4a57-aa1d-571a30d25a5a
RelatesTo: jms:correlationID#f85dbd1f-6358-4a57-aa1d-571a30d25a5a ]
java.lang.ClassCastException: java.lang.String cannot be cast to
org.jboss.soa.esb.message.Message
at org.jboss.soa.esb.actions.SystemPrintln.process(SystemPrintln.java:117)
at
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:316)
at
org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:530)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira