1 Reply Latest reply on Mar 13, 2008 4:44 PM by milgr05

    Trailblazer Null message from jmsBank

    crashinc99

      The trailblazer sample is failing after the jmsBank places a message in the bankResponseGatewayQueue. The resulting processing places an empty message in the bankResponseQueue. The messages written to stdout are as follows:

      2007-12-07 17:41:40,515 INFO [org.jboss.soa.esb.samples.trailblazer.actions.CreditAgencyActions] CreditAgency sending back a credit score of 7
      
      2007-12-07 17:41:40,531 INFO [org.jboss.soa.esb.samples.trailblazer.loanbroker.LoanBroker] received reply from creditAgency action: [B@842913
      
      2007-12-07 17:41:45,546 INFO [STDOUT] sending to JMS Bank...
      
      2007-12-07 17:41:45,562 INFO [STDOUT] Connection Started
      
      2007-12-07 17:41:56,031 INFO [STDOUT] Got the message from the JMS bank: null
      
      2007-12-07 17:41:56,031 WARN [org.jboss.soa.esb.listeners.message.ActionProcessingPipeline] Unexpected exception caught while processing the action pipeline: header: [ To: JMSEpr [ PortReference < <wsa:Address jms://localhost/queue/esb-tb-bankResponseQueue/>, <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/> > ] MessageID: ID:4-11970673158902 RelatesTo: jms:correlationID#ID:7-11970671144961 ]
      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:316)
       at org.jboss.soa.esb.listeners.message.MessageAwareListener$1.run(MessageAwareListener.java:303)
       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.trailblazer.actions.BankResponseActions.processResponseFromJMSBank(BankResponseActions.java:41)
       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


      I'm using JBoss 4.2.2 GA/jbossesb-4.2.1GA/JDK1.5.0_14 WinXP box.

      Everything seemed to build and deploy without error (as per the TB guide).

      Any help would be appreciated.