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-3685) weme 6.1 Base connection pooling suitejunit.framework.AssertionFailedError: java.lang.NullPointerException
Date Thu, 22 May 2008 09:35:56 GMT

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

Kristian Waagan updated DERBY-3685:
-----------------------------------

    Attachment: derby-3685-1a-disable_test_javame.diff

'derby-3685-1a-disable_test_javame.diff' disabled the connection pooling tests if we are running
in a JavaME environment.

An alternative fix would be to move the if clause to the suite method, and simply not add
any empty suites.
Patch ready for review.

Tested with PhoneME Advanced. Testing on other ME platforms appreciated.

> weme 6.1 Base connection pooling suitejunit.framework.AssertionFailedError: java.lang.NullPointerException
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3685
>                 URL: https://issues.apache.org/jira/browse/DERBY-3685
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.5.0.0
>            Reporter: Kathey Marsden
>             Fix For: 10.5.0.0
>
>         Attachments: derby-3685-1a-disable_test_javame.diff
>
>
> I saw this failure for the first time with weme 6.1 on trunk on 5/20/2008
> 1) Base connection pooling suitejunit.framework.AssertionFailedError: java.lang.NullPointerException
> 		 at org.apache.derbyTesting.junit.JDBCDataSource.getDataSourceObject(JDBCDataSource.java:176)
> 		 at org.apache.derbyTesting.junit.J2EEDataSource.getConnectionPoolDataSource(J2EEDataSource.java:58)
> 		 at org.apache.derbyTesting.junit.ConnectionPoolDataSourceConnector.setConfiguration(ConnectionPoolDataSourceConnector.java:52)
> 		 at org.apache.derbyTesting.junit.ConnectorSetup.getNewConfiguration(ConnectorSetup.java:49)
> 		 at org.apache.derbyTesting.junit.ChangeConfigurationSetup.setUp(ChangeConfigurationSetup.java:37)
> 		 at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
> 		 at junit.extensions.TestSetup.run(TestSetup.java:23)
> 		 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)
> 		 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)
> 		 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)
> 2) Base connection pooling suitejunit.framework.AssertionFailedError: java.lang.NullPointerException
> 		 at org.apache.derbyTesting.junit.JDBCDataSource.getDataSourceObject(JDBCDataSource.java:176)
> 		 at org.apache.derbyTesting.junit.J2EEDataSource.getXADataSource(J2EEDataSource.java:98)
> 		 at org.apache.derbyTesting.junit.XADataSourceConnector.setConfiguration(XADataSourceConnector.java:50)
> 		 at org.apache.derbyTesting.junit.ConnectorSetup.getNewConfiguration(ConnectorSetup.java:49)
> 		 at org.apache.derbyTesting.junit.ChangeConfigurationSetup.setUp(ChangeConfigurationSetup.java:37)
> 		 at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
> 		 at junit.extensions.TestSetup.run(TestSetup.java:23)
> 		 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)
> 		 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)
> 		 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)
> 3) Base connection pooling suitejunit.framework.AssertionFailedError: java.lang.NullPointerException
> 		 at org.apache.derbyTesting.junit.JDBCDataSource.getDataSourceObject(JDBCDataSource.java:176)
> 		 at org.apache.derbyTesting.junit.J2EEDataSource.getConnectionPoolDataSource(J2EEDataSource.java:58)
> 		 at org.apache.derbyTesting.junit.ConnectionPoolDataSourceConnector.setConfiguration(ConnectionPoolDataSourceConnector.java:52)
> 		 at org.apache.derbyTesting.junit.ConnectorSetup.getNewConfiguration(ConnectorSetup.java:49)
> 		 at org.apache.derbyTesting.junit.ChangeConfigurationSetup.setUp(ChangeConfigurationSetup.java:37)
> 		 at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
> 		 at junit.extensions.TestSetup.run(TestSetup.java:23)
> 4) Base connection pooling suitejunit.framework.AssertionFailedError: java.lang.NullPointerException
> 		 at org.apache.derbyTesting.junit.JDBCDataSource.getDataSourceObject(JDBCDataSource.java:176)
> 		 at org.apache.derbyTesting.junit.J2EEDataSource.getXADataSource(J2EEDataSource.java:98)
> 		 at org.apache.derbyTesting.junit.XADataSourceConnector.setConfiguration(XADataSourceConnector.java:50)
> 		 at org.apache.derbyTesting.junit.ConnectorSetup.getNewConfiguration(ConnectorSetup.java:49)
> 		 at org.apache.derbyTesting.junit.ChangeConfigurationSetup.setUp(ChangeConfigurationSetup.java:37)
> 		 at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
> 		 at junit.extensions.TestSetup.run(TestSetup.java:23)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message