db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dag.wan...@oracle.com (Dag H. Wanvik)
Subject Re: [jira] [Created] (DERBY-5344) Enable updateClob2 test in LobLimitsTest (was LobLimits.java)
Date Tue, 26 Jul 2011 13:11:58 GMT

I saw this NPE error just now running with my patch for derby-5333 which
I believe is unrelated. Is it known or should I file an issue for it?  I
believe this test was just checked in(?)

Thanks,
Dag

Test results:

------------------ Java Information ------------------
Java Version:    1.7.0
Java Vendor:     Oracle Corporation
Java home:       /usr/local/java/jdk1.7.0/jre
Java classpath:  /export/home/tmp/derby/sb/sb1/classes:/usr/local/share/java/db2jcc/lib/db2jcc.jar:/usr/local/share/java/db2jcc/lib/db2jcc_license_c.jar:/export/home/tmp/derby/sb/sb1/tools/java/jakarta-oro-2.0.8.jar:/export/home/tmp/derby/sb/sb1/tools/java/jdbc2_0-stdext.jar:/export/home/tmp/derby/sb/sb1/tools/java/junit.jar:/export/home/tmp/derby/sb/sb1/tools/java/jce1_2_2.jar:/export/home/tmp/derby/sb/sb1/tools/java/xalan.jar:/export/home/tmp/derby/sb/sb1/tools/java/serializer.jar:/export/home/tmp/derby/sb/sb1/tools/java/xercesImpl.jar
OS name:         SunOS
OS architecture: x86
OS version:      5.11
Java user name:  dw136774
Java user home:  /home/dw136774
Java user dir:   /export/home/tmp/derby/sb/tests/derby-5333a-org.apache.derbyTesting.functionTests.suites.All-sb.sb1.classes-1.7.0-3319
java.specification.name: Java Platform API Specification
java.specification.version: 1.7
java.runtime.version: 1.7.0-b147
--------- Derby Information --------
JRE - JDBC: Java SE 6 - JDBC 4.0
[/export/home/tmp/derby/sb/sb1/classes] 10.9.0.0 alpha - (1148573M)
------------------------------------------------------
----------------- Locale Information -----------------
Current Locale :  [English/United States [en_US]]
Found support for locale: [cs]
	 version: 10.9.0.0 alpha - (1148573M)
Found support for locale: [de_DE]
	 version: 10.9.0.0 alpha - (1148573M)
Found support for locale: [es]
	 version: 10.9.0.0 alpha - (1148573M)
Found support for locale: [fr]
	 version: 10.9.0.0 alpha - (1148573M)
Found support for locale: [hu]
	 version: 10.9.0.0 alpha - (1148573M)
Found support for locale: [it]
	 version: 10.9.0.0 alpha - (1148573M)
Found support for locale: [ja_JP]
	 version: 10.9.0.0 alpha - (1148573M)
Found support for locale: [ko_KR]
	 version: 10.9.0.0 alpha - (1148573M)
Found support for locale: [pl]
	 version: 10.9.0.0 alpha - (1148573M)
Found support for locale: [pt_BR]
	 version: 10.9.0.0 alpha - (1148573M)
Found support for locale: [ru]
	 version: 10.9.0.0 alpha - (1148573M)
Found support for locale: [zh_CN]
	 version: 10.9.0.0 alpha - (1148573M)
Found support for locale: [zh_TW]
	 version: 10.9.0.0 alpha - (1148573M)
------------------------------------------------------
java -XX:-UseVMInterruptibleIO -client -Xms128M -Xmx512M -XX:MaxPermSize=192m -DderbyTesting.oldReleasePath=/usr/local/share/java/derby/lib-debug
junit.textui.TestRunner org.apache.derbyTesting.functionTests.suites.All
ALARM: Non-existing location for jar files: '/usr/local/share/java/derby/lib-debug/10.8.1.2'.
Upgrade tests can NOT be run!
.........................................
.........................................
:
.........................................
.........................................
.......E.....E...E
Time: 18,784.044
There were 3 errors:
1) testClobNegative(org.apache.derbyTesting.functionTests.tests.largedata.LobLimitsTest)java.lang.NullPointerException
	at org.apache.derbyTesting.functionTests.tests.largedata.LobLimitsTest.insertClob2(LobLimitsTest.java:1004)
	at org.apache.derbyTesting.functionTests.tests.largedata.LobLimitsTest.negativeSpaceTruncationTest(LobLimitsTest.java:439)
	at org.apache.derbyTesting.functionTests.tests.largedata.LobLimitsTest.testClobNegative(LobLimitsTest.java:344)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:112)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
2) testClobNegative(org.apache.derbyTesting.functionTests.tests.largedata.LobLimitsTest)java.lang.NullPointerException
	at org.apache.derbyTesting.functionTests.tests.largedata.LobLimitsTest.insertClob2(LobLimitsTest.java:1004)
	at org.apache.derbyTesting.functionTests.tests.largedata.LobLimitsTest.negativeSpaceTruncationTest(LobLimitsTest.java:439)
	at org.apache.derbyTesting.functionTests.tests.largedata.LobLimitsTest.testClobNegative(LobLimitsTest.java:344)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:112)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
3) testBlob(org.apache.derbyTesting.functionTests.tests.largedata.LobLimitsTest)java.sql.SQLIntegrityConstraintViolationException:
The statement was aborted because it would have caused a duplicate key value in a unique or
primary key constraint or unique index identified by 'SQL110726053950360' defined on 'BLOBTBL'.
	at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:75)
	at org.apache.derby.client.am.SqlException.getSQLException(SqlException.java:358)
	at org.apache.derby.client.am.PreparedStatement.executeUpdate(PreparedStatement.java:412)
	at org.apache.derbyTesting.functionTests.tests.largedata.LobLimitsTest.insertBlob_SetBinaryStream(LobLimitsTest.java:484)
	at org.apache.derbyTesting.functionTests.tests.largedata.LobLimitsTest.testBlob(LobLimitsTest.java:164)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:112)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
Caused by: org.apache.derby.client.am.SqlException: The statement was aborted because it would
have caused a duplicate key value in a unique or primary key constraint or unique index identified
by 'SQL110726053950360' defined on 'BLOBTBL'.
	at org.apache.derby.client.am.Statement.completeExecute(Statement.java:1604)
	at org.apache.derby.client.net.NetStatementReply.parseEXCSQLSTTreply(NetStatementReply.java:322)
	at org.apache.derby.client.net.NetStatementReply.readExecute(NetStatementReply.java:71)
	at org.apache.derby.client.net.StatementReply.readExecute(StatementReply.java:55)
	at org.apache.derby.client.net.NetPreparedStatement.readExecute_(NetPreparedStatement.java:185)
	at org.apache.derby.client.am.PreparedStatement.readExecute(PreparedStatement.java:1810)
	at org.apache.derby.client.am.PreparedStatement.flowExecute(PreparedStatement.java:2107)
	at org.apache.derby.client.am.PreparedStatement.executeUpdateX(PreparedStatement.java:417)
	at org.apache.derby.client.am.PreparedStatement.executeUpdate(PreparedStatement.java:403)
	... 40 more

FAILURES!!!
Tests run: 14160,  Failures: 0,  Errors: 3


Mime
View raw message