Uploaded image for project: '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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.0.0.M1
    • JBossAS-5.1.0.CR1
    • Test Suite
    • None
    • IBM JDK 1.5 & 1.6

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

              smcgowan@redhat.com Shelly McGowan (Inactive)
              exd-mmalina Martin Malina
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: