SecurityStore in error from NullPointerException

Solution Verified - Updated -

Issue

I tried encrypting my SuckerPassword in messaging-jboss-beans.xml through a keystore/security domain but it fails with the following error:

ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Configured: name=SecurityStore state=Configured
java.lang.Exception: Error calling callback PasswordRegistrationAdvice for target context SecurityStore
     at org.jboss.dependency.plugins.AbstractLifecycleCallbackItem.install(AbstractLifecycleCallbackItem.java:91)
...
Caused by: java.lang.NullPointerException
     at org.jboss.security.integration.password.PasswordMaskManagement.ensureKeyStore(PasswordMaskManagement.java:297)
     at org.jboss.security.integration.password.PasswordMaskManagement.getPassword(PasswordMaskManagement.java:163)
...

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.