Camel Jasypt component throws NPE if the jasypt master password is configured to use environment variable but not set to any value.
For instance, I had a bean configured for JasyptPropertiesParser:
But I did not set value for the environment variable "JASYPT_ENCRYPTION_PASSWORD", then my camel-jasypt route would fail with a NPE:
The reason is the org.apache.camel.component.jasypt.JasyptPropertiesParser.java code setPassword method here:
The first "if" statement returns a NULL and the second "if" statement throws a NPE due to lack of NPE check.