[
https://issues.apache.org/jira/browse/CXF-1466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean O'Callaghan reassigned CXF-1466:
-------------------------------------
Assignee: Sean O'Callaghan
> NullPointerException when SOAPFault is not a Fault
> --------------------------------------------------
>
> Key: CXF-1466
> URL: https://issues.apache.org/jira/browse/CXF-1466
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.0.4
> Reporter: Thomas Leonard
> Assignee: Sean O'Callaghan
>
> Exception in thread "main" java.lang.ClassCastException:
> java.lang.NullPointerException
> at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:191)
> at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:124)
> The code is:
> SOAPFault soapFault =
> SOAPFactory.newInstance().createFault();
> Fault fault = (Fault)exp;
> (after modifying the code, the full exception was
> Fetching WSDL from
> http://virtualvista.it-innovation.soton.ac.uk:8080/BREIN/VIMEnactorTestService?wsdl...
> Exception in thread "main" java.lang.RuntimeException:
> java.lang.NullPointerException
> at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:195)
> at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:124)
> ...
> Caused by: java.lang.NullPointerException
> at
> org.apache.cxf.ws.addressing.MAPAggregator.getActionBaseUri(MAPAggregator.java:432)
> at
> org.apache.cxf.ws.addressing.MAPAggregator.getActionUri(MAPAggregator.java:475)
> at
> org.apache.cxf.ws.addressing.MAPAggregator.assembleGeneric(MAPAggregator.java:391)
> at
> org.apache.cxf.ws.addressing.MAPAggregator.aggregate(MAPAggregator.java:359)
> at
> org.apache.cxf.ws.addressing.MAPAggregator.mediate(MAPAggregator.java:315)
> at
> org.apache.cxf.ws.addressing.MAPAggregator.handleMessage(MAPAggregator.java:137)
> at
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:208)
> at org.apache.cxf.jaxws.DispatchImpl.invoke(DispatchImpl.java:179)
> ... 2 more
> )
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.