Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: EJBCA 6.2.0
-
Fix Version/s: EJBCA 6.2.2
-
Component/s: CLI
-
Labels:None
-
Issue discovered during:Community
Description
The line
final int cryptoTokenId = EjbRemoteHelper.INSTANCE.getRemoteSession(CryptoTokenManagementSessionRemote.class).getIdFromName(
parameters.get(CRYPTO_TOKEN_KEY));
misses a nullcheck in case the crypto token is missing, instead an NPE is tossed.