db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristian Waagan <Kristian.Waa...@Sun.COM>
Subject Re: 1 Failure when I run jdbcapi._Suite
Date Thu, 15 Mar 2007 13:05:17 GMT
V Narayanan wrote:
> Hi,
> 
> I get the following error when I do
> 
> java junit.textui.TestRunner 
> org.apache.derbyTesting.functionTests.tests.jdbcapi._Suite
> 
> 1) 
> prepStmtMetaData(org.apache.derbyTesting.functionTests.tests.jdbcapi.JDBCHarnessJavaTest)java.lang.ClassNotFoundException:

> org.apache.derbyTesting.functionTests.tests.jdbcapi.prepStmtMetaData
>    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>    at java.security.AccessController.doPrivileged(Native Method)
>    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
>    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>    at java.lang.Class.forName0(Native Method)
>    at java.lang.Class.forName(Class.java:169)
>    at 
> org.apache.derbyTesting.functionTests.util.HarnessJavaTest.runTest(HarnessJavaTest.java:82)

> 
>    at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:80)
>    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 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 junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
>    at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
>    at junit.extensions.TestSetup.run(TestSetup.java:23)
> 
> I think prepStmtMetaData.java needs to be removed from  
> jdbcapi/JDBCHarnessJavaTest ( JDBCAPI_TESTS_EMEBDDED line no 95)

Thank for letting us know Narayanan. I also see that it is reported by 
the tinderbox test.

Fixed with revision 518618. JDBCHarnessJavaTest ran without failures.


-- 
Kristian

> 
> thanx,
> Narayanan.


Mime
View raw message