Application Server 3  4  5 and 6
  1. Application Server 3 4 5 and 6
  2. JBAS-6967

org.jboss.test.security.test.HttpsUnitTestCase failing with IBM JDK

    Details

    • Type: Bug Bug
    • Status: Closed Closed (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: JBossAS-5.1.0.CR1
    • Fix Version/s: 6.0.0.M1
    • Component/s: Test Suite
    • Security Level: Public (Everyone can see)
    • Labels:
      None
    • Environment:
      IBM JDK 1.5 & 1.6
    • Similar Issues:
      Show 10 results 

      Description

      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());

        Activity

        Hide
        Shelly McGowan
        added a comment -

        This has been fixed in the JBPAPP_5_0 branch, rev 90367. Need to commit to Branch_5_x and trunk.

        Show
        Shelly McGowan
        added a comment - This has been fixed in the JBPAPP_5_0 branch, rev 90367. Need to commit to Branch_5_x and trunk.

          People

          • Assignee:
            Shelly McGowan
            Reporter:
            Martin Malina
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: