EAP 6 vault tool java.lang.NullPointerException

Solution Unverified - Updated -

Issue

  • On attempting to create a password vault with vault.sh a NullPointerException occurs while starting an interactive session.

  • vault.sh is giving an error

**********************************
****  JBoss Vault  ***************
**********************************
Please enter a Digit::   0: Start Interactive Session  1: Remove Interactive Session  2: Exit
0
Starting an interactive session
Enter directory to store encrypted files:/home/guest/
Enter Keystore URL:/home/guest/keys/vault.keystore
Enter Keystore password:
Enter Keystore password again:
Values match
Enter 8 character salt:12345678
Enter iteration count as a number (Eg: 44):30
Enter Keystore Alias:jboss
Initializing Vault
Exception encountered:Exception encountered:java.lang.NullPointerException
Please enter a Digit::   0: Start Interactive Session  1: Remove Interactive Session  2: Exit
  • Getting Null Pointer Exception when using the keystore form EAP version prior to EAP 6.1.1.
  • Can not Store String in Password Vault.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.1.1
    • 6.2.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