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

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Sat Mar 22 22:44:44 EDT 2008


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


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