jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Estefano Eduardo" <eduardo.estef...@siemens.com>
Subject AbstractDiskCache NullPointerException
Date Mon, 02 Feb 2004 12:51:23 GMT
Hi everyone. I'm getting this exception and don't know how to
investigate it. I don't think I have the logging setup correctly because
I don't see a stacktrace anywhere.

[2/2/04 13:17:53:472 CET] 62318542 AbstractDiskC E
org.apache.jcs.auxiliary.disk.AbstractDiskCache
java.lang.NullPointerException


The error happends 20min after I populate the cache. Here is the
diskcache config:
jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheF
actory
jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.Indexe
dDiskCacheAttributes
jcs.auxiliary.DC.attributes.DiskPath=d:\\projects\\mirostaticweb\\jcscac
he

Here is the cache region that I think is causing the error. I don't know
for sure but I suspect because is the only one that is using
MemoryShrinker. I suspect it is because nothing was written to the cache
when the shrinker thread ran.

jcs.region.customerCache=DC
jcs.region.customerCache.cacheattributes=org.apache.jcs.engine.Composite
CacheAttributes
jcs.region.customerCache.cacheattributes.MaxObjects=5000
jcs.region.customerCache.cacheattributes.MemoryCacheName=org.apache.jcs.
engine.memory.lru.LRUMemoryCache
jcs.region.customerCache.cacheattributes.UseMemoryShrinker=true
jcs.region.customerCache.cacheattributes.MaxMemoryIdleTimeSeconds=1800
jcs.region.customerCache.cacheattributes.ShrinkerIntervalSeconds=1800
jcs.region.customerCache.elementattributes=org.apache.jcs.engine.Element
Attributes
jcs.region.customerCache.elementattributes.IsEternal=false
jcs.region.customerCache.elementattributes.MaxLifeSeconds=3600
jcs.region.customerCache.elementattributes.IdleTime=1800
jcs.region.customerCache.elementattributes.IsSpool=true
jcs.region.customerCache.elementattributes.IsRemote=false
jcs.region.customerCache.elementattributes.IsLateral=false

Does anyone have a similar problem? Is this a bug? Nothing to worry
about?
Also, does anyone know anything about how to configure the loggigng
correctly? I use log4j in the application.

Thanks in advance.

Eduardo

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message