You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Maslov (JIRA)" <ji...@apache.org> on 2015/12/25 12:10:49 UTC
[jira] [Commented] (CXF-6721) NullPointerException for some
responses containing SoapFault.
[ https://issues.apache.org/jira/browse/CXF-6721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15071513#comment-15071513 ]
Sergey Maslov commented on CXF-6721:
------------------------------------
NPE occurs in the following line DefaultLogEventMapper:194:
return (addrProp != null) ? addrProp.getMessageID().getValue() : UUID.randomUUID().toString();
In this case I have non-null addrProp, but addrProp.getMessageID() return null.
As I understood the idea, if there is no message id, random UUID should be created.
Could this be fixed by adding messageId null check?
> NullPointerException for some responses containing SoapFault.
> --------------------------------------------------------------
>
> Key: CXF-6721
> URL: https://issues.apache.org/jira/browse/CXF-6721
> Project: CXF
> Issue Type: Bug
> Affects Versions: 3.1.4
> Reporter: Sergey Maslov
> Attachments: errorresponse.txt, exception.txt
>
>
> NullPointerException for some responses containing SoapFault.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)