db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew McIntyre (JIRA)" <derby-...@db.apache.org>
Subject [jira] Reopened: (DERBY-757) java.lang.NullPointerException can occur while scanning for global id in the transaction table under heavey load.
Date Mon, 24 Apr 2006 20:36:32 GMT
     [ http://issues.apache.org/jira/browse/DERBY-757?page=all ]
     
Andrew McIntyre reopened DERBY-757:
-----------------------------------


> 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

>
> 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


Mime
View raw message