Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-589

org.jboss.test.security.test.HttpsUnitTestCase failing with the IBM jvm

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.3.0.GA, 4.2.0.GA_CP02
    • None
    • None
    • RHEL4 x86 IBM1.5

      The class org.jboss.test.util.SecurityProviderUtil is imported to org.jboss.test.security.test.HttpsUnitTestCase and then a static method is called on it, but then a NullPointerException is thrown. The org/jboss/test/util/SecurityProviderUtil.java is obviously missing. It can be either just a mistake or there was a reason for removing it (however it IS in JBoss AS 5 testsuite source).

      The error I'm getting:
      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:172)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
      at junit.extensions.TestSetup.run(TestSetup.java:25)

      I wonder why the other JDKs don't complain about it, only IBM does.

      Update: The SecurityProviderUtil.java is actually contained in jboss-test.jar.

            exd-mmalina Martin Malina
            exd-mmalina Martin Malina
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: