IBM Support

PI39295: IllegalStateException: context is null prevents resource adapter from being stopped

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An intermittent error can occur when stopping a resource
    adapter which causes an FFDC to be logged with the
    following,
        java.lang.IllegalStateException: context is null
    at
    com.ibm.wsspi.kernel.service.utils.ConcurrentServiceReferenc
    eMap.getServiceWithException(ConcurrentServiceReferenceMap.j
    ava:260)
    at
    com.ibm.ws.context.service.serializable.ThreadContextDescrip
    torImpl.taskStarting(ThreadContextDescriptorImpl.java:355)
    at
    com.ibm.ws.jca.internal.BootstrapContextImpl.stopResourceAda
    pter(BootstrapContextImpl.java:899)
    This prevents the resource adapter from being stopped
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile - Java 2             *
    *                  Connectivity (J2C)                          *
    ****************************************************************
    * PROBLEM DESCRIPTION: IllegalStateException: context is null  *
    *                      prevents resource adapter from being    *
    *                      stopped                                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    An intermittent error can occur when stopping a resource adapter
    which causes an FFDC to be logged with the following,
        java.lang.IllegalStateException: context is null
            at
    com.ibm.wsspi.kernel.service.utils.ConcurrentServiceReferenceMap
    .getServiceWithException(ConcurrentServiceReferenceMap.java:260)
    at
    com.ibm.ws.context.service.serializable.ThreadContextDescriptorI
    mpl.taskStarting(ThreadContextDescriptorImpl.java:355)
            at
    com.ibm.ws.jca.internal.BootstrapContextImpl.stopResourceAdapter
    (BootstrapContextImpl.java:899)
    This prevents the resource adapter from being stopped
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI39295

  • Reported component name

    WAS LIBERTY COR

  • Reported component ID

    5725L2900

  • Reported release

    855

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-04-17

  • Closed date

    2015-05-06

  • Last modified date

    2015-05-06

  • 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

    WAS LIBERTY COR

  • Fixed component ID

    5725L2900

Applicable component levels

  • R855 PSY

       UP

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

Document Information

Modified date:
28 April 2022