IBM Support

PI27557: NULLPOINTEREXCEPTION WHEN THERE IS AN ACTIVE REQUEST AND THE SERVER IS SHUTTING DOWN

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An example of this exception is:
    java.lang.NullPointerException
    > at
    com.ibm.ws.webcontainer.webapp.WebApp.getErrorPageDispatcher(Web
    App.java:4185)
    > at
    com.ibm.ws.webcontainer.webapp.WebApp.sendError(WebApp.java:3890
    )
    > at
    com.ibm.ws.webcontainer.webapp.WebApp.handleException(WebApp.jav
    a:4548)
    > at
    com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:
    4529)
    > at
    com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.handleRequest(
    DynamicVirtualHost.java:282)
    > at
    com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.
    java:954)
    > at
    com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.run(DynamicVir
    tualHost.java:252)
    > at
    com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink$T
    askWrapper.run(HttpDispatcherLink.java:590)
    > at
    com.ibm.ws.threading.internal.Worker.executeWork(Worker.java:439
    )
    > at com.ibm.ws.threading.internal.Worker.run(Worker.java:421)
    > at java.lang.Thread.run(Thread.java:770)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile version 8.5.5        *
    ****************************************************************
    * PROBLEM DESCRIPTION: A java.lang.NullPointerException is     *
    *                      thrown when there is an active request  *
    *                      and the server is shutting down.        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A NullPointerException is thrown from
    org.eclipse.osgi.internal.module.ResolverImpl.resolveDynamicImpo
    rt due to the fact that the server has been issued a shutdown
    instruction while still handling an active request.
    An example of this exception is:
    java.lang.NullPointerException
    >	at
    com.ibm.ws.webcontainer.webapp.WebApp.getErrorPageDispatcher(Web
    App.java:4185)
    >	at
    com.ibm.ws.webcontainer.webapp.WebApp.sendError(WebApp.java:3890
    )
    >	at
    com.ibm.ws.webcontainer.webapp.WebApp.handleException(WebApp.jav
    a:4548)
    >	at
    com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:
    4529)
    >	at
    com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.handleRequest(
    DynamicVirtualHost.java:282)
    >	at
    com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.
    java:954)
    >	at
    com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.run(DynamicVir
    tualHost.java:252)
    >	at
    com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink$T
    askWrapper.run(HttpDispatcherLink.java:590)
    >	at
    com.ibm.ws.threading.internal.Worker.executeWork(Worker.java:439
    )
    >	at com.ibm.ws.threading.internal.Worker.run(Worker.java:421)
    >	at java.lang.Thread.run(Thread.java:770)
    

Problem conclusion

  • The Web Container code was modified so that a 404 Context Root
    Not Found response is returned when the Web Container is not
    able to finish processing a request due to application removal.
    The fix for this APAR is currently targeted for inclusion in fix
    pack 8.5.5.4.  Please refer to the Recommended Updates page for
    delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

  • NA
    

Comments

APAR Information

  • APAR number

    PI27557

  • 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

    2014-10-14

  • Closed date

    2014-10-21

  • Last modified date

    2014-11-11

  • 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