EAP 6 vault tool java.lang.NullPointerException
Issue
-
On attempting to create a password vault with
vault.shaNullPointerExceptionoccurs while starting an interactive session. -
vault.shis 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
