Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-17418

Error when uploading profile picture

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 11.10.5
    • None
    • None
    • 11.10.5 LTS
      Chrome Version 83.0.4103.97 (Offizieller Build) (64-Bit)
      Ubuntu 20.04
      Tomcat
    • Unknown

    Description

      Steps to reproduce:

      1. Login (User has admin role)
      2. Go to profile page by clicking on the person icon on the top right
      3. select edit for the (still grey) profile picture
      4. Select file (png in that case)
      5. Click Upload

       

      Various error messages when trying to reproduce. Sometimes UI (see attached files), sometimes "server doesnt respond", sometimes the one below.

       

       

      Error message:

      HTTP Status 400 – Bad Request


      Type Exception Report

      Message Invalid character found in method name. HTTP method names must be tokens

      Description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).

      Exception

      java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:416) org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:260) org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1639) org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) java.lang.Thread.run(Thread.java:748)

      Note The full stack trace of the root cause is available in the server logs.


      Apa

      Attachments

        Activity

          People

            Unassigned Unassigned
            reinhardjurk Reinhard Jurk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: