IBM Support

PH54641: NULLPOINTEREXCEPTION IN EJSCONTAINER.STOPBEAN AFTER FAILED APPLICATION START

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • After a failed application start, an FFDC log may be created for
    with the following exception stack:
    
    java.lang.NullPointerException
    	at com.ibm.ejs.container.HomeOfHomes.updateAppLinkData(HomeOfHo
    	at com.ibm.ejs.container.HomeOfHomes.removeHome(HomeOfHomes.jav
    	at com.ibm.ejs.container.EJSContainer.uninstallBean(EJSContaine
    	at com.ibm.ejs.container.EJSContainer.stopBean(EJSContainer.jav
    	at com.ibm.ws.ejbcontainer.runtime.AbstractEJBRuntime.stopBean(
    	at com.ibm.ws.ejbcontainer.runtime.SharedEJBRuntimeImpl.stopBea
    	at com.ibm.ws.runtime.component.WASEJBRuntimeImpl.stopBean(WASE
    	at com.ibm.ws.ejbcontainer.runtime.AbstractEJBRuntime.uninstall
    	at com.ibm.ws.ejbcontainer.runtime.AbstractEJBRuntime.startModu
    	at com.ibm.ws.ejbcontainer.runtime.SharedEJBRuntimeImpl.startMo
    	at com.ibm.ws.runtime.component.EJBContainerImpl.start(EJBConta
    	at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(Applic
    	at
    com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeploye
    	at com.ibm.ws.runtime.component.DeployedModuleImpl.start(Deploy
    	at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(D
    	at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplica
    	at com.ibm.ws.runtime.component.ApplicationMgrImpl$5.run(Applic
    	at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextMan
    	at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(Cont
    	at com.ibm.ws.security.core.SecurityContext.runAsSystem(Securit
    	at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(Applic
    	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(Co
    	at com.ibm.ws.runtime.component.CompositionUnitImpl.start(Compo
    	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(Co
    	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$5
    	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitia
    	at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchIniti
    	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    *                  with EJB Applications                       *
    ****************************************************************
    * PROBLEM DESCRIPTION: NullPointerException in                 *
    *                      HomeOfHomes.updateAppLinkData()         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The following exception may occur during application stop after
    a failed attempt to start an EJB application:
    ava.lang.NullPointerException
    at com.ibm.ejs.container.HomeOfHomes.updateAppLinkData(HomeOfHo
    at com.ibm.ejs.container.HomeOfHomes.removeHome(HomeOfHomes.jav
    at com.ibm.ejs.container.EJSContainer.uninstallBean(EJSContaine
    at com.ibm.ejs.container.EJSContainer.stopBean(EJSContainer.jav
    at com.ibm.ws.ejbcontainer.runtime.AbstractEJBRuntime.stopBean(
    at com.ibm.ws.ejbcontainer.runtime.SharedEJBRuntimeImpl.stopBea
    at com.ibm.ws.runtime.component.WASEJBRuntimeImpl.stopBean(WASE
    at com.ibm.ws.ejbcontainer.runtime.AbstractEJBRuntime.uninstall
    at com.ibm.ws.ejbcontainer.runtime.AbstractEJBRuntime.startModu
    

Problem conclusion

  • When an EJB application fails to start, some of the EJB related
    internal metadata associated with the application may be in an
    inconsistent state, resulting in the NullPointerException when
    cleaning up after the failed start attempt. While this does not
    prevent the application from stopping, it may be misleading.
    The EJB Container has been updated to handle the inconsistent
    state.  The NullPointerException will no longer occur.
    
    The fix for this APAR is targeted for inclusion in fix pack
    8.5.5.24. For more information, see 'Recommended Updates for
    WebSphere Application Server':
    https://www.ibm.com/support/pages/node/715553
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH54641

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-05-19

  • Closed date

    2023-06-12

  • Last modified date

    2023-06-12

  • 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

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

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

Document Information

Modified date:
13 June 2023