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

NoClassDefFoundError failure in SystemPrivilegesPermissionTest for weme6.1

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.5.1.1
    • Fix Version/s: 10.4.1.3, 10.5.1.1
    • Component/s: Test
    • Labels:
      None
    • Bug behavior facts:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: