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

NPE in testSemantics(.....lang.RolesTest) on JavaME / CVM

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.5.1.1
    • 10.5.1.1
    • Test
    • None
    • Regression Test Failure

    Description

      See http://dbtg.thresher.com/derby/test/Daily/javaME/testing/testlog/ubuntu/691643-suitesAll_diff.txt

      1) testSemantics(org.apache.derbyTesting.functionTests.tests.lang.RolesTest)junit.framework.AssertionFailedError: java.lang.NullPointerException:
      at org.apache.derbyTesting.junit.JDBCDataSource.getDataSourceObject(Ljava/lang/String;Ljava/util/HashMap;)Ljava/lang/Object;(JDBCDataSource.java:176)
      at org.apache.derbyTesting.junit.J2EEDataSource.getConnectionPoolDataSource(Lorg/apache/derbyTesting/junit/TestConfiguration;Ljava/util/HashMap;)Ljavax/sql/ConnectionPoolDataSource;(J2EEDataSource.java:58)
      at org.apache.derbyTesting.junit.J2EEDataSource.getConnectionPoolDataSource()Ljavax/sql/ConnectionPoolDataSource;(J2EEDataSource.java:42)
      at org.apache.derbyTesting.functionTests.tests.lang.RolesTest.testCurrentRoleIsReset()V(RolesTest.java:711)
      at org.apache.derbyTesting.functionTests.tests.lang.RolesTest.testSemantics()V(RolesTest.java:647)
      at org.apache.derbyTesting.junit.BaseTestCase.runBare()V(BaseTestCase.java:104)
      at junit.extensions.TestDecorator.basicRun(Ljunit/framework/TestResult;)V(TestDecorator.java:24)
      at junit.extensions.TestSetup$1.protect()V(TestSetup.java:21)
      at junit.extensions.TestSetup.run(Ljunit/framework/TestResult;)V(TestSetup.java:25)
      at junit.extensions.TestDecorator.basicRun(Ljunit/framework/TestResult;)V(TestDecorator.java:24)
      at junit.extensions.TestSetup$1.protect()V(TestSetup.java:21)
      at junit.extensions.TestSetup.run(Ljunit/framework/TestResult;)V(TestSetup.java:25)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(Ljunit/framework/TestResult;)V(BaseTestSetup.java:57)
      at junit.extensions.TestDecorator.basicRun(Ljunit/framework/TestResult;)V(TestDecorator.java:24)
      at junit.extensions.TestSetup$1.protect()V(TestSetup.java:21)
      at junit.extensions.TestSetup.run(Ljunit/framework/TestResult;)V(TestSetup.java:25)
      at junit.extensions.TestDecorator.basicRun(Ljunit/framework/TestResult;)V(TestDecorator.java:24)
      at junit.extensions.TestSetup$1.protect()V(TestSetup.java:21)
      at junit.extensions.TestSetup.run(Ljunit/framework/TestResult;)V(TestSetup.java:25)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(Ljunit/framework/TestResult;)V(BaseTestSetup.java:57)
      at junit.extensions.TestDecorator.basicRun(Ljunit/framework/TestResult;)V(TestDecorator.java:24)
      at junit.extensions.TestSetup$1.protect()V(TestSetup.java:21)
      at junit.extensions.TestSetup.run(Ljunit/framework/TestResult;)V(TestSetup.java:25)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(Ljunit/framework/TestResult;)V(BaseTestSetup.java:57)
      at junit.extensions.TestDecorator.basicRun(Ljunit/framework/TestResult;)V(TestDecorator.java:24)
      at junit.extensions.TestSetup$1.protect()V(TestSetup.java:21)
      at junit.extensions.TestSetup.run(Ljunit/framework/TestResult;)V(TestSetup.java:25)
      at junit.extensions.TestDecorator.basicRun(Ljunit/framework/TestResult;)V(TestDecorator.java:24)
      at junit.extensions.TestSetup$1.protect()V(TestSetup.java:21)
      at junit.extensions.TestSetup.run(Ljunit/framework/TestResult;)V(TestSetup.java:25)
      at sun.misc.CVM.runMain()V(CVM.java:514)

      Attachments

        1. derby-3865-1.diff
          0.6 kB
          Dag H. Wanvik
        2. derby-3865-2.diff
          0.5 kB
          Dag H. Wanvik
        3. derby-3865-2.stat
          0.1 kB
          Dag H. Wanvik

        Activity

          People

            dagw Dag H. Wanvik
            olesolberg Ole Solberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: