IBM Support

IJ00181: NULLPOINTEREXCEPTION THROWN WHILE GETTING PACKAGE LOCATION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: NullPointerException thrown while executing
    java.lang.Package.getPackages().
    .
    Stack Trace: at java.io.File.<init>(File.java)
    at java.lang.Package$1.run(Package.java)
    at java.lang.Package$1.run(Package.java)
    at
    java.security.AccessController.doPrivileged(AccessController.jav
    a)
    at java.lang.Package.defineSystemPackage(Package.java)
    at java.lang.Package.getSystemPackages(Package.java)
    at java.lang.VMAccess.getSystemPackages(VMAccess.java)
    at
    com.ibm.oti.vm.BootstrapClassLoader.getPackages(BootstrapClassLo
    ader.java)
    at java.lang.ClassLoader.getPackages(ClassLoader.java)
    at java.lang.ClassLoader.getPackages(ClassLoader.java)
    at java.lang.Package.getPackages(Package.java)
    .
    N/A
    

Local fix

  • N/A
    

Problem summary

  • While retrieving package information, a NullPointerException is
    thrown. Some generated classes don't have location data and a
    NullPointerException occurs attempting to use the non-existent
    location data to register package location.
    

Problem conclusion

  • JVM no longer uses generated classes to register package
    location. This resolves the NullPointerException.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR5       (8.0.5.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

    IJ00181

  • 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

    2017-09-20

  • Closed date

    2017-09-20

  • Last modified date

    2017-09-30

  • 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