[concurrency-interest] NullPointerException inThreadLocal$ThreadLocalMap.replaceStaleEntry

Bharath Ganesh bharath at pramati.com
Fri Jun 30 07:23:38 EDT 2006

The java version used was 

java version "1.4.2_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_11-b06)
Java HotSpot(TM) Client VM (build 1.4.2_11-b06, mixed mode)

  ----- Original Message ----- 
  From: Joe Bowbeer 
  To: concurrency-interest at cs.oswego.edu 
  Sent: Friday, June 30, 2006 4:11 PM
  Subject: Re: [concurrency-interest] NullPointerException inThreadLocal$ThreadLocalMap.replaceStaleEntry

  On 6/30/06, Raj <qweries at gmail.com> wrote:
  > Hi we have been facing an NPE on an off. The stack trace looks like:
  > java.lang.NullPointerException
  >         at java.lang.ThreadLocal$ThreadLocalMap$Entry.access$502(ThreadLocal.java:229)
  >         at java.lang.ThreadLocal$ThreadLocalMap.replaceStaleEntry(ThreadLocal.java:509)
  >         at java.lang.ThreadLocal$ThreadLocalMap.getAfterMiss(ThreadLocal.java:362)
  >         at java.lang.ThreadLocal$ThreadLocalMap.get(ThreadLocal.java:341)
  >         at java.lang.ThreadLocal$ThreadLocalMap.access$000(ThreadLocal.java:219)
  >         at java.lang.ThreadLocal.get(ThreadLocal.java:121)
  > *snip*
  > This issue has been reported by some elsewhere:
  > http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?message=13741787&cat=10&thread=90185&treeDisplayType=threadmode1&forum=176#13741787.
  > However, no solution/analysis of the cause has been posted.
  > The problem occurs sporadicaly and we are having trouble to simulate
  > the problem. Would appreciate any help in trying to narrow down the
  > problem.
  > Thanks,
  > Raj

  Which version and build of the VM are you using?  (java -version)
  Concurrency-interest mailing list
  Concurrency-interest at altair.cs.oswego.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/attachments/20060630/af6f7f8d/attachment.html 

More information about the Concurrency-interest mailing list