[Opensymphony-oscache] flushing non existing group
nospor <[email protected]> Thu, 28 Jul 2005 04:50:55 CDT
| Newsgroups | gmane.comp.java.open-symphony.os-cache |
|---|---|
| Message-ID | <29408075.1122544285418.JavaMail.os-j2ee@opensymphony01.contegix.com> |
When I flush gruop from cache(flushGroup(groupName)), and this group is not in cache, I get exception: java.lang.NullPointerException at java.util.HashSet.<init>(HashSet.java:99) at com.opensymphony.oscache.base.algorithm.AbstractConcurrentReadCache.getGroupForReading(AbstractConcurrentReadCache.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) What Can I do? I don't want to use try section. --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=4768&messageID=11535#11535