You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "David Rain (JIRA)" <ji...@apache.org> on 2019/07/22 05:27:00 UTC

[jira] [Created] (WICKET-6690) NullPointerException in KeyInSessionSunJceCryptFactory.

David Rain created WICKET-6690:
----------------------------------

             Summary: NullPointerException in KeyInSessionSunJceCryptFactory.<init>
                 Key: WICKET-6690
                 URL: https://issues.apache.org/jira/browse/WICKET-6690
             Project: Wicket
          Issue Type: Bug
          Components: wicket-core
    Affects Versions: 8.5.0
         Environment: Windows 8.1
Oracle JDK 1.8.0_191
            Reporter: David Rain


Call *Security.getProviders("Cipher." + cryptMethod).length == 0* causes *NullPointerException* when no suitable provider is found, because *getProviders* returns {color:#FF0000}*null*{color}.
{code:java}
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)
{code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)