VOOZH about

URL: https://www.ibm.com/support/pages/apar/IJ32927

⇱ IJ32927: CLASSNOTFOUNDEXCEPTION FROM OBJECTINPUTSTREAM.READOBJECT


IJ32927: CLASSNOTFOUNDEXCEPTION FROM OBJECTINPUTSTREAM.READOBJECT

APAR status

  • Closed as program error.

Error description

  • Error Message: java.lang.ClassNotFoundException
    .
    Stack Trace: Caused by: java.lang.ClassNotFoundException:
     at java.lang.Class.forNameImpl(Native Method)
     at java.lang.Class.forName(Class.java:403)
     at
    java.io.ClassCache$FutureValue.get(ClassCache.java:190)
     at java.io.ClassCache.get(ClassCache.java:161)
     at
    java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:79
    1)
     at
    java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.jav
    a:1974)
     at
    java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1
    857)
     at
    java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.j
    ava:2148)
     at
    java.io.ObjectInputStream.readObject0(ObjectInputStream.java:167
    9)
     at
    java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.ja
    va:2393)
     at
    java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:
    2317)
     at
    java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.j
    ava:2175)
     at
    java.io.ObjectInputStream.readObject0(ObjectInputStream.java:167
    9)
     at
    java.io.ObjectInputStream.readObjectImpl(ObjectInputStream.java:
    518)
     at
    java.io.ObjectInputStream.readObject(ObjectInputStream.java:456)
    .
    

Local fix

  • -Dcom.ibm.enableClassCaching=false
    

Problem summary

  • The assumption that the last user defined class loader (LUDCL)
    will not change during a call to readObject()/readUnshared() can
    only be made if user code is not invoked.
    

Problem conclusion

  • Trigger a refresh of the cached LUDCL when a user method is
    invoked.
    .
    This APAR will be fixed in the following Java Releases:
     8 SR6 FP31 (8.0.6.31)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
     https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ32927

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-05-31

  • Closed date

    2021-06-02

  • Last modified date

    2021-06-02

  • 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 CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
22 February 2022