IBM Support

IZ69168: CLASS.GETCLASSLOADER() MAY RETURN NULL IN SOME SITUATIONS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • JCC is attempting to load a class using the ClassLoader that
    loaded JCC.  JCC gets a handle to this classloader via
    
    class.getClassLoader()
    
    However, this may return null in some implementations if
    ClassLoader is the bootstrap classloader.
    

Local fix

  • A possible workaround would be to place the db2jcc.jar in the
    classpath such that it does not get picked up by the bootstrap
    classloader, but perhaps the system classloader as is usually
    the case.
    

Problem summary

  • CLASS.GETCLASSLOADER() MAY RETURN NULL IN SOME SITUATIONS
    

Problem conclusion

  • First fixed in DB2 version 9.5 fix pack 6
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ69168

  • Reported component name

    DB2 UDB ESE AIX

  • Reported component ID

    5765F4100

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-02-02

  • Closed date

    2010-08-31

  • Last modified date

    2010-08-31

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

    IC66011

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

Fix information

  • Fixed component name

    DB2 UDB ESE AIX

  • Fixed component ID

    5765F4100

Applicable component levels

  • R950 PSY

       UP

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"950"}]

Document Information

Modified date:
06 October 2021