Stefan Berger created CXF-8536:
----------------------------------

             Summary: 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
            Reporter: Stefan Berger


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.

 



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

Reply via email to