Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
8.5.0
-
None
-
Windows 8.1
Oracle JDK 1.8.0_191
Description
Call Security.getProviders("Cipher." + cryptMethod).length == 0 causes NullPointerException when no suitable provider is found, because getProviders returns null.
2019-07-22 07:22:37,604 - ERROR - [main,,,,,] - org.apache.wicket.protocol.http.WicketFilter - The initialization of an application with name 'wicket.cexi' has failed.
java.lang.NullPointerException
at org.apache.wicket.core.util.crypt.KeyInSessionSunJceCryptFactory.<init>(KeyInSessionSunJceCryptFactory.java:67)
P.S.: I've noticed this when I tried init with PBEwithSHA256and256bitAES-CBC-BC