db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Matrigali (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DERBY-2141) BlobClob4BlobTest.testPositionBlob() fails with NullPointerException
Date Fri, 11 May 2007 04:49:15 GMT

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

Mike Matrigali resolved DERBY-2141.

       Resolution: Fixed
    Fix Version/s:

I am hoping the following checkin fixes this issue.  I was not actually able to reproduce
the timing on my single processor machine.
If anyone else see's the problem in a codeline build after this checkin please go ahead and
reopen the issue.


Made BaseContainerHandle.close() synchronized as it may be called concurrently
by a stream passed outside the store and an abort triggered concurrently.
Making it synchronized will allow the first close to do the proper work and
the subsequent calls will just return with no work to do.
Also made some of the fields private to convince myself no-one outside the
class was counting on something being changed during close.

Actual commit:
m1_ibm15:38>svn commit

Sending        java\engine\org\apache\derby\impl\store\raw\data\BaseContainerHandle.java
Sending        java\engine\org\apache\derby\impl\store\raw\data\D_BaseContainerHandle.java
Transmitting file data ..
Committed revision 537091.

> BlobClob4BlobTest.testPositionBlob() fails with NullPointerException
> --------------------------------------------------------------------
>                 Key: DERBY-2141
>                 URL: https://issues.apache.org/jira/browse/DERBY-2141
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure, Store
>    Affects Versions:
>         Environment: Java SE 6, Java SE 5.0 (less frequently). Linux and Solaris.
>            Reporter: Knut Anders Hatlen
>         Assigned To: Mike Matrigali
>             Fix For:
>         Attachments: stacktrace.diff
> Seen in the nightly regression tests:
> http://dbtg.thresher.com/derby/test/Daily/jvm1.6/testing/testlog/lin/481811-org.apache.derbyTesting.functionTests.suites.All_diff.txt
> http://dbtg.thresher.com/derby/test/Daily/jvm1.6/testing/testlog/lin/480626-org.apache.derbyTesting.functionTests.suites.All_diff.txt

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

View raw message