I'll look into it.  I'm currently working on a project using websphere
4.? Jdk1.3.? on z/os and it seems to work fine.  Let me think about it.
Have you tried to modify it and run your patched version?

Aaron

> -----Original Message-----
> From: Scott Jarvi [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 18, 2004 2:40 PM
> To: [EMAIL PROTECTED]
> Subject: Problem with JCS and IBM JVM (1.4.1)
> 
> Hi,
> 
> We are using JCS and our applications are deployed on Websphere 5.1,
which
> is using 1.4.1 of the IBM JDK.  When calling the remove() method, I
get
> the
> following NullPointer:
> 
> at
>
org.apache.jcs.engine.memory.lru.LRUMemoryCache.removeNode(LRUMemoryCach
e.
> java:385)
>       at
>
org.apache.jcs.engine.memory.lru.LRUMemoryCache.remove(LRUMemoryCache.ja
va
> :240)
>       at
>
org.apache.jcs.engine.control.CompositeCache.remove(CompositeCache.java:
72
> 7)
>       at
>
org.apache.jcs.engine.control.CompositeCache.remove(CompositeCache.java:
69
> 0)
>       at
org.apache.jcs.access.CacheAccess.remove(CacheAccess.java:373)
> 
> 
> I was able to track down what I *think* is a problem in the order of
> calls.
> In LRUMemoryCache.remove(Serializable), these two lines of code (~line
> 292):
> 
>                         itr.remove();
> 
>                         removeNode( ( MemoryElementDescriptor )
>                             entry.getValue() );
> 
> Same issue with line ~316.
> 
> I think these calls should be swapped.  It seems that the IBM
> implemenation
> of Iterator.remove() behaves slightly differently than Sun's.  Has
anyone
> else experienced this problem?
> 
> Thanks,
> Scott
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to