<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Unexpected exception cleaning smooks resource
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/Xibalban">M -</a> in <i>JBoss Web Services</i> - <a href="http://community.jboss.org/message/637936#637936">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>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.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Does anyone know how to get rid of this?:</p><blockquote class="jive-quote"><p style="color: #444444; font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #ffffff;"><span lang="EN-US" style="font-size: 10pt; font-family: Verdana, sans-serif; color: #1f497d;"> [WARN ] [org.jboss.soa.esb.services.soapui.SoapUIClientService] (pool-35-thread-1) [Unexpected exception cleaning <span class="il" style="background-color: #c7cacc; color: #222222;">smooks</span> resource]</span></p><ol style="list-style-type: lower-alpha;"><li><span style="font-size: 10pt; font-family: Verdana, sans-serif; color: #1f497d;">java.lang.NullPointerException</span></li></ol><p style="color: #444444; font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #ffffff;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span lang="EN-US" style="font-size: 10pt; font-family: Verdana, sans-serif; color: #1f497d;">at org.jboss.soa.esb.services.soapui.SoapUIClientService$SmooksCache.closeSmooks(SoapUIClientService.java:1290)</span></p><p style="color: #444444; font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #ffffff;"><span lang="EN-US" style="font-size: 10pt; font-family: Verdana, sans-serif; color: #1f497d;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.soa.esb.services.soapui.SoapUIClientService$SmooksCache.checkExpired(SoapUIClientService.java:1283)</span></p><p style="color: #444444; font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #ffffff;"><span lang="EN-US" style="font-size: 10pt; font-family: Verdana, sans-serif; color: #1f497d;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.soa.esb.services.soapui.SoapUIClientService$SmooksCache.release(SoapUIClientService.java:1259)</span></p><p style="color: #444444; font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #ffffff;"><span lang="EN-US" style="font-size: 10pt; font-family: Verdana, sans-serif; color: #1f497d;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.soa.esb.services.soapui.SoapUIClientService.applySmooksTransform(SoapUIClientService.java:844)</span></p><p style="color: #444444; font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #ffffff;"><span lang="EN-US" style="font-size: 10pt; font-family: Verdana, sans-serif; color: #1f497d;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.soa.esb.services.soapui.SoapUIClientService.buildSOAPMessage(SoapUIClientService.java:700)</span></p><p style="color: #444444; font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #ffffff;"><span lang="EN-US" style="font-size: 10pt; font-family: Verdana, sans-serif; color: #1f497d;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.soa.esb.services.soapui.SoapUIClientService.buildRequest(SoapUIClientService.java:346)</span></p><p style="color: #444444; font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #ffffff;"><span lang="EN-US" style="font-size: 10pt; font-family: Verdana, sans-serif; color: #1f497d;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; at sun.reflect.GeneratedMethodAccessor526.invoke(Unknown Source)</span></p><p style="color: #444444; font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #ffffff;"><span lang="EN-US" style="font-size: 10pt; font-family: Verdana, sans-serif; color: #1f497d;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)</span></p><p style="color: #444444; font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #ffffff;"><span lang="EN-US" style="font-size: 10pt; font-family: Verdana, sans-serif; color: #1f497d;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:597)</span></p><p style="color: #444444; font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #ffffff;"><span lang="EN-US" style="font-size: 10pt; font-family: Verdana, sans-serif; color: #1f497d;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)</span></p><p style="color: #444444; font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #ffffff;"><span lang="EN-US" style="font-size: 10pt; font-family: Verdana, sans-serif; color: #1f497d;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)</span></p><p style="color: #444444; font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #ffffff;"><span lang="EN-US" style="font-size: 10pt; font-family: Verdana, sans-serif; color: #1f497d;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)</span></p><p style="color: #444444; font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #ffffff;"><span lang="EN-US" style="font-size: 10pt; font-family: Verdana, sans-serif; color: #1f497d;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)</span></p><p style="color: #444444; font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #ffffff;"><span lang="EN-US" style="font-size: 10pt; font-family: Verdana, sans-serif; color: #1f497d;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)</span></p><p style="color: #444444; font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #ffffff;"><span lang="EN-US" style="font-size: 10pt; font-family: Verdana, sans-serif; color: #1f497d;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.soa.esb.actions.soap.MBeanSoapUIInvoker.buildRequest(MBeanSoapUIInvoker.java:76)</span></p><p style="color: #444444; font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #ffffff;"><span lang="EN-US" style="font-size: 10pt; font-family: Verdana, sans-serif; color: #1f497d;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.soa.esb.actions.soap.SOAPClient.process(SOAPClient.java:433)</span></p><p style="color: #444444; font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #ffffff;"><span lang="EN-US" style="font-size: 10pt; font-family: Verdana, sans-serif; color: #1f497d;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:649)</span></p><p style="color: #444444; font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #ffffff;"><span lang="EN-US" style="font-size: 10pt; font-family: Verdana, sans-serif; color: #1f497d;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.processPipeline(ActionProcessingPipeline.java:603)</span></p><p style="color: #444444; font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #ffffff;"><span lang="EN-US" style="font-size: 10pt; font-family: Verdana, sans-serif; color: #1f497d;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:433)</span></p><p style="color: #444444; font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #ffffff;"><span lang="EN-US" style="font-size: 10pt; font-family: Verdana, sans-serif; color: #1f497d;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:540)</span></p><p style="color: #444444; font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #ffffff;"><span lang="EN-US" style="font-size: 10pt; font-family: Verdana, sans-serif; color: #1f497d;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)</span></p><p style="color: #444444; font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #ffffff;"><span lang="EN-US" style="font-size: 10pt; font-family: Verdana, sans-serif; color: #1f497d;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)</span></p><p style="color: #444444; font-family: arial, sans-serif; text-align: -webkit-auto; background-color: #ffffff;"><span lang="EN-US" style="font-size: 10pt; font-family: Verdana, sans-serif; color: #1f497d;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; at java.lang.Thread.run(Thread.java:619)</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p></blockquote><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Here's the actions configuration:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><pre class="jive-pre"><code class="jive-code">&lt;action
&#160;&#160;&#160;&#160; class="RequestSomething" name="Request"&gt;&#160;&#160;&#160; 
&#160;&#160;&#160; &lt;/action&gt;
&#160;&#160;&#160; &lt;action class="org.jboss.soa.esb.actions.soap.SOAPClient" name="RequestSomethingSoapClient"&gt;
&#160;&#160;&#160;&#160; &lt;property name="SOAPAction" value="RequestSomethingSoapAction"/&gt;
&#160;&#160;&#160;&#160; &lt;property name="smooksTransform" value="/transforms/header-transform.xml"/&gt;
&#160;&#160;&#160;&#160; &lt;property name="endpointUrl" value="http://blaablaa.com/"/&gt;
&#160;&#160;&#160;&#160; &lt;property name="responseAsOgnlMap" value="true"/&gt;
&#160;&#160;&#160;&#160; &lt;property name="get-payload-location" value="RequestSomethingMap"/&gt;
&#160;&#160;&#160; &lt;/action&gt;
&#160;&#160;&#160; &lt;action
&#160;&#160;&#160;&#160; class="ResponseSomething" name="Response"/&gt;
&#160;&#160; &lt;/actions&gt;

</code></pre></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/637936#637936">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Web Services at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>