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

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

     [ https://issues.apache.org/jira/browse/WICKET-6690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-6690.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 9.0.0-M3
                   7.15.0
                   8.6.0

Thanks for the report!

> 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
>            Assignee: Martin Grigorov
>            Priority: Major
>             Fix For: 8.6.0, 7.15.0, 9.0.0-M3
>
>
> 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}
> P.S.: I've noticed this when I tried init with *PBEwithSHA256and256bitAES-CBC-BC*



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