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

    • Bug
    • Resolution: Done
    • Major
    • fuse-7.0
    • jboss-fuse-6.3
    • CXF
    • None
    • % %
    • +
    • 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

    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

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

            Dates

              Created:
              Updated:
              Resolved: