IBM Support

PI33284: NULLPOINTEREXCEPTION GENERATED BY APACHE WINK LIBRARY WHEN PROCESSING HEAD REQUESTS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The following NullPointerException is generated when processing
    HEAD requests:
    
    org.apache.wink.server.internal.RequestProcessor - The
    following erroroccurred during the invocation of the handlers
    chain: NullPointerException with message 'null' while
    processing HEAD request sent to << Request URL >>
    ERROR com.aaa.bbb.ccc.UnknownExceptionMapper - Error:
    java.lang.NullPointerException
    at
    org.apache.wink.server.internal.handlers.HeadMethodHandler$NoBod
    yResponse.getContentLengthValue(HeadMethodHandler.java:100)
    at org.apache.wink.server.internal.handlers.HeadMethodHandler
    .handl eResponse(HeadMethodHandler.java:83)
    at org.apache.wink.server.handlers.ResponseHandlersChain
    .handle(Res ponseHandlersChain.java:26)
    at org.apache.wink.server.handlers.ResponseHandlersChain
    .handle(Res ponseHandlersChain.java:22)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server users of   *
    *                  JAX-RS web services.                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: A NullPointerException is thrown when   *
    *                      handling JAXRS http HEAD requests       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A variable is not initialized correctly before using it when
    handling JAXRS http Head requests.
    

Problem conclusion

  • We now initialize the variable correctly before using it to
    avoid the NullPointerException.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.7.  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

    PI33284

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-01-22

  • Closed date

    2015-04-15

  • Last modified date

    2015-04-15

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

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

    PI38723 PI38724 PI38781

Fix information

  • Fixed component name

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R850 PSY

       UP

[{"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:
28 April 2022