[jboss-jira] [JBoss JIRA] Updated: (JBCACHE-1312) NPE from Cache methods after destroy() is called

Manik Surtani (JIRA) jira-events at lists.jboss.org
Wed Mar 26 14:09:04 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBCACHE-1312?page=all ]

Manik Surtani updated JBCACHE-1312:
-----------------------------------

    Fix Version/s: 2.2.0.GA
       Complexity: Low

> NPE from Cache methods after destroy() is called
> ------------------------------------------------
>
>                 Key: JBCACHE-1312
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-1312
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.1.0.GA
>            Reporter: Brian Stansberry
>         Assigned To: Manik Surtani
>            Priority: Minor
>             Fix For: 2.2.0.GA
>
>
> I wrote a bad AS unit test that called destroy() in the wrong place and then called Cache.getLocalAddress().  Got an NPE.  My test was no good, but an NPE is always a bug. Added test org.jboss.cache.DestroyedCacheAPITest which excercises the API with a destroyed cache.  Test shows a number of NPEs.

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

        



More information about the jboss-jira mailing list