"getOutputStream() has already been called for this response" from HudsonAuthenticationEntryPoint.commence

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

XMLWordPrintable

      Hudson 1.252. Without being logged in as admin, I entered in my URL bar:

      http://deadlock.netbeans.org/hudson/job/trunk/configure

      expecting to be taken to a login screen (and from there redirected to the config
      page). Instead I got:

      java.lang.IllegalStateException: getOutputStream() has already been called for
      this response
      org.apache.catalina.connector.Response.getWriter(Response.java:599)
      org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:195)
      hudson.security.HudsonAuthenticationEntryPoint.commence(HudsonAuthenticationEntryPoint.java:52)
      org.acegisecurity.ui.ExceptionTranslationFilter.sendStartAuthentication(ExceptionTranslationFilter.java:276)
      org.acegisecurity.ui.ExceptionTranslationFilter.handleException(ExceptionTranslationFilter.java:220)
      org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:181)
      hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55)
      org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55)
      hudson.security.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:89)
      hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55)
      hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:44)
      hudson.security.HudsonFilter.doFilter(HudsonFilter.java:82)

            Assignee:
            Alan Harder
            Reporter:
            Jesse Glick
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: