[
https://issues.apache.org/jira/browse/CAMEL-27367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-27367.
---------------------------------
Resolution: Fixed
> 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)