Using management model mode.
Navigate to /subsystem=elytron/secret-key-credential-store
Add a new configuration.
Without selecting the new entry click on remove.
The internal error is reported:
newValue is null
I believe it should be possible to detect nothing is selected and output a more appropriate error.