cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Maslov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6721) NullPointerException for some responses containing SoapFault.
Date Fri, 25 Dec 2015 11:10:49 GMT

    [ 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)

Mime
View raw message