You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/07/22 13:00:00 UTC
[jira] [Commented] (WICKET-6690) NullPointerException in
KeyInSessionSunJceCryptFactory.
[ https://issues.apache.org/jira/browse/WICKET-6690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16890141#comment-16890141 ]
ASF subversion and git services commented on WICKET-6690:
---------------------------------------------------------
Commit 1288fdf786bc8b1ce23007b0fb4809e789825ce4 in wicket's branch refs/heads/wicket-8.x from Martin Tzvetanov Grigorov
[ https://gitbox.apache.org/repos/asf?p=wicket.git;h=1288fdf ]
WICKET-6690 NullPointerException in KeyInSessionSunJceCryptFactory.<init>
Add a null check for Security.getProviders(String)
(cherry picked from commit 1c39dd7aefdafc0c4bafcc9e1107665f25b9dd99)
> 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
>
> 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)