[infinispan-issues] [JBoss JIRA] Created: (ISPN-401) NPE in CacheStoreInterceptor

Phil vd (JIRA) jira-events at lists.jboss.org
Thu Apr 15 06:48:26 EDT 2010


NPE in CacheStoreInterceptor
----------------------------

                 Key: ISPN-401
                 URL: https://jira.jboss.org/jira/browse/ISPN-401
             Project: Infinispan
          Issue Type: Bug
          Components: Transactions
    Affects Versions: 4.1.0.ALPHA2
            Reporter: Phil vd
            Assignee: Manik Surtani
            Priority: Blocker


in CacheStoreIntercetor.prepareCacheLoader we check if the modification list is empty (line 240) without first verifying that it is not null.
The fix is simple, simply call transactionContext.hasModifications() instead. 



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

        


More information about the infinispan-issues mailing list