cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eirik Bjorsnos (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-6010) NPE in MessageModeOutInterceptor.validateFaultDetail for faults with no <detail>
Date Tue, 07 Oct 2014 13:07:33 GMT

     [ https://issues.apache.org/jira/browse/CXF-6010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eirik Bjorsnos updated CXF-6010:
--------------------------------
    Attachment: CXF-6010-nullcheck-faultdetail.patch

Adds a chech to ensure a null detail is not being validated

> NPE in MessageModeOutInterceptor.validateFaultDetail for faults with no <detail>
> --------------------------------------------------------------------------------
>
>                 Key: CXF-6010
>                 URL: https://issues.apache.org/jira/browse/CXF-6010
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Eirik Bjorsnos
>         Attachments: CXF-6010-nullcheck-faultdetail.patch
>
>
> When validating a SOAP Fault with no <detail> element, MessageModeOutInterceptor.validateFaultDetail
fails with a NPE while trying to find the first child element of the detail element (which
is null).
> The fix should be easy: Add a null check before trying to validate a fault detail.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message