[
https://issues.apache.org/jira/browse/CXF-6010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14139019#comment-14139019
]
Eirik Bjorsnos commented on CXF-6010:
-------------------------------------
Also, I guess a test case exposing the npe issue should be added to
https://git-wip-us.apache.org/repos/asf?p=cxf.git;a=blob;f=systests/uncategorized/src/test/java/org/apache/cxf/systest/schema_validation/ValidationClientServerTest.java;h=3dfb0a9aeb8de32c4e1d05fa77bc84fc382378dc;hb=HEAD
> 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
>
> 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)