JBoss Community

Unexpected exception cleaning smooks resource

created by M - in JBoss Web Services - View the full discussion

I get this exception sometimes usually right after or before SOAPClient in SOAP Client Action sends the message. There's a 'Smooks Transform' parameter set for all messages to add ws-security header for the request messages. Everything works but the exception is a bit alarming.

 

Does anyone know how to get rid of this?:

[WARN ] [org.jboss.soa.esb.services.soapui.SoapUIClientService] (pool-35-thread-1) [Unexpected exception cleaning smooks resource]

  1. java.lang.NullPointerException

                 at org.jboss.soa.esb.services.soapui.SoapUIClientService$SmooksCache.closeSmooks(SoapUIClientService.java:1290)

                 at org.jboss.soa.esb.services.soapui.SoapUIClientService$SmooksCache.checkExpired(SoapUIClientService.java:1283)

                 at org.jboss.soa.esb.services.soapui.SoapUIClientService$SmooksCache.release(SoapUIClientService.java:1259)

                 at org.jboss.soa.esb.services.soapui.SoapUIClientService.applySmooksTransform(SoapUIClientService.java:844)

                 at org.jboss.soa.esb.services.soapui.SoapUIClientService.buildSOAPMessage(SoapUIClientService.java:700)

                 at org.jboss.soa.esb.services.soapui.SoapUIClientService.buildRequest(SoapUIClientService.java:346)

                 at sun.reflect.GeneratedMethodAccessor526.invoke(Unknown Source)

                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                 at java.lang.reflect.Method.invoke(Method.java:597)

                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

                 at org.jboss.soa.esb.actions.soap.MBeanSoapUIInvoker.buildRequest(MBeanSoapUIInvoker.java:76)

                 at org.jboss.soa.esb.actions.soap.SOAPClient.process(SOAPClient.java:433)

                 at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:649)

                 at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:603)

                 at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:433)

                 at org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:540)

                 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

                 at java.lang.Thread.run(Thread.java:619)

 

 

Here's the actions configuration:

 

<action
     class="RequestSomething" name="Request">    
    </action>
    <action class="org.jboss.soa.esb.actions.soap.SOAPClient" name="RequestSomethingSoapClient">
     <property name="SOAPAction" value="RequestSomethingSoapAction"/>
     <property name="smooksTransform" value="/transforms/header-transform.xml"/>
     <property name="endpointUrl" value="http://blaablaa.com/"/>
     <property name="responseAsOgnlMap" value="true"/>
     <property name="get-payload-location" value="RequestSomethingMap"/>
    </action>
    <action
     class="ResponseSomething" name="Response"/>
   </actions>

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community