Uploaded image for project: 'Confluence Server'
  1. Confluence Server
  2. CONFSERVER-6118

IllegalStateException when creating a space that already exists

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.2
    • Fix Version/s: 2.2.2
    • Component/s: None
    • Labels:

      Description

      This error probably occured b/c after clicking 'create space' i clicked back on the browser and then clicked create space again. I guess the error is saying that the page was already created before i clicked back. Maybe we could capture this event and and delivery an error message with more meaning ???

      THE FOLLOWING ERROR WAS DISPLAYED:

      CONFLUENCE
      System Error
      A system error has occurred - our apologies!

      Please create a support issue on our support system at http://support.atlassian.com with the following information:

      1. a description of your problem and what you were doing at the time it occurred
      2. cut & paste the error and system information found below
      3. attach the application server log file (if possible).

      We will respond as promptly as possible.
      Thank you!
      500 Servlet Exception

      java.lang.IllegalStateException: forward() not allowed after buffer has
      committed.
      at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:139)
      at com.caucho.server.webapp.RequestDispatcherImpl.error(RequestDispatcherImpl.java:113)
      at com.caucho.server.webapp.ErrorPageManager.sendServletError(ErrorPageManager.java:354)
      at com.caucho.server.webapp.ErrorPageManager.handleErrorStatus(ErrorPageManager.java:543)
      at com.caucho.server.webapp.ErrorPageManager.sendError(ErrorPageManager.java:434)
      at com.caucho.server.connection.AbstractHttpResponse.sendError(AbstractHttpResponse.java:491)
      at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:90)
      at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:90)
      at com.opensymphony.module.sitemesh.filter.PageResponseWrapper.sendError(PageResponseWrapper.java:180)
      at com.opensymphony.webwork.dispatcher.ServletDispatcher.sendError(ServletDispatcher.java:349)
      at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:235)
      at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
      at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:99)
      at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
      at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:143)
      at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
      at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
      at com.atlassian.confluence.util.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:30)
      at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
      at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:45)
      at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
      at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182)
      at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
      at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:177)
      at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
      at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96)
      at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
      at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170)
      at bucket.custom.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:31)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:73)
      at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
      at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:122)
      at com.atlassian.confluence.util.error.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27)
      at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
      at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:61)
      at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
      at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37)
      at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
      at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:188)
      at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:163)
      at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:208)
      at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:396)
      at com.caucho.server.port.TcpConnection.run(TcpConnection.java:363)
      at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)
      at com.caucho.util.ThreadPool.run(ThreadPool.java:423)
      at java.lang.Thread.run(Thread.java:534)

      Resin Professional 3.0.14 (built Tue, 05 Jul 2005 11:05:36 PDT)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Last commented:
                11 years, 31 weeks, 2 days ago