Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-11069

IndexOutOfBoundsException-when-quot-Authorization-quot-header-is-empty-String

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.3
    • Fix Version/s: fuse-7.0
    • Component/s: CXF
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      It is fixed in Fuse 7.x version. Need to backport this to Fuse 6.3 version

      Show
      It is fixed in Fuse 7.x version. Need to backport this to Fuse 6.3 version
    • QE Test Coverage:
      ?

      Description

      Throwing below exception if authorization details are empty

      {"exception":{"stacktrace":"java.lang.IndexOutOfBoundsException: Index: 0, Size:
      0\n\tat java.util.ArrayList.rangeCheck(Unknown Source)[:1.8.0_151]\n\tat
      java.util.ArrayList.get(Unknown Source)[:1.8.0_151]\n\tat
      org.apache.cxf.transport.http.Headers.getAuthorization(Headers.java:540)
      [1916:org.apache.cxf.cxf-rt-transports-http:3.1.5.redhat-630371]\n\tat
      org.apache.cxf.transport.http.AbstractHTTPDestination.setupMessage(AbstractHTTPDes
      tination.java:396)[1916:org.apache.cxf.cxf-rt-transports-http:3.1.5.redhat-
      630371]\n\tat
      org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination
      .java:239)[1916:org.apache.cxf.cxf-rt-transports-http:3.1.5.redhat-630371]\n\tat
      org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestinati
      on.java:234)[1917:org.apache.cxf.cxf-rt-transports-http-jetty:3.1.5.redhat-
      630371]\n\tat
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ffang Freeman(Yue) Fang
                Reporter:
                rhn-support-kkakarla Kodanda Ramu Kakarla
                Tester:
                Viliam Kasala
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: