IBM Support

PI50806: NullPointerException in AbstractEJBRuntime.bindAllRemoteInterfac esToContextRoot when using ejbRemote-3.2 feature

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When the ejb-3.2 or ejbRemote-3.2 feature is enabled, the
    following exception may appear in the console.log file:
    
    [ERROR   ] CWWKE0701E:
    [com.ibm.ws.ejbcontainer.osgi.internal.EJBRuntimeImpl(208)]
    The setEJBRemoteRuntime method has thrown an exception
    Bundle:com.ibm.ws.ejbcontainer(id=97)
    java.lang.NullPointerException
    	at
    com.ibm.ws.ejbcontainer.runtime.AbstractEJBRuntime.bindAllRe
    moteInterfacesToContextRoot(AbstractEJBRuntime.java:1132)
    	at [internal classes]
    	at
    com.ibm.ws.kernel.launch.internal.FrameworkManager$Introspec
    tionContext.introspectIntrospectors(FrameworkManager.java:10
    50)
    	at
    com.ibm.ws.kernel.launch.internal.FrameworkManager$Introspec
    tionContext.introspectAll(FrameworkManager.java:1037)
    	at
    com.ibm.ws.kernel.launch.internal.FrameworkManager.introspec
    tFramework(FrameworkManager.java:1007)
    	at
    com.ibm.ws.kernel.launch.internal.ServerCommandListener.exec
    uteCommand(ServerCommandListener.java:434)
    	at
    com.ibm.ws.kernel.launch.internal.ServerCommandListener.acce
    ptAndExecuteCommand(ServerCommandListener.java:394)
    	at
    com.ibm.ws.kernel.launch.internal.ServerCommandListener.acce
    ss$100(ServerCommandListener.java:43)
    	at
    com.ibm.ws.kernel.launch.internal.ServerCommandListener$2.ru
    n(ServerCommandListener.java:318)
    
    There are no other symptoms; the server will stat and
    operate normally even with this exception.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile - Enterprise Java    *
    *                  Beans (EJB)                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: NullPointerException in                 *
    *                      AbstractEJBRuntime.bindAllRemoteInterfa *
    *                      cesToContextRoot when using ejbRemote-  *
    *                      3.2 feature                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When the ejb-3.2 or ejbRemote-3.2 feature is enabled, the
    following exception may appear in the console.log file:
    
    [ERROR   ] CWWKE0701E:
    [com.ibm.ws.ejbcontainer.osgi.internal.EJBRuntimeImpl(208)] The
    setEJBRemoteRuntime method has thrown an exception
    Bundle:com.ibm.ws.ejbcontainer(id=97)
    java.lang.NullPointerException
    	at
    com.ibm.ws.ejbcontainer.runtime.AbstractEJBRuntime.bindAllRemote
    InterfacesToContextRoot(AbstractEJBRuntime.java:1132)
    	at [internal classes]
    	at
    com.ibm.ws.kernel.launch.internal.FrameworkManager$Introspection
    Context.introspectIntrospectors(FrameworkManager.java:1050)
    	at
    com.ibm.ws.kernel.launch.internal.FrameworkManager$Introspection
    Context.introspectAll(FrameworkManager.java:1037)
    	at
    com.ibm.ws.kernel.launch.internal.FrameworkManager.introspectFra
    mework(FrameworkManager.java:1007)
    	at
    com.ibm.ws.kernel.launch.internal.ServerCommandListener.executeC
    ommand(ServerCommandListener.java:434)
    	at
    com.ibm.ws.kernel.launch.internal.ServerCommandListener.acceptAn
    dExecuteCommand(ServerCommandListener.java:394)
    	at
    com.ibm.ws.kernel.launch.internal.ServerCommandListener.access$1
    00(ServerCommandListener.java:43)
    	at
    com.ibm.ws.kernel.launch.internal.ServerCommandListener$2.run(Se
    rverCommandListener.java:318)
    
    There are no other symptoms; the server will stat and operate
    normally even with this exception.
    

Problem conclusion

  • The NullPointerException occurs when functions provided by the
    ejbRemote feature are started before the EJB container.  The
    WebSphere Application Server Liberty profile EJB container has
    been updated so that the exception will no longer occur.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 8.5.5.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

    PI50806

  • 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-10-19

  • Closed date

    2015-11-19

  • Last modified date

    2015-11-19

  • 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