cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex F (JIRA)" <>
Subject [jira] Created: (CXF-1525) NullPointer Exception when SOAP FAULT FaultString is NULL
Date Fri, 11 Apr 2008 13:00:05 GMT
NullPointer Exception when SOAP FAULT FaultString is NULL

                 Key: CXF-1525
             Project: CXF
          Issue Type: Bug
          Components: Soap Binding
    Affects Versions: 2.0.5, 2.0.4
         Environment: JBoss 4.2.2, cxf used as a client to an WS with
            Reporter: Alex F
            Priority: Critical

When a WS returns a SOAP FAULT with an empty FaultString in it a NPE is thrown.

suspicious code:
DispatchInDatabindingInterceptor handleMessage:

   if (message instanceof SoapMessage) {
                Fault fault = new Fault(new org.apache.cxf.common.i18n.Message(soapFault.getFaultString(),


=> soapFault.getFaultString() is NULL this leads in the end to and NPE when the field code
in the message gets adressed. As a consequence of this the original Exception from the WebService
is getting ignored. 


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

View raw message