Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Invalid
-
10.2.1.6
-
None
-
None
-
None
-
Linux SLES 9 and WIndows 2003 Server running IBM 1.3.1 JVM: build cxia32131-20060605 (SR10)
Description
Test fails with stack trace in the derby log of:
2006-08-15 21:45:06.825 GMT Thread[main,5,main] (XID = 147), (SESSIONID = 0), (D
ATABASE = wombat), (DRDAID = null), Failed Statement is: insert into t1 values(
?, ?, ?,?)
java.lang.ArrayIndexOutOfBoundsException: 136019356
. . .iapi.types.ReaderToUTF8Stream.fillBuffer(Unk)(Compiled Code)
. . .iapi.types.ReaderToUTF8Stream.read(Unk)
at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:309)
. . .iapi.types.SQLChar.readExternal(Unk)
. . .iapi.types.SQLChar.getString(Unk)(Compiled Code)
. . .iapi.types.SQLVarchar.normalize(Unk)
. . .iapi.types.DataTypeDescriptor.normalize(Unk)
. . .impl.sql.execute.NormalizeResultSet.normalizeRow(Unk)
. . .impl.sql.execute.NormalizeResultSet.getNextRowCore(Unk)
. . .impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unk)
. . .impl.sql.execute.InsertResultSet.open(Unk)
. . .impl.sql.GenericPreparedStatement.execute(Unk)
. . .impl.jdbc.EmbedStatement.executeStatement(Unk)
. . .impl.jdbc.EmbedPreparedStatement.executeStatement(Unk)
. . .impl.jdbc.EmbedPreparedStatement.executeUpdate(Unk)
. . Testing.functionTests.tests.lang.streams.insertLongString(Unk)
. . Testing.functionTests.tests.lang.streams.doWork(Unk)
. . Testing.functionTests.tests.lang.streams.main(Unk)
Cleanup action completed
=== Found similar report from 10.1 testing - Exception differs from the above:
The test lang/streams.java fails with ibm131 jvm
with NullPointerException. There is no stack in test output,
but derby.log has this:
------------------
java.lang.NullPointerException
at
org.apache.derby.impl.jdbc.ReaderToUTF8Stream.fillBuffer(ReaderToUTF8Stream.java(Compiled Code))
org.apache.derby.impl.jdbc.ReaderToUTF8Stream.read(ReaderToUTF8Stream.java)
java.io.DataInputStream.readUnsignedShort(DataInputStream.java:309)
org.apache.derby.iapi.types.SQLChar.readExternal(SQLChar.java)
org.apache.derby.iapi.types.SQLChar.getString(SQLChar.java(Compiled Code))
org.apache.derby.iapi.types.SQLVarchar.normalize(SQLVarchar.java)
org.apache.derby.iapi.types.DataTypeDescriptor.normalize(DataTypeDescriptor.java)
org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(NormalizeResultSet.java)
org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(NormalizeResultSet.java)
org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(DMLWriteResultSet.java)
org.apache.derby.impl.sql.execute.InsertResultSet.open(InsertResultSet.java)
org.apache.derby.impl.sql.GenericPreparedStatement.execute(GenericPreparedStatement.java)
org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java)
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(EmbedPreparedStatement.java)
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(EmbedPreparedStatement.java)
org.apache.derbyTesting.functionTests.tests.lang.streams.insertLongString(streams.java)
org.apache.derbyTesting.functionTests.tests.lang.streams.doWork(streams.java)
org.apache.derbyTesting.functionTests.tests.lang.streams.main(streams.java)
------------------