Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9ACF04E21 for ; Tue, 5 Jul 2011 10:14:02 +0000 (UTC) Received: (qmail 32081 invoked by uid 500); 5 Jul 2011 10:14:01 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 31734 invoked by uid 500); 5 Jul 2011 10:13:54 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 31444 invoked by uid 99); 5 Jul 2011 10:13:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 10:13:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 10:13:38 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 135A24346E for ; Tue, 5 Jul 2011 10:13:17 +0000 (UTC) Date: Tue, 5 Jul 2011 10:13:17 +0000 (UTC) From: "Kristian Waagan (JIRA)" To: derby-dev@db.apache.org Message-ID: <84057770.156.1309860797076.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1571885738.25788.1308684108099.JavaMail.tomcat@hel.zones.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) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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