NullPointerException accessing console

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      ConsoleAnnotator Factory extracts Request.getPathInfo that is null

      from SRV.11.2 of the Servlet Spec (2.3), if the servlet mapping is "/" then the servletpath should be the uri minus context and pathinfo should
      be null.

      it seems tomcat is handling "/*" the same way as "/" (maybe a bug ?)
      anyway, a defensive null check and fallback to getServletpath would be fine

            Assignee:
            Nicolas De Loof
            Reporter:
            Nicolas De Loof
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: