[
https://jira.jboss.org/jira/browse/JBAS-6967?page=com.atlassian.jira.plug...
]
Shelly McGowan updated JBAS-6967:
---------------------------------
This has been fixed in the JBPAPP_5_0 branch, rev 90367. Need to commit to Branch_5_x and
trunk.
org.jboss.test.security.test.HttpsUnitTestCase failing with IBM JDK
-------------------------------------------------------------------
Key: JBAS-6967
URL:
https://jira.jboss.org/jira/browse/JBAS-6967
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Test Suite
Affects Versions: JBossAS-5.1.0.CR1
Environment: IBM JDK 1.5 & 1.6
Reporter: Martin Malina
Assignee: Shelly McGowan
Attachments:
TEST-org.jboss.test.security.test.HttpsUnitTestCase-tests-security-basic-unit.xml
When running the AS testsuite, this test case shows an error:
org.jboss.test.security.test.HttpsUnitTestCase
The error message is:
unknown Error N/A
java.lang.NullPointerException
at java.security.Security.insertProviderAt(Security.java:357)
at java.security.Security.addProvider(Security.java:406)
at org.jboss.test.security.test.HttpsUnitTestCase$1.setUp(HttpsUnitTestCase.java:171)
at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
at junit.extensions.TestSetup.run(TestSetup.java:25)
When you look in the source code, this is the line where it fails:
Security.addProvider(SecurityProviderUtil.getJSSEProvider());
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira