db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-5291) test failure: NullPointerException with J2ME (weme 6.2) in testDerby4137_TransactionTimeoutSpecifiedNotExceeded(org.apache.derbyTesting.functionTests.tests.memory.XAMemTest)
Date Tue, 05 Jul 2011 10:13:17 GMT

     [ https://issues.apache.org/jira/browse/DERBY-5291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kristian Waagan updated DERBY-5291:
-----------------------------------

    Fix Version/s: 10.8.1.6
                   10.7.1.4
                   10.6.2.3
                   10.5.3.2

Merged fix back to 10.5. See DERBY-4137 for details.

> test failure: NullPointerException with J2ME (weme 6.2) in testDerby4137_TransactionTimeoutSpecifiedNotExceeded(org.apache.derbyTesting.functionTests.tests.memory.XAMemTest)

> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-5291
>                 URL: https://issues.apache.org/jira/browse/DERBY-5291
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.9.0.0
>         Environment: windows XP with weme 6.2 (JSR169, CDC 1.1)
>            Reporter: Myrna van Lunteren
>            Assignee: Knut Anders Hatlen
>             Fix For: 10.5.3.2, 10.6.2.3, 10.7.1.4, 10.8.1.6, 10.9.0.0
>
>         Attachments: skip-test.diff
>
>
> See: http://people.apache.org/~myrnavl/derby_test_results/main/windows/testlog/weme6.2/1136748-suites.All_diff.txt
> (until cleaned up).
> This test started failing after the following three changes were committed:
> -----------------------------------------------------------
> r1136397 | kahatlen | 2011-06-16 05:21:07 -0700 (Thu, 16 Jun 2011) | 3 lines
> DERBY-5239: Remove usages of DriverManager to obtain an Embedded Connection in Derby
Server
> Remove import of DriverManager now that it's not used.
> ------------------------------------------------------------------------
> r1136371 | kahatlen | 2011-06-16 03:54:33 -0700 (Thu, 16 Jun 2011) | 6 lines
> DERBY-5274: getColumns() doesn't work with auto generated identity
> columns that start with large numbers
> Removed hard-coded maximum length for the start value and increment in
> the meta-data query.
> ------------------------------------------------------------------------
> r1136363 | kristwaa | 2011-06-16 03:22:46 -0700 (Thu, 16 Jun 2011) | 10 lines
> DERBY-4137: OOM issue using XA with timeouts 
> Reduce the memory footprint when executing successful XA transactions that
> have a timeout set by nulling out the reference to the XATransactionState
> object in the timer task. The timer task will stay around in the timer queue
> until reaching the scheduled time - even if the task is canceled.
> Added a regression test (run as part of 'ant junit-lowmem').
> Patch file: derby-4137-2a-reduce_memory_footprint.diff
> -----------------------------------------------------------
> The stack trace is like so:
> ---------------------------------------------
> 1) testDerby4137_TransactionTimeoutSpecifiedNotExceeded(org.apache.derbyTesting.functionTests.tests.memory.XAMemTest)junit.framework.AssertionFailedError:
java.lang.NullPointerException
> 	at org.apache.derbyTesting.junit.JDBCDataSource.getDataSourceObject(JDBCDataSource.java:182)
> 	at org.apache.derbyTesting.junit.J2EEDataSource.getXADataSource(J2EEDataSource.java:98)
> 	at org.apache.derbyTesting.junit.J2EEDataSource.getXADataSource(J2EEDataSource.java:69)
> 	at org.apache.derbyTesting.functionTests.tests.memory.XAMemTest.testDerby4137_TransactionTimeoutSpecifiedNotExceeded(XAMemTest.java:65)
> 	at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:195)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:112)
> 	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)
> 	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> Likely this test just needs to not run if (JDBC.vmSupportsJSR169()).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message