Skip to main content

IZ56666: STACKOVERFLOW IN THREADLOCAL.GET()


Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: Unable to login to Portal
    .
    Stack Trace: <OSB>7/9/09 23:19:54:385 EDT<CSB> 00000047 Servlet
         E com.ibm.wps.engine.Servlet handleException EJPEJ0070E: An
    exception occurr
    ed while processing the request. \
    com.ibm.wps.state.utils.exceptions.ObjectInstantiationException:
    EJPEI0046E: An exception occurred in the object pool \
    com.ibm.wps.state.services.StateManagerServiceObjectPool@44a444a
    4 during object instantiation. \
    at
    com.ibm.wps.util.pool.SimpleObjectPool.get(SimpleObjectPool.java
    :128) \
    at
    com.ibm.wps.util.pool.ObjectPoolWithHysteresis.get(ObjectPoolWit
    hHysteresis.java:132) \
    at
    com.ibm.wps.state.utils.synchronization.WeakThreadLocalCacheImpl
    $WeakThreadLocal.newObject(WeakThreadLocalCacheImpl.java:1
    86) \
    at
    com.ibm.wps.state.utils.synchronization.WeakThreadLocalCacheImpl
    $WeakThreadLocal.initialValue(WeakThreadLocalCacheImpl.jav
    a:175) \
    at
    com.ibm.wps.state.utils.synchronization.WeakThreadLocalCacheImpl
    $WeakThreadLocal.initialValue(WeakThreadLocalCacheImpl.jav
    a:148) \
    at java.lang.ThreadLocal.get(ThreadLocal.java:155) \
    at
    com.ibm.wps.state.utils.synchronization.WeakThreadLocalCacheImpl
    $WeakThreadLocal.set(WeakThreadLocalCacheImpl.java:224) \
    at
    com.ibm.wps.state.utils.synchronization.WeakThreadLocalCacheImpl
    $WeakThreadLocal.set(WeakThreadLocalCacheImpl.java:148) \
    at java.lang.ThreadLocal.get(ThreadLocal.java:156) \
     \
    ..... \
    ..... \
    .
    

Local fix

Problem summary

  • ThreadLocal.get() calls the set() method to set its initial
    value.  If ThreadLocal is subclassed and set() overridden to
    call get() an infinite loop can be generated.
    

Problem conclusion

  • This defect will be fixed in:
    5.0.0 SR11
    .
    ThreadLocal.get() has been modified so that it does not call
    set().
    .
    To obtain the fix:
    Install build 20090724 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ56666

  • Reported component name

    JAVA 5 CLASS LI

  • Reported component ID

    620500130

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-08-10

  • Closed date

    2009-11-20

  • Last modified date

    2009-11-20

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA 5 CLASS LI

  • Fixed component ID

    620500130

Applicable component levels

  • R500 PSN

       UP

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Runtimes for Java Technology

Java Class Libraries


Software version:
5.0


Reference #:
IZ56666


Modified date:
2009-11-20

Translate my page

Content navigation