IBM Support

IT33606: STRINGINDEXOUTOFBOUNDSEXCEPTION IN INTEGRATION NODE LEVEL LISTENER IF HTTP HEADER CONTAINS TRAILING SLASH AND NO VALUE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • If the Integration Node level HTTP listener receives an HTTP
    header which has a trailing slash in its name and no value then
    the following exception message is appended to the response
    body:
    
    java.lang.StringIndexOutOfBoundsException
    
    java.lang.String.charAt(String.java:1368)
     com.ibm.broker.httpli
    stener.ServletFunctions.recapitaliseHeader(ServletFunctions.java
    :150)
     com.ibm.broker.httplistener.ServletFunctions.process(Serv
    letFunctions.java:327)
     com.ibm.broker.httpservlet.WMQIServlet.d
    oGet(WMQIServlet.java:92)
    
    javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
     co
    m.ibm.broker.httpservlet.WMQIServlet.service(WMQIServlet.java:19
    1)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    
    
    The failure is caused by an error during the recapitalising
    of HTTP headers. The header should be recapitalised and passed
    to the flow.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users of IBM Integration Bus version 10 using the Node level
    HTTP or HTTPS Listener
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    <span style="background-color:rgb(255, 255, 255)">If the
    Integration Node level HTTP listener receives an HTTP
    </span><span style="background-color:rgb(255, 255, 255)">header
    which has a trailing slash in its name and no value then
    </span><span style="background-color:rgb(255, 255, 255)">the
    following exception message is appended to the response
    </span><span style="background-color:rgb(255, 255, 255)">body:
                                                             </span>
    <span style="background-color:rgb(255, 255, 255)">
    
    </span>
    <span style="background-color:rgb(255, 255,
    255)">java.lang.StringIndexOutOfBoundsException
    </span><span style="background-color:rgb(255, 255, 255)">
    
    </span>
    <span style="background-color:rgb(255, 255,
    255)">java.lang.String.charAt(String.java:1368)
         </span>
    <span style="background-color:rgb(255, 255,
    255)">com.ibm.broker.httpli</span><span
    style="background-color:rgb(255, 255,
    255)">stener.ServletFunctions.recapitaliseHeader(ServletFunction
    s.java</span>
    <span style="background-color:rgb(255, 255, 255)">:150)
                                                             </span>
    <span style="background-color:rgb(255, 255,
    255)">com.ibm.broker.httplistener.ServletFunctions.process(Serv<
    /span><span style="background-color:rgb(255, 255,
    255)">letFunctions.java:327)                </span>
    <span style="background-color:rgb(255, 255,
    255)">com.ibm.broker.httpservlet.WMQIServlet.d</span><span
    style="background-color:rgb(255, 255,
    255)">oGet(WMQIServlet.java:92)
      </span><span style="background-color:rgb(255, 255,
    255)">javax.servlet.http.HttpServlet.service(HttpServlet.java:62
    4)   </span>
    <span style="background-color:rgb(255, 255, 255)">co</span><span
    style="background-color:rgb(255, 255,
    255)">m.ibm.broker.httpservlet.WMQIServlet.service(WMQIServlet.j
    ava:19</span><span style="background-color:rgb(255, 255,
    255)">1)                              </span><span
    style="background-color:rgb(255, 255,
    255)">javax.servlet.http.HttpServlet.service(HttpServlet.java:73
    1)  </span>
    <span style="background-color:rgb(255, 255, 255)">
    
    </span>
    <span style="background-color:rgb(255, 255, 255)">
    
    </span>
    <span style="background-color:rgb(255, 255, 255)">The failure is
    caused by an error during the recapitalising </span><span
    style="background-color:rgb(255, 255, 255)">of HTTP headers. The
    header should be recapitalised and passed </span><span
    style="background-color:rgb(255, 255, 255)">to the flow.
              </span>
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT33606

  • Reported component name

    INTEGRATION BUS

  • Reported component ID

    5724J0540

  • Reported release

    A00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-07-20

  • Closed date

    2021-01-28

  • Last modified date

    2021-01-28

  • 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

    INTEGRATION BUS

  • Fixed component ID

    5724J0540

Applicable component levels

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSNQK6","label":"IBM Integration Bus"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.0"}]

Document Information

Modified date:
29 January 2021