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

Andriy Redko updated CXF-8536:
------------------------------
    Affects Version/s: 3.3.10

> Incorrect log message "Could not create a NamespaceMapper compatible with 
> Marshaller class com.sun.xml.bind.v2.runtime.MarshallerImpl"
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-8536
>                 URL: https://issues.apache.org/jira/browse/CXF-8536
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.4.3, 3.3.10
>            Reporter: Stefan Berger
>            Priority: Minor
>
> On every outgoing SOAP message, the following message is logged:
> {code:java}
> Could not create a NamespaceMapper compatible with Marshaller class 
> com.sun.xml.bind.v2.runtime.MarshallerImpl
> {code}
> This is produced by 
> [https://github.com/apache/cxf/blob/25a6feb377e7b969091e64de8ae5817224d846b4/core/src/main/java/org/apache/cxf/common/spi/NamespaceClassGenerator.java#L78]
> The code is missing an
> {code:java}
> if (class == null) {
> {code}
> around it, because the log message should not be logged if a class was found.
>  
> See PR https://github.com/apache/cxf/pull/791 for a fix.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to