The OSCacheController is very simple.  You may want to check it out and verify that it uses OSCache properly for the latest version.  We really only support the tested version (i.e. not the latest). This is on our TO-DO list, but you can help by figuring this out.  :-)

Cheers,
Clinton

On 9/13/05, Steven Pannell <[EMAIL PROTECTED]> wrote:
Hi,

Sometimes when make a SQL call I get a nullpointerException like:

java.lang.NullPointerException
        java.util.HashSet.<init>(HashSet.java:99)

com.opensymphony.oscache.base.algorithm.AbstractConcurrentReadCache.getGroup
ForReading(AbstractConcurrentReadCache.java:954)

com.opensymphony.oscache.base.algorithm.AbstractConcurrentReadCache.getGroup
(AbstractConcurrentReadCache.java:372)
        com.opensymphony.oscache.base.Cache.flushGroup (Cache.java:447)
        com.opensymphony.oscache.base.Cache.flushGroup(Cache.java:434)

com.opensymphony.oscache.general.GeneralCacheAdministrator.flushGroup(Genera
lCacheAdministrator.java:217)

com.ibatis.sqlmap.engine.cache.oscache.OSCacheController.flush (Unknown
Source)
        com.ibatis.sqlmap.engine.cache.CacheModel.flush(Unknown Source)
        com.ibatis.sqlmap.engine.cache.CacheModel.getObject(Unknown Source)

com.ibatis.sqlmap.engine.mapping.statement.CachingStatement.executeQueryForO
bject(Unknown Source)

com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(Unknown
Source)

com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(Unknown
Source)

com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForObject(Unknown
Source)

com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForObject(Unknown
Source)
        com.servlets.landing.Servlet.fetchPage(Unknown Source)


I make using the latest version of oscache and ibatis.  Anyone have this
kind of problem using oscache?  Has anyone any suggestions on how I can
resolve it.  Seems that a look is performed and the item not found.

thx.
Steve.


Reply via email to