cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wkrugiolka <wkrugio...@interia.pl>
Subject Fault nullpointer
Date Thu, 12 Mar 2009 15:46:37 GMT

Hi

I use cxf 2.1.4 and got a problem with nullPointerException with a fault
message.
Anybody knows what is the reason? What did i miss?

Fault message:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Server</faultcode>
      <faultstring>[error:err_2]</faultstring>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>

And the exception:
[jmsConnector.receiver.8] 2009-03-12 16:31:38,687 ERROR
org.mule.service.DefaultServiceExceptionStrategy - 
********************************************************************************
Message               : Component that caused exception is: SPSTaranClient.
Message payload is of type: WhiteTransaction
Type                  : org.mule.api.service.ServiceException
Code                  : MULE_ERROR--2
Payload               : WhiteTransaction {amount=15.00, cardId=974399097,
currency=440, purseValidThru=null, ticketTripCount=100, ticketType=8,
ticketValidFrom=null, ticketValidPeriod=0, ticketValidThru=null,
ticketValidWeekdays=0, transactionId=225, transactionType=12,
trTimestamp=2009-03-12 16:10:26.36, trValidDays=1, trValidThru=2009-03-13
16:10:26.407}
JavaDoc               :
http://mule.mulesource.org/docs/apidocs/org/mule/api/service/ServiceException.html
********************************************************************************
Exception stack is:
1. null (java.lang.NullPointerException)
  org.jboss.ws.core.soap.SOAPFaultImpl:189 (null)
2. Component that caused exception is: SPSTaranClient. Message payload is of
type: WhiteTransaction (org.mule.api.service.ServiceException)
  org.mule.component.DefaultLifecycleAdapter:208
(http://mule.mulesource.org/docs/apidocs/org/mule/api/service/ServiceException.html)
********************************************************************************
Root Exception stack trace:
java.lang.NullPointerException
	at
org.jboss.ws.core.soap.SOAPFaultImpl.setFaultCode(SOAPFaultImpl.java:189)
	at
org.apache.cxf.jaxws.JaxWsClientProxy.createSoapFault(JaxWsClientProxy.java:188)
	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:140)
	at $Proxy198.addWhiteTransaction(Unknown Source)
	at sun.reflect.GeneratedMethodAccessor528.invoke(Unknown Source)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.mule.model.resolvers.AbstractEntryPointResolver.invokeMethod(AbstractEntryPointResolver.java:154)
	at
org.mule.model.resolvers.MethodHeaderPropertyEntryPointResolver.invoke(MethodHeaderPropertyEntryPointResolver.java:106)
	at
org.mule.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPointResolverSet.java:50)
	at
org.mule.component.DefaultLifecycleAdapter.invoke(DefaultLifecycleAdapter.java:197)
	at
org.mule.component.AbstractJavaComponent.invokeComponentInstance(AbstractJavaComponent.java:83)
	at
org.mule.component.AbstractJavaComponent.doInvoke(AbstractJavaComponent.java:74)
	at
org.mule.component.AbstractComponent.invokeInternal(AbstractComponent.java:125)
	at org.mule.component.AbstractComponent.invoke(AbstractComponent.java:153)
	at
org.mule.service.AbstractService.invokeComponent(AbstractService.java:932)
	at org.mule.model.seda.SedaService.doSend(SedaService.java:229)
	at org.mule.service.AbstractService.sendEvent(AbstractService.java:505)
	at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:354)
	at
org.mule.routing.inbound.DefaultInboundRouterCollection.send(DefaultInboundRouterCollection.java:220)
	at
org.mule.routing.inbound.DefaultInboundRouterCollection.route(DefaultInboundRouterCollection.java:180)
	at
org.mule.transport.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:365)
	at
org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:253)
	at
org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:176)
	at
org.mule.transport.vm.VMMessageReceiver.onCall(VMMessageReceiver.java:107)
	at
org.mule.transport.vm.VMMessageDispatcher$2.doInTransaction(VMMessageDispatcher.java:125)
	at
org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:99)
	at
org.mule.transport.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:128)
	at
org.mule.transport.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:168)
	at org.mule.transport.AbstractConnector.send(AbstractConnector.java:1851)
	at
org.mule.endpoint.DefaultOutboundEndpoint.send(DefaultOutboundEndpoint.java:77)
	at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:327)
	at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:213)
	at
org.mule.routing.outbound.AbstractOutboundRouter$2.doInTransaction(AbstractOutboundRouter.java:149)
	at
org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:99)
	at
org.mule.routing.outbound.AbstractOutboundRouter.send(AbstractOutboundRouter.java:156)
	at
org.mule.routing.outbound.FilteringOutboundRouter.route(FilteringOutboundRouter.java:68)
	at
org.mule.routing.outbound.DefaultOutboundRouterCollection$1.doInTransaction(DefaultOutboundRouterCollection.java:64)
	at
org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:45)
	at
org.mule.routing.outbound.DefaultOutboundRouterCollection.route(DefaultOutboundRouterCollection.java:69)
	at
org.mule.service.AbstractService.sendToOutboundRouter(AbstractService.java:902)
	at org.mule.model.seda.SedaService.doSend(SedaService.java:230)
	at org.mule.service.AbstractService.sendEvent(AbstractService.java:505)
	at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:354)
	at
org.mule.routing.inbound.DefaultInboundRouterCollection.send(DefaultInboundRouterCollection.java:220)
	at
org.mule.routing.inbound.DefaultInboundRouterCollection.route(DefaultInboundRouterCollection.java:180)
	at
org.mule.transport.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:365)
	at
org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:253)
	at
org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:176)
	at
org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:169)
	at
org.mule.transport.jms.XaTransactedJmsMessageReceiver.getMessages(XaTransactedJmsMessageReceiver.java:262)
	at
org.mule.transport.jms.XaTransactedJmsMessageReceiver$1.doInTransaction(XaTransactedJmsMessageReceiver.java:168)
	at
org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:99)
	at
org.mule.transport.jms.XaTransactedJmsMessageReceiver.poll(XaTransactedJmsMessageReceiver.java:195)
	at
org.mule.transport.PollingReceiverWorker.run(PollingReceiverWorker.java:47)
	at org.mule.work.WorkerContext.run(WorkerContext.java:310)
	at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
	at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
	at java.lang.Thread.run(Thread.java:619)


Regards, Wojtas


-- 
View this message in context: http://www.nabble.com/Fault-nullpointer-tp22478903p22478903.html
Sent from the cxf-dev mailing list archive at Nabble.com.


Mime
View raw message