You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-users@jakarta.apache.org by Youngho Cho <yo...@nannet.co.kr> on 2005/08/08 02:21:41 UTC

Some Error Problem with Leteral Cache

Hello Aaron,
So far I am tring to use Torque with JCS Leteral Cache. But couldn't success.

I got the following error.
Would you explain what is the error mean in JCS ?
( looks like the torque MethodCacheKey tried to get hashCode and it make NPE. 
  My om and manager object has some problem for using cache update I think )

2005-08-08 08:53:13,690 [Thread-5] INFO  org.apache.jcs.auxiliary.lateral.LateralCacheMonitor - Lateral Cache No Wait not in error
2005-08-08 08:53:43,039 [Thread-44] ERROR org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPListener - Unexpected exception. Closing conneciton
java.lang.NullPointerException
 at org.apache.torque.manager.MethodCacheKey.hashCode(MethodCacheKey.java:216)
 at org.apache.jcs.engine.control.group.GroupAttrName.hashCode(GroupAttrName.java:77)
 at java.util.Hashtable.remove(Hashtable.java:435)
 at org.apache.jcs.engine.memory.lru.LRUMemoryCache.remove(LRUMemoryCache.java:322)
 at org.apache.jcs.engine.control.CompositeCache.remove(CompositeCache.java:704)
 at org.apache.jcs.engine.control.CompositeCache.localRemove(CompositeCache.java:676)
 at org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPListener.handleRemove(LateralTCPListener.java:218)
 at org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPListener$ConnectionHandler.handle(LateralTCPListener.java:464)
 at org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPListener$ConnectionHandler.run(LateralTCPListener.java:418)
 at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:728)
 at java.lang.Thread.run(Thread.java:534)


Any comment will be very appricated.

Thanks.

Youngho