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 "Andrew McIntyre (JIRA)" <de...@db.apache.org> on 2006/04/24 22:42:11 UTC

[jira] Closed: (DERBY-757) java.lang.NullPointerException can occur while scanning for global id in the transaction table under heavey load.

     [ http://issues.apache.org/jira/browse/DERBY-757?page=all ]
     
Andrew McIntyre closed DERBY-757:
---------------------------------

    Fix Version: 10.1.3.0
     Resolution: Fixed

> java.lang.NullPointerException can occur  while scanning for  global id  in the transaction table  under heavey load.
> ---------------------------------------------------------------------------------------------------------------------
>
>          Key: DERBY-757
>          URL: http://issues.apache.org/jira/browse/DERBY-757
>      Project: Derby
>         Type: Bug

>   Components: Store
>     Versions: 10.2.0.0, 10.1.3.0, 10.1.2.2, 10.0.2.2
>     Reporter: Suresh Thalamati
>     Assignee: Mike Matrigali
>      Fix For: 10.2.0.0, 10.1.2.2, 10.1.3.0

>
> TransactonTable.java:
> public ContextManager findTransactionContextByGlobalId(
> ....
>        if (entry.getGid() != null && 
> 					entry.getGid().equals(global_id))
> ---
> }
> In the above code  gid in the  entry can get set to null , if  the transaction the entry referes to is  committed. 
> So second part of the above condition can get a NPE. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira