You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Mike Matrigali (JIRA)" <ji...@apache.org> on 2007/05/11 06:49:15 UTC

[jira] Resolved: (DERBY-2141) BlobClob4BlobTest.testPositionBlob() fails with NullPointerException

     [ 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: 10.3.0.0

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.

description:
DERBY-2141

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: 10.3.0.0
>         Environment: Java SE 6, Java SE 5.0 (less frequently). Linux and Solaris.
>            Reporter: Knut Anders Hatlen
>         Assigned To: Mike Matrigali
>             Fix For: 10.3.0.0
>
>         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.