JR42984: GOT NULLPOINTEREXCEPTION WHEN DELETING A FAILED EVENT WHEN MEDIATION MODULE IS ALSO MAPPED TO WEBSERVER

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as fixed if next.

Error description

  • Got NullPointerException when deleting a failed event that is
    mapped to a non-WebSphere Application Server (WPS) component.
    The logs will show that the failed event is mapped to two
    different servers, one of which is a not an Application Server.
    [4/24/12 10:53:50:022 EDT] 0000002e Recovery      2
    com.ibm.wbiserver.management.FailedEventManagerMBean
    getRemoteSessionBeanForBindingType(FailedEvent) node name is
     MyWPS.AppTarget+WebSphere:cell=wesb01Cell01
    
    [4/24/12 10:53:50:022 EDT] 0000002e Recovery      2
    com.ibm.wbiserver.management.FailedEventManagerMBean
    getRemoteSessionBeanForBindingType(FailedEvent) server name is
     webserver1
    The SCA module ACS_UItoBackEnd  was first deployed via the SCA
    modules installation screen.
    To make the WebService available through the http server
    ACS_UItoBackEndWeb Module of  ACS_UItoBackEndApp was mapped to
    the server cluster and the webserver1.
    .
    ================================================
    [4/24/12 10:53:50:023 EDT] 0000002e Recovery      2
    com.ibm.wbiserver.management.FailedEventManagerMBean
    discardFailedEvents(List) An exception occurred while deleting a
    failed event with
    msgId:'ID:414d51204143535354475f514d4752204f8bee1f2000352f',
    it is added to exception report
                                     java.lang.NullPointerException
        at
    com.ibm.wbiserver.management.FailedEventManagerMBean.discardFail
    edEvents
    (FailedEventManagerMBean.java:1501)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
        at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.jav
    a:48)
        at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    Accessor
    Impl.java:25)
    ...
    ==================================================
       This is preceded by this event
    [4/24/12 10:53:50:022 EDT] 0000002e Recovery      2
    com.ibm.wbiserver.management.FailedEventManagerMBean
    getRemoteSessionBeanForBindingType(FailedEvent) Legacy recovery
    node not  found.
    javax.naming.NameNotFoundException: Context:
    cell_prod_wesb01/clusters/wesb1600, name:
    cell/nodes/wesb1600+WebSphere:cell=cell_prod_wesb01/servers/pfgW
    eb/ejb/com/ibm/wbiserver/manualrecovery/ejb/FailedEventManagerEJ
    BHome: First component in name
    wesb1600+WebSphere:cell=cell_prod_wesb01/servers/pfgWeb/ejb/com/
    ibm/wbiserver/manualrecovery/ejb/FailedEventManagerEJBHome not
    found. [Root exception is
    org.omg.CosNaming.NamingContextPackage.NotFound:
    IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
     at
    com.ibm.ws.naming.jndicos.CNContextImpl.mapNotFoundException(CNC
    ontextImpl.java:4378)
     at
    com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.j
    ava:1807)
     at
    com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.j
    ava:1762)
     at
    com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.
    java:1513)
     at
    com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.jav
    a:645)
     at
    com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:166)
     at
    com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:180)
     at
    javax.naming.InitialContext.lookup(InitialContext.java:436)
     at
    com.ibm.wbiserver.management.FailedEventManagerMBean.getRemoteSe
    ssionBeanForBindingType(FailedEventManagerMBean.java:224)
     at
    com.ibm.wbiserver.management.FailedEventManagerMBean.discardFail
    edEvents(FailedEventManagerMBean.java:1501)
    

Local fix

  • Delete the events from the database directly to bypass the
    problem.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Websphere process server users              *
    ****************************************************************
    * PROBLEM DESCRIPTION: NullPointerException happens            *
    *                      occurs when deleting a failed event     *
    *                      in the Failed Event Manager (FEM).      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    This issue is caused by the mixed cluster environment.
    A non non-application server is linked in the cluster. When
    deleting an event from the Failed Event Manager (FEM), the
    command used was from the non-application server.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    JR42984

  • Reported component name

    WEB PROC SERVER

  • Reported component ID

    5724L0100

  • Reported release

    700

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-06-04

  • Closed date

    2012-07-17

  • Last modified date

    2013-05-31

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • R700 PSY

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

WebSphere Process Server

Software version:

7.0

Reference #:

JR42984

Modified date:

2013-05-31

Translate my page

Machine Translation

Content navigation