[ 
https://issues.apache.org/activemq/browse/SM-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41929#action_41929
 ] 

Vandeloise commented on SM-1269:
--------------------------------


Output messages on terminal where SERVICEMIX has been started:
==============================================================


ERROR - WSNComponent                   - Error processing exchange InOut[
  id: ID:172.17.2.106-1190410262c-3:2
  status: Active
  role: provider
  service: {http://servicemix.org/wsnotification}CreatePullPoint
  endpoint: Broker
  operation: {http://docs.oasis-open.org/wsn/bw-2}CreatePullPoint
  in: <?xml version="1.0" encoding="UTF-8"?><CreatePullPoint 
xmlns="http://docs.oasis-open.org/wsn/b-2"; 
xmlns:b="http://docs.oasis-open.org/wsn/b-2"; 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
         <!--You may enter ANY elements at this point-->
      </CreatePullPoint>
]
java.lang.NullPointerException
        at com.sun.xml.bind.v2.util.QNameMap.hash(QNameMap.java:176)
        at com.sun.xml.bind.v2.util.QNameMap.getEntry(QNameMap.java:427)
        at com.sun.xml.bind.v2.util.QNameMap.get(QNameMap.java:122)
        at 
com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.startElement(StructureLoader.java:162)
        at 
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:369)
        at 
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:347)
        at 
com.sun.xml.bind.v2.runtime.unmarshaller.InterningXmlVisitor.startElement(InterningXmlVisitor.java:35)
        at 
com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:99)
        at org.apache.servicemix.jbi.jaxp.StaxSource.parse(StaxSource.java:140)
        at org.apache.servicemix.jbi.jaxp.StaxSource.parse(StaxSource.java:266)
        at 
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:199)
        at 
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:172)
        at 
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:120)
        at 
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:103)
        at 
org.apache.servicemix.wsn.component.WSNEndpoint.process(WSNEndpoint.java:128)
        at 
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
        at 
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
        at 
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
        at 
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
        at 
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
        at 
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
        at 
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
        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)
WARN  - jetty                          - Nested in 
javax.servlet.ServletException: Failed to process request: java.lang.Exception: 
java.lang.NullPointerException:
java.lang.Exception: java.lang.NullPointerException
        at 
org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:194)
        at 
org.apache.servicemix.http.HttpBridgeServlet.doPost(HttpBridgeServlet.java:71)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
        at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
        at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
        at 
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
        at 
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
        at org.mortbay.jetty.Server.handle(Server.java:313)
        at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:375)
        at 
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
        at 
org.mortbay.jetty.nio.SelectChannelConnector$RetryContinuation.run(SelectChannelConnector.java:511)
        at 
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Caused by: java.lang.NullPointerException
        at com.sun.xml.bind.v2.util.QNameMap.hash(QNameMap.java:176)
        at com.sun.xml.bind.v2.util.QNameMap.getEntry(QNameMap.java:427)
        at com.sun.xml.bind.v2.util.QNameMap.get(QNameMap.java:122)
        at 
com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.startElement(StructureLoader.java:162)
        at 
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:369)
        at 
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:347)
        at 
com.sun.xml.bind.v2.runtime.unmarshaller.InterningXmlVisitor.startElement(InterningXmlVisitor.java:35)
        at 
com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:99)
        at org.apache.servicemix.jbi.jaxp.StaxSource.parse(StaxSource.java:140)
        at org.apache.servicemix.jbi.jaxp.StaxSource.parse(StaxSource.java:266)
        at 
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:199)
        at 
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:172)
        at 
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:120)
        at 
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:103)
        at 
org.apache.servicemix.wsn.component.WSNEndpoint.process(WSNEndpoint.java:128)
        at 
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
        at 
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
        at 
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
        at 
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
        at 
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
        at 
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
        at 
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
        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)
WARN  - jetty                          - /CreatePullPoint/
java.lang.Exception: java.lang.NullPointerException
        at 
org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:194)
        at 
org.apache.servicemix.http.HttpBridgeServlet.doPost(HttpBridgeServlet.java:71)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
        at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
        at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
        at 
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
        at 
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
        at org.mortbay.jetty.Server.handle(Server.java:313)
        at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:375)
        at 
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
        at 
org.mortbay.jetty.nio.SelectChannelConnector$RetryContinuation.run(SelectChannelConnector.java:511)
        at 
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Caused by: java.lang.NullPointerException
        at com.sun.xml.bind.v2.util.QNameMap.hash(QNameMap.java:176)
        at com.sun.xml.bind.v2.util.QNameMap.getEntry(QNameMap.java:427)
        at com.sun.xml.bind.v2.util.QNameMap.get(QNameMap.java:122)
        at 
com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.startElement(StructureLoader.java:162)
        at 
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:369)
        at 
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:347)
        at 
com.sun.xml.bind.v2.runtime.unmarshaller.InterningXmlVisitor.startElement(InterningXmlVisitor.java:35)
        at 
com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:99)
        at org.apache.servicemix.jbi.jaxp.StaxSource.parse(StaxSource.java:140)
        at org.apache.servicemix.jbi.jaxp.StaxSource.parse(StaxSource.java:266)
        at 
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:199)
        at 
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:172)
        at 
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:120)
        at 
javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:103)
        at 
org.apache.servicemix.wsn.component.WSNEndpoint.process(WSNEndpoint.java:128)
        at 
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
        at 
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
        at 
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
        at 
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
        at 
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
        at 
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
        at 
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
        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)
11:10:40,204 INFO  [AbstractWsdlRequestDesktopPanel] Got response for 
[CreatePullPoint.CreatePullPoint:Request 1] in 2256ms (7209 bytes)


> Default name space ignore by Servicemix
> ---------------------------------------
>
>                 Key: SM-1269
>                 URL: https://issues.apache.org/activemq/browse/SM-1269
>             Project: ServiceMix
>          Issue Type: Bug
>    Affects Versions: 3.2.1
>         Environment: Linux
>            Reporter: Vandeloise
>
> Hi 
> I'm testing the Servicemix WSNotification (CreatePullPoint) using the SOAPUI 
> tool. 
> I use the two following SOAP messages in order to perform the 
> "CreatePullPoint" operation. 
> The following message 1) is working well while message 2) does'nt. 
> 1)   <soapenv:Envelope 
> xmlns:soapenv="http://schema.xmlsoap.org/soap/envelope";>
>          <soapenv:Header /> 
>          <soapenv:Body> 
>             <b:CreatePullPoint   xmlns:b="http://docs.oasis-open.org/wsn/b-2"; 
> /> 
>          </soapenv:Body> 
>       </soapenv:Envelope> 
> 2)   <soapenv:Envelope 
> xmlns:soapenv="http://schema.xmlsoap.org/soap/envelope";>
>         <soapenv:Header /> 
>         <soapenv:Body> 
>           <CreatePullPoint  xmlns="http://docs.oasis-open.org/wsn/b-2"; /> 
>         </soapenv:Body> 
>       </soapenv:Envelope> 
> Can anybody explain me why Servicemix seems to not understand message 2) 
> (error "HTTP/1.1 500  javalangNullPointerException" is returned) ? 
> Thanks in advance 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to