Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6868

empty Authorization header result in server error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1
    • 3.0.10, 3.1.7, 3.2.0
    • Transports
    • None
    • Unknown

    Description

       java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
               at java.util.ArrayList.rangeCheck(ArrayList.java:653)
               at java.util.ArrayList.get(ArrayList.java:429)
               at org.apache.cxf.transport.http.Headers.getAuthorization(Headers.java:512)
               at org.apache.cxf.transport.http.AbstractHTTPDestination.setupMessage(AbstractHTTPDestination.java:384)
               at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:236)
               at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)
               at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
               at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:171)
               at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
               at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            fadi.mohsen@gmail.com Fadi Mohsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: