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

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

    XMLWordPrintable

    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
      

        Attachments

          Activity

            People

            Assignee:
            yfang@redhat.com Freeman(Yue) Fang
            Reporter:
            rhn-support-kkakarla kodandaRamu kakarla
            Tester:
            Viliam Kasala Viliam Kasala
            Involved:
            Federico Mariani
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: