IBM Support

PM71192: NULLPOINTEREXCEPTION OCCURS WHEN BINDING AN OBJECT FROM THE JVM CLASSLOADER INTO JNDI

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The following exception can occur when attempting to bind an
    object from the JVM classloaders (for example javax.management
    objects that are located in the JDK class libary) into the JNDI
    namespace when using the blueprint feature.
    
    java.lang.NullPointerException
    at
    com.ibm.ws.eba.app.runtime.services.internal.JNDINestedFramework
    Support.findContext(JNDINestedFrameworkSupport.java:79)
    at
    com.ibm.ws.eba.app.runtime.services.internal.JNDINestedFramework
    Support.augmentEnvironment(JNDINestedFrameworkSupport.java:59)
    at
    org.apache.aries.jndi.Utils.augmentEnvironment(Utils.java:209)
    at
    org.apache.aries.jndi.OSGiInitialContextFactoryBuilder.getInitia
    lContext(OSGiInitialContextFactoryBuilder.java:42)
    at
    javax.naming.spi.NamingManager.getInitialContext(NamingManager.j
    ava:229)
    at
    javax.naming.InitialContext.initializeDefaultInitCtx(InitialCont
    ext.java:318)
    at
    javax.naming.InitialContext.getDefaultInitCtx(InitialContext.jav
    a:348)
    at
    javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContex
    t.java:411)
    at
    javax.naming.InitialContext.bind(InitialContext.java:444)
    at
    javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnector
    Server.java:625)
    at
    javax.management.remote.rmi.RMIConnectorServer.start(RMIConnecto
    rServer.java:412)
     ...
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: A NullPointerException is thrown when   *
    *                      a class from the JVM classloader        *
    *                      attempts to bind an object into JNDI.   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A NullPointerException is thrown when a class from the JVM
    classloader attempts to bind an object into JNDI, for example
    when an application attempts to construct a
    javax.management.remote.JMXServiceURL.
    

Problem conclusion

  • Rather than throwing a NullPointerException in the method,
    the value of null is returned to the caller to be handled
    appropriately.
    
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.0.1. Please refer to the Recommended Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM71192

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-08-20

  • Closed date

    2012-09-05

  • Last modified date

    2012-09-05

  • 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

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 October 2021