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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content