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

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

    [ https://issues.apache.org/jira/browse/CAMEL-10708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15823620#comment-15823620 ] 

Claus Ibsen commented on CAMEL-10708:
-------------------------------------

You are welcome to work on a github PR or patch file

> 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
>            Priority: Minor
>             Fix For: 2.18.2, 2.19.0
>
>
> 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)