Bug 1332867
Summary: | Unexpected java.lang.InternalError in sun.security.ec.SunEC when Security.removeProvider("SunPKCS11-Solaris"); | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Florian Morgan <florian.morgan> |
Component: | java-1.8.0-openjdk | Assignee: | Andrew John Hughes <ahughes> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 23 | CC: | ahughes, dbhole, jerboaa, jvanek, msrb, omajid, sgehwolf |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-05-09 12:19:33 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Florian Morgan
2016-05-04 09:04:48 UTC
I cannot reproduce this: $ rpm -q java-1.8.0-openjdk-devel java-1.8.0-openjdk-devel-1.8.0.91-2.b14.fc23.x86_64 Using this: import java.security.Security; public class TestSecurityProviders { public static void main(String[] args) { System.out.println(System.getProperty("java.version")); try { Security.removeProvider("SunPKCS11-Solaris"); System.out.println("PASS!"); } catch (Exception e) { System.out.println("Fail!"); } } } It prints: 1.8.0_91 PASS! The stack trace you've provided suggests that it fails to *load* the SunEC provider, which uses system nss native libs. Could you please paste output of the following command on the system where you reproduce this: $ rpm -qa | grep nss-softokn It should output something like this (minus debuginfo packages): nss-softokn-3.23.0-1.0.fc23.x86_64 nss-softokn-devel-3.23.0-1.0.fc23.x86_64 nss-softokn-freebl-devel-3.23.0-1.0.fc23.x86_64 nss-softokn-debuginfo-3.23.0-1.0.fc23.x86_64 nss-softokn-freebl-3.23.0-1.0.fc23.x86_64 This is most likely a duplicate of bug 1332456 I cannot check currently (hollidays). I Will check on Monday. But I guess nss is not installed or it is on a wrong version (bug 1332455). Thanks. (In reply to Florian Morgan from comment #3) > I cannot check currently (hollidays). I Will check on Monday. But I guess > nss is not installed or it is on a wrong version (bug 1332455). > Thanks. Oops I meant bug 1332456 I confirm it's a duplicate of bug 1332456, nss is in version 3.22.2-1.0 in my configuration: $ rpm -qa | grep nss-softokn nss-softokn-freebl-3.22.2-1.0.fc23.x86_64 nss-softokn-3.22.2-1.0.fc23.x86_64 $ rpm -q nss nss-3.22.2-1.0.fc23.x86_64 When I update with "dnf upgrade nss", nss updates to "3.23.0-1.0": $ rpm -qa | grep nss nss-softokn-freebl-3.23.0-1.0.fc23.x86_64 nss-util-3.23.0-1.0.fc23.x86_64 nss-softokn-3.23.0-1.0.fc23.x86_64 nss-3.23.0-1.0.fc23.x86_64 libsss_nss_idmap-1.13.4-2.fc23.x86_64 nss-sysinit-3.23.0-1.0.fc23.x86_64 openssl-libs-1.0.2h-1.fc23.x86_64 nss-tools-3.23.0-1.0.fc23.x86_64 $ rpm -q nss nss-3.23.0-1.0.fc23.x86_64 And then, the problem won't reproduce, the Java program runs fine without error. so it is https://bugzilla.redhat.com/show_bug.cgi?id=1332456 *** This bug has been marked as a duplicate of bug 1332456 *** |