VOOZH about

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

⇱ IJ33272: NPE WHEN LOADING CLASS THAT HASN'T BEEN ADDED TO THE CLASS LOADER HASH TABLE


IJ33272: NPE WHEN LOADING CLASS THAT HASN'T BEEN ADDED TO THE CLASS LOADER HASH TABLE

APAR status

  • Closed as program error.

Error description

  • Error Message: java/lang/NullPointerException received
    .
    Stack Trace: java/io/File.&ltinit&gt(Ljava/lang/String;)V
    java/lang/Package$1.run()Ljava/lang/Package;
    java/lang/Package$1.run()Ljava/lang/Object;
    java/security/AccessController.doPrivileged(Ljava/security/Privi
    legedAction;)Ljava/lang/Object;
    java/lang/Package.defineSystemPackage(Ljava/lang/String;Ljava/la
    ng/String;)Ljava/lang/Package;
    java/lang/Package.getSystemPackages()<OSB>Ljava/lang/Package;
    java/lang/VMAccess.getSystemPackages()<OSB>Ljava/lang/Package;
    com/ibm/oti/vm/BootstrapClassLoader.getPackages()<OSB>Ljava/lang
    /Package;
    java/lang/ClassLoader.getPackages()<OSB>Ljava/lang/Package;
    java/lang/ClassLoader.getPackages()<OSB>Ljava/lang/Package;
    .
    

Local fix

Problem summary

  • Problem is caused when a package ID becomes visible in the
    classloader hash table before the class defining it has been
    added to the table.
    

Problem conclusion

  • Ensure that both the package ID and the class defining it are in
    the classloader hash table, or that neither are.
    .
    This APAR will be fixed in the following Java Releases:
     8 SR7 FP0 (8.0.7.0)
    .
    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

    IJ33272

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-06-16

  • Closed date

    2021-06-25

  • Last modified date

    2021-09-23

  • 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

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

  • R270 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":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022