IBM Support

PI38723: 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 below 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.pushcoin.pws.provider.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 WebShere Application Server users of    *
    *                  JAX-RS web services                         *
    ****************************************************************
    * PROBLEM DESCRIPTION: A NullPointerException is thrown when   *
    *                      handling JAX-RS HTTP HEAD requests      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A variable is not initiallized correctly before using it when
    handling JAX-RS 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

    PI38723

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-04-09

  • Closed date

    2015-07-14

  • Last modified date

    2015-07-14

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

    PI33284

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

Fix information

  • Fixed component name

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

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":"850","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
27 April 2022