[esb-issues] [JBoss JIRA] Commented: (JBESB-1361) IllegalArgumentException in aggregator QS

Jaroslaw Kijanowski (JIRA) jira-events at lists.jboss.org
Fri Nov 23 08:00:18 EST 2007


    [ http://jira.jboss.com/jira/browse/JBESB-1361?page=comments#action_12388897 ] 
            
Jaroslaw Kijanowski commented on JBESB-1361:
--------------------------------------------

Tried with CP, it's better, the "Aggregator" action runs fine, but the next action in the pipeline, "print-after", fails:

     [java] 07:46:52,351 DEBUG [pool-1-thread-1][ActionProcessingPipeline] executing processor 1 org.jboss.soa.esb.actions.SystemPrintln at 167acf2 header: [ To: JMSEpr [ PortReference < <wsa:Address jms://localhost/queue/A/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : localhost/>, <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 : 1/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] MessageID: ID:JBM-2560 RelatesTo: jms:correlationID#ID:JBM-512 ]
     [java] 07:46:52,351 INFO  [pool-1-thread-1][MessagePayloadProxy] Null data found in message location(s): [org.jboss.soa.esb.message.defaultEntry]
     [java] An aggregated message was created: 
     [java] 07:46:52,357 WARN  [pool-1-thread-1][ActionProcessingPipeline] Unexpected exception caught while processing the action pipeline: header: [ To: JMSEpr [ PortReference < <wsa:Address jms://localhost/queue/A/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : localhost/>, <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 : 1/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] MessageID: ID:JBM-2560 RelatesTo: jms:correlationID#ID:JBM-512 ]
     [java] java.lang.ClassCastException: java.lang.String
     [java]     at org.jboss.soa.esb.actions.SystemPrintln.process(SystemPrintln.java:117)
     [java]     at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:316)
     [java]     at org.jboss.soa.esb.listeners.message.MessageAwareListener$1.run(MessageAwareListener.java:303)
     [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)


> IllegalArgumentException in aggregator QS
> -----------------------------------------
>
>                 Key: JBESB-1361
>                 URL: http://jira.jboss.com/jira/browse/JBESB-1361
>             Project: JBoss ESB
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Examples
>    Affects Versions: 4.2.1 CP1
>            Reporter: Jaroslaw Kijanowski
>         Assigned To: Tom Fennelly
>
> Just try to run the aggregator QS, enable DEBUG level for the aggreagtion service, send a message and watch the aggregator's console:
>      [java] java.lang.IllegalArgumentException: value must be Serializable
>      [java]     at org.jboss.internal.soa.esb.message.format.xml.AttachmentImpl.addItem(AttachmentImpl.java:101)
>      [java]     at org.jboss.soa.esb.actions.Aggregator.createAggregateMessage(Aggregator.java:236)
>      [java]     at org.jboss.soa.esb.actions.Aggregator.process(Aggregator.java:185)
>      [java]     at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:316)
>      [java]     at org.jboss.soa.esb.listeners.message.MessageAwareListener$1.run(MessageAwareListener.java:303)
>      [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] 12:07:17,808 DEBUG [Thread-1][Aggregator] message is alive.
>      [java] 12:07:17,808 DEBUG [Thread-1][Aggregator] Current time=12:07:17 PM message expiration=12:07:18 PM
>      [java] 12:07:17,808 DEBUG [Thread-1][Aggregator] message is alive.
>      [java] 12:07:18,309 DEBUG [Thread-1][Aggregator] Current time=12:07:18 PM message expiration=12:07:18 PM
>      [java] 12:07:18,309 DEBUG [Thread-1][Aggregator] message expired.
>      [java] Exception in thread "Thread-1" java.lang.NullPointerException
>      [java]     at org.jboss.soa.esb.actions.Aggregator$TimeoutChecker.run(Aggregator.java:297)

-- 
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