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

Mike Matrigali reassigned DERBY-3244:
-------------------------------------

    Assignee: Mike Matrigali

> NullPointerException in ....B2IRowLocking3.searchLeftAndLockPreviousKey
> -----------------------------------------------------------------------
>
>                 Key: DERBY-3244
>                 URL: https://issues.apache.org/jira/browse/DERBY-3244
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.3.1.5, 10.4.0.0
>         Environment: All ?
>            Reporter: Ole Solberg
>            Assignee: Mike Matrigali
>
> The last week(48) we have seen a large number of this failure.
> It was categorized as DERBY-2589 but these instances all have the NPE.
> Exception while trying to insert row number: 52
> ERROR XJ001: Java exception: ': java.lang.NullPointerException'.
> java.sql.SQLException: Java exception: ': java.lang.NullPointerException'.
>       at 
> org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
>       at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
>       at org.apache.derby.impl.jdbc.Util.javaException(Unknown Source)
>       at 
> org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown 
> Source)
>       at 
> org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown 
> Source)
>       at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown 
> Source)
>       at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown 
> Source)
>       at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown 
> Source)
>       at 
> org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown 
> Source)
>       at org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown 
> Source)
>       at 
> org.apache.derbyTesting.functionTests.tests.store.OnlineCompressTest.createAndLoadTable(OnlineCompressTest.java:140)
>       at 
> org.apache.derbyTesting.functionTests.tests.store.OnlineCompressTest.deleteAllRows(OnlineCompressTest.java:494)
>       at 
> org.apache.derbyTesting.functionTests.tests.store.OnlineCompressTest.test1(OnlineCompressTest.java:913)
>       at 
> org.apache.derbyTesting.functionTests.tests.store.OnlineCompressTest.testList(OnlineCompressTest.java:1500)
>       at 
> org.apache.derbyTesting.functionTests.tests.store.OnlineCompressTest.main(OnlineCompressTest.java:1520)
> Caused by: java.lang.NullPointerException
>       at 
> org.apache.derby.impl.store.access.btree.index.B2IRowLocking3.searchLeftAndLockPreviousKey(Unknown
>  Source)
>       at 
> org.apache.derby.impl.store.access.btree.index.B2IRowLocking3.lockNonScanPreviousRow(Unknown
>  Source)
>       at 
> org.apache.derby.impl.store.access.btree.BTreeController.doIns(Unknown Source)
>       at 
> org.apache.derby.impl.store.access.btree.BTreeController.insert(Unknown 
> Source)
>       at 
> org.apache.derby.impl.store.access.btree.index.B2IController.insert(Unknown 
> Source)
>       at 
> org.apache.derby.impl.sql.execute.IndexChanger.insertAndCheckDups(Unknown 
> Source)
>       at org.apache.derby.impl.sql.execute.IndexChanger.doInsert(Unknown 
> Source)
>       at org.apache.derby.impl.sql.execute.IndexChanger.insert(Unknown Source)
>       at org.apache.derby.impl.sql.execute.IndexSetChanger.insert(Unknown 
> Source)
>       at org.apache.derby.impl.sql.execute.RowChangerImpl.insertRow(Unknown 
> Source)
>       at 
> org.apache.derby.impl.sql.execute.InsertResultSet.normalInsertCore(Unknown 
> Source)
>       at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown 
> Source)
>       at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown 
> Source)
>       ... 8 more
> The error statistics shows the occurrences:
> (http://dbtg.thresher.com/derby/test/stats_today.html / 
> http://dbtg.thresher.com/derby/test/stats_newest.html )
> http://dbtg.thresher.com/derby/test/statistics/2589_48.html :
> JIRA: 2589, Week: 48 600335-598009
> 598009 Daily jvm1.4 vista
> 598009 Daily jvm1.6 lin
> 598341 Daily jvm1.6 solN+1
> 598341 Daily jvm1.6 sparc
> 598354 10.3Branch jvm1.5 lin
> 598376 trunk16 jvmAll JDK16Jvm1.5SunOS-5.10_i86pc-i386
> 598692 Daily jvm1.6 sol
> 598729 trunk16 jvmAll JDK16Jvm1.6SunOS-5.10_i86pc-i386
> 599062 Daily jvm1.5 lin
> 599088 trunk15 jvm1.5 SunOS-5.10_i86pc-i386
> 599088 trunk15 jvm1.5 SunOS-5.10_sun4u-sparc
> 599088 trunk16 jvmAll JDK16Jvm1.5SunOS-5.10_i86pc-i386
> 600335 Daily jvm1.4 lin
> Mon Dec 3 09:36:11 CET 2007
> http://dbtg.thresher.com/derby/test/statistics/2589_47.html seems to be the 
> first occurence:
> JIRA: 2589, Week: 47 597885-597885
> 597885 Daily jvm1.6 lin
> Mon Dec 3 09:36:13 CET 2007
> All are seen on trunk except one on the 10.3 branch (598354 10.3Branch jvm1.5 
> lin).

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

Reply via email to