You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jochen Riedlinger (JIRA)" <ji...@apache.org> on 2017/01/16 07:07:26 UTC

[jira] [Created] (CAMEL-10708) org.apache.camel.component.cxf.CxfEndpoint -- Lines 554 -558 should be Nullsafe

Jochen Riedlinger created CAMEL-10708:
-----------------------------------------

             Summary: org.apache.camel.component.cxf.CxfEndpoint -- Lines 554 -558 should be Nullsafe
                 Key: CAMEL-10708
                 URL: https://issues.apache.org/jira/browse/CAMEL-10708
             Project: Camel
          Issue Type: Bug
          Components: camel-cxf
    Affects Versions: 2.18.1
            Reporter: Jochen Riedlinger


trying to set username and passsword on a CxfEndpoint (in a Java-DSL camel route) I experience a NullPointerException, because the properties map is not initialized.

here you can see my code example:
[https://github.com/jochenr/wildfly-camel-examples/blob/master/camel-cxf-jaxws-cdi/src/main/java/org/wildfly/camel/examples/cxf/jaxws/JavaDSLRouteBuilder.java#L54-L67]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)