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

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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • _unsorted
    • None
    • Platform: All, OS: All

      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)

          [JENKINS-2408] "getOutputStream() has already been called for this response" from HudsonAuthenticationEntryPoint.commence

          Jesse Glick created issue -
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 132481 ] New: JNJira + In-Review [ 201443 ]
          Jenkins IRC Bot made changes -
          Component/s New: _unsorted [ 19622 ]
          Component/s Original: security [ 15508 ]

            mindless Alan Harder
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: