Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-3548

NoClassDefFoundError failure in SystemPrivilegesPermissionTest for weme6.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.5.1.1
    • 10.4.1.3, 10.5.1.1
    • Test
    • None
    • Regression Test Failure

    Description

      SystemPrivilegesPermissionTest.testSystemPermission failed on weme6.1 at svn # 636947 with a NoClassDefFoundError:

      testSystemPermission(org.apache.derbyTesting.unitTests.junit.SystemPrivilegesPermissionTest)
      java.lang.NoClassDefFoundError: javax.security.auth.Subject
      at ...SystemPrivilegesPermissionTest$RunAsPrivilegedUserAction.run(SystemPrivilegesPermissionTest.java:737)
      at java.security.AccessController.doPrivileged(AccessController.java:191)
      at ...SystemPrivilegesPermissionTest.execute(SystemPrivilegesPermissionTest.java:531)
      at ...SystemPrivilegesPermissionTest.testSystemPermission(SystemPrivilegesPermissionTest.java:318)
      at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205)
      at <unknown class>.<unknown method>(Unknown Source)
      at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:101)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)

      The following lines showed up in sysout or syserr a total of 3 times:

      Parsing policy file:
      jar:file:[...]classes/derbyTesting.jar!/org/apache/derbyTesting/unitTests/junit/SystemPrivilegesPermissionTest.policy,
      found unexpected: principal

      I assume that's related, but do not know for sure...

      Attachments

        Activity

          People

            djd Daniel John Debrunner
            army A B
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: