ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abdulkadir Yaman (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ODE-945) NPE in org.apache.ode.jbi.msgmap.ServiceMixMapper.isRecognized method
Date Mon, 17 Oct 2011 10:37:10 GMT
NPE in org.apache.ode.jbi.msgmap.ServiceMixMapper.isRecognized method
---------------------------------------------------------------------

                 Key: ODE-945
                 URL: https://issues.apache.org/jira/browse/ODE-945
             Project: ODE
          Issue Type: Bug
          Components: JBI Integration
    Affects Versions: 1.3.5
         Environment: Ubuntu 11.04 64bit, Oracle JDK 1.6 64bit, Servicemix 4.3.0
            Reporter: Abdulkadir Yaman


It seems that BaseXmlMapper.parse(NormalizedMessage.getContent()) returns null and throws
NPE while recognizing message in ServiceMixMapper.java:91 . If you enable debug, it throws
NPE on ServiceMixMapper.java:276 while executing org.apache.ode.jbi.msgmap.ServiceMixMapper.prettyPrint
on Element msg which proves that parse() method returns null. 

Debug and traces ....

09:44:43,865 | DEBUG | pool-10-thread-7 | NMR                              | 83 - org.apache.servicemix.nmr.core
- 1.4.0 | Channel org.apache.servicemix.nmr.core.ChannelImpl@1c5146e delivering exchange:
[
  id:        fa406462-df61-45ea-8030-242abe5113cf
  mep:       InOut
  status:    Error
  role:      Provider
  target:    PropertyMatchingReference[{ENDPOINT_NAME=esdp-wsPort, SERVICE_NAME={http://ws.esdp.ericsson.com}EsdpWsService}]
  operation: {http://ws.esdp.ericsson.com}subscriberMsisdnChange
  properties: [
      javax.jbi.servicedesc.ServiceEndpoint = org.apache.servicemix.jbi.runtime.impl.EndpointImpl@35c7be
      org.apache.servicemix.senderEndpoint = {http://ws.esdp.ericsson.com}EsdpWsService:esdp-wsPort
      javax.jbi.messaging.MessageExchange = org.apache.servicemix.jbi.runtime.impl.InOutImpl@873b5a
      javax.jbi.messaging.sendSync = <null>
      javax.jbi.InterfaceName = <null>
      javax.jbi.transaction.jta = <null>
      javax.jbi.ServiceEndpoint = org.apache.servicemix.jbi.runtime.impl.ServiceEndpointImpl@499823
      org.apache.servicemix.correlationId = fa406462-df61-45ea-8030-242abe5113cf
      javax.jbi.ServiceName = {http://ws.esdp.ericsson.com}EsdpWsService
  ]
  error: [
    java.lang.NullPointerException
      at org.apache.ode.utils.DOMUtils.prettyPrint(DOMUtils.java:127)
      at org.apache.ode.jbi.msgmap.ServiceMixMapper.prettyPrint(ServiceMixMapper.java:276)
      at org.apache.ode.jbi.msgmap.ServiceMixMapper.isRecognized(ServiceMixMapper.java:63)
      at org.apache.ode.jbi.OdeContext.findMapper(OdeContext.java:257)
      at org.apache.ode.jbi.OdeService.invokeOde(OdeService.java:272)
      at org.apache.ode.jbi.OdeService.onJbiMessageExchange(OdeService.java:161)
      at org.apache.ode.jbi.JbiMessageExchangeEventRouter.onJbiMessageExchange(JbiMessageExchangeEventRouter.java:67)
      at org.apache.ode.jbi.Receiver$1.run(Receiver.java:179)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      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:662)
  ]
]


09:50:15,977 | ERROR | pool-10-thread-2 | OdeService                       | 212 - org.apache.ode.ode-jbi-bundle
- 1.3.5 | Error invoking ODE.
java.lang.NullPointerException
        at org.apache.ode.jbi.msgmap.ServiceMixMapper.isRecognized(ServiceMixMapper.java:91)[212:org.apache.ode.ode-jbi-bundle:1.3.5]
        at org.apache.ode.jbi.OdeContext.findMapper(OdeContext.java:257)[212:org.apache.ode.ode-jbi-bundle:1.3.5]
        at org.apache.ode.jbi.OdeService.invokeOde(OdeService.java:272)[212:org.apache.ode.ode-jbi-bundle:1.3.5]
        at org.apache.ode.jbi.OdeService.onJbiMessageExchange(OdeService.java:161)[212:org.apache.ode.ode-jbi-bundle:1.3.5]
        at org.apache.ode.jbi.JbiMessageExchangeEventRouter.onJbiMessageExchange(JbiMessageExchangeEventRouter.java:67)[212:org.apache.ode.ode-jbi-bundle:1.3.5]
        at org.apache.ode.jbi.Receiver$1.run(Receiver.java:179)[212:org.apache.ode.ode-jbi-bundle:1.3.5]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_27]
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_27]
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_27]
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_27]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_27]
        at java.lang.Thread.run(Thread.java:662)[:1.6.0_27]



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message