Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-16438

NullPointerException accessing console

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: timestamper-plugin
    • Labels:
      None
    • Environment:
      jenkins deployed on tomcat 6
    • Similar Issues:

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              ndeloof Nicolas De Loof
              Reporter:
              ndeloof Nicolas De Loof
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: