IBM Support

PI96072: NULLPOINTEREXCEPTION IN COM.IBM.EJS.J2C.J2CUTILI

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The following NullPointerException may be generated for a
    deployed resource adapter...
    
    [3/29/18 11:59:08:901 EDT] 0000017b ConnectionFac E
    J2CA0009E: An exception occurred while trying to instantiate
    the ManagedConnectionFactory class
    com.ibm.connector2.cics.ECIManagedConnectionFactory used by
    resource j2c/connectors : java.lang.NullPointerException
     at
    com.ibm.ejs.j2c.J2CUtilityClass.createMCFEntry(J2CUtilityClass.j
    ava:678)
     at
    com.ibm.ejs.j2c.ConnectionFactoryBuilderServerImpl.createMCFandP
    M(ConnectionFactoryBuilderServerImpl.java:591)
     at
    com.ibm.ejs.j2c.ConnectionFactoryBuilderServerImpl.processObject
    Instance(ConnectionFactoryBuilderServerImpl.java:1067)
     at
    com.ibm.ejs.j2c.ServerFunction.processObjectInstance(ServerFunct
    ion.java:1517)
     at
    com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getObjectInstance(C
    onnectionFactoryBuilderImpl.java:660)
     at
    org.apache.aries.jndi.ObjectFactoryHelper.getObjectInstanceUsing
    ObjectFactoryBuilders(ObjectFactoryHelper.java:351)
     at
    org.apache.aries.jndi.ObjectFactoryHelper.getObjectInstance(Obje
    ctFactoryHelper.java:109)
     at
    org.apache.aries.jndi.OSGiObjectFactoryBuilder.getObjectInstance
    (OSGiObjectFactoryBuilder.java:62)
     at
    javax.naming.spi.NamingManager.getObjectInstance(NamingManager.j
    ava:311)
     at
    com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupE
    xt(Helpers.java:993)
     at
    com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(
    Helpers.java:796)
     at
    com.ibm.ws.naming.jndicos.CNContextImpl.processBoundObjectForLoo
    kup(CNContextImpl.java:2877)
     at
    com.ibm.ws.naming.jndicos.CNContextImpl.processResolveResults(CN
    ContextImpl.java:3974)
     at
    com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.j
    ava:1876)
    ...
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server with deployed resource adapters.     *
    ****************************************************************
    * PROBLEM DESCRIPTION: Certain configuration combinations      *
    *                      of a resource adapter could cause a     *
    *                      NullPointerException.                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When creating a resource adapter's ManagedConnectionFactory,
    the following NullPointerException could occur.
    J2CA0009E: An exception occurred while trying to instantiate
    the ManagedConnectionFactory class
    com.ibm.connector2.cics.ECIManagedConnectionFactory used by
    resource j2c/connectors : java.lang.NullPointerException at
    com.ibm.ejs.j2c.J2CUtilityClass.createMCFEntry()
    

Problem conclusion

  • The ManagedConnectionFactory creation code was updated to
    check the configuration and prevent the NullPointerException
    from occurring.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.14, and 9.0.0.9.  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

    PI96072

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-04-02

  • Closed date

    2018-05-18

  • Last modified date

    2018-07-18

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R850 PSY

       UP

  • R900 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVS22","label":"General"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
18 July 2018