IBM Support

PM42559: NUMBERFORMATEXCEPTION THROWN WHEN PARSING IF-NONE-MATCH HEADER

 

APAR status

  • Closed as program error.

Error description

  • NumberFormatException printed to logs if an HTTP request is
    made where the if-none-matches header contains multiple values.
    
    Exception:
    
    ModuleManager E java.lang.NumberFormatException: For input
    string: "-1982270343, -1982270343"
    
     at java.lang.NumberFormatException
    .forInputString(NumberFormatException.java:63)
     at java.lang.Integer.parseInt(Integer.java:490)
     at java.lang.Integer.parseInt(Integer.java:531)
     at com.presence.connect.business.module.ModuleManager
    .preRequest(ModuleManager.java:1756)
     at com.presence.connect.business.module.ModuleManager
    .launchBusiness(ModuleManager.java:134)
     at com.presence.connect.business.module.ModuleManager
    .launchBusiness(ModuleManager.java:398)
     at com.presence.connect.RequestExecutable
    .execute(RequestExecutable.java:94)
     at com.presence.connect.dispatcher.Task.run(Task.java:149)
     at com.presence.connect.ConnectClient
    .processSynchronous(ConnectClient.java:167)
     at com.presence.connect.ConnectServlet.process(ConnectServlet
    .java:299)
     at com.presence.connect.ConnectServlet.doGet(ConnectServlet
    .java:119)
    

Local fix

Problem summary

  • NumberFormatException printed to logs if an HTTP request is
    made
    where the if-none-matches header contains multiple values.
    
    Exception:
    [6/21/11 13:15:32:395 EST] 00000046 ModuleManager E
    
    java.lang.NumberFormatException: For input string: "-1982270343,
    -1982270343"
     at java.lang.NumberFormatException
    .forInputString(NumberFormatException.java:63)
     at java.lang.Integer.parseInt(Integer.java:490)
     at java.lang.Integer.parseInt(Integer.java:531)
     at com.presence.connect.business.module.ModuleManager
    .preRequest(ModuleManager.java:1756)
     at com.presence.connect.business.module.ModuleManager
    .launchBusiness(ModuleManager.java:134)
     at com.presence.connect.business.module.ModuleManager
    .launchBusiness(ModuleManager.java:398)
     at com.presence.connect.RequestExecutable
    .execute(RequestExecutable.java:94)
     at com.presence.connect.dispatcher.Task.run(Task.java:149)
     at com.presence.connect.ConnectClient
    .processSynchronous(ConnectClient.java:167)
     at com.presence.connect.ConnectServlet.process(ConnectServlet
    .java:299)
     at com.presence.connect.ConnectServlet.doGet(ConnectServlet
    .java:119)
    

Problem conclusion

  • Corrected the implementation of the if-none-match header to
    accept multiple values and ignore invalid values.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM42559

  • Reported component name

    LOTUS WEB CONT

  • Reported component ID

    5724I2900

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-06-28

  • Closed date

    2011-06-29

  • Last modified date

    2011-07-08

  • 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

    LOTUS WEB CONT

  • Fixed component ID

    5724I2900

Applicable component levels

  • R615 PSY

       UP

[{"Business Unit":{"code":null,"label":null},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Edition":"","Line of Business":{"code":null,"label":null}}]

Document Information

Modified date:
09 September 2020