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

Claus Ibsen commented on CAMEL-27367:
-------------------------------------

Fixed by https://github.com/apache/camel/pull/30582 (commit 3c91355d30f1 on 
main).

_Claude Code on behalf of Claus Ibsen_

> camel-smb - NullPointerException when no password is set
> --------------------------------------------------------
>
>                 Key: CAMEL-27367
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27367
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-smb
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.24.0
>
>
> {{SmbOperations.connectIfNecessary}} calls {{getPassword().toCharArray()}}, 
> so an endpoint without a password fails with a NullPointerException instead 
> of a clear error (or a guest or anonymous login, if that is meant to be 
> supported).
> Found while adding new Kamelets to the Kamelet catalog 
> (apache/camel-kamelets, 2026-11-21).



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to