[Opensymphony-oscache] problem with v2.1.1java.lang.NullPointerException at java.util.HashSet...

jason <[email protected]> Mon, 25 Jul 2005 06:28:11 CDT
Newsgroups gmane.comp.java.open-symphony.os-cache
Message-ID <13505382.1122290921367.JavaMail.os-j2ee@opensymphony01.contegix.com>
the latest version (2.1.1) of OSCache throws this error in my code now when I try to call with something like this

private static GeneralCacheAdministrator cacheAdmin=Cache.getInstance();
cacheAdmin.flushGroup("none");

running on debian linux, tomcat 5.5.9
it works fine with OSCache v2.0.2
but with oscache v2.11 throws the following.
any thoughts? 

25 Jul 2005 10:29:47,226 ERROR http-80-Processor21 manifest.server.CacheManager - Could not flush cache for group none
 java.lang.NullPointerException
        at java.util.HashSet.<init>(HashSet.java:99)
        at com.opensymphony.oscache.base.algorithm.AbstractConcurrentReadCache.getGroupForReading(AbstractConcurrentReadCach
e.java:954)
        at com.opensymphony.oscache.base.algorithm.AbstractConcurrentReadCache.getGroup(AbstractConcurrentReadCache.java:372
)
        at com.opensymphony.oscache.base.Cache.flushGroup(Cache.java:447)
        at com.opensymphony.oscache.base.Cache.flushGroup(Cache.java:434)
        at com.opensymphony.oscache.general.GeneralCacheAdministrator.flushGroup(GeneralCacheAdministrator.java:217)

---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=4663&messageID=11316#11316