[
http://jira.jboss.com/jira/browse/JBCACHE-1312?page=all ]
Brian Stansberry updated JBCACHE-1312:
--------------------------------------
Description: 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.api.DestroyedCacheAPITest which excercises the
API with a destroyed cache. Test shows a number of NPEs. (was: 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.)
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.1.1.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.api.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