java.lang.IllegalStateException: Can't sendRedirect() after data has committed to the client.

Atlassian JIRA | Chris Broadfoot [Atlassian] | 9 years ago
  1. 0

    Found in logs after browsing to {{/pages/tinyurl.action}}, {{/x}}, {{/x/invalidtinyurl}}, or any other tiny url link that does not result in redirection to a Confluence page. {noformat} 2008-03-06 12:19:14,883 ERROR [tcpConnection-8080-0] [atlassian.xwork.interceptors.XWorkTransactionInterceptor] onThrowable Invoking rollback for transaction on action '/pages/tinyurl.action (TinyUrlAction.execute())' due to throwable: java.lang.IllegalStateException: Can't sendRedirect() after data has committed to the client. -- url: /confluence/pages/tinyurl.action | userName: admin java.lang.IllegalStateException: Can't sendRedirect() after data has committed to the client. at com.caucho.server.http.Response.sendRedirect(Response.java:632) at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:170) at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:170) at com.atlassian.gzipfilter.SelectingResponseWrapper.sendRedirect(SelectingResponseWrapper.java:89) at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:170) at com.opensymphony.module.sitemesh.filter.PageResponseWrapper.sendRedirect(PageResponseWrapper.java:181) at com.opensymphony.webwork.dispatcher.ServletRedirectResult.doExecute(ServletRedirectResult.java:79) at com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:116) at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:263) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:187) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:55) at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.atlassian.confluence.core.ConfluenceValidationInterceptor.intercept(ConfluenceValidationInterceptor.java:16) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.util.LoggingContextInterceptor.intercept(LoggingContextInterceptor.java:48) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:54) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:114) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.spaces.actions.SpaceAwareInterceptor.intercept(SpaceAwareInterceptor.java:67) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.actions.LastModifiedInterceptor.intercept(LastModifiedInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.ConfluenceAutowireInterceptor.intercept(ConfluenceAutowireInterceptor.java:25) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:98) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115) at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:229) at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:141) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:54) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.confluence.jmx.JmxFilter.doFilter(JmxFilter.java:109) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:49) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:44) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:192) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:114) at com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:28) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:110) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:142) at com.atlassian.core.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.confluence.core.datetime.RequestTimeThreadLocalFilter.doFilter(RequestTimeThreadLocalFilter.java:34) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:71) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:33) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.caucho.server.http.Invocation.service(Invocation.java:315) at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:253) at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:171) at com.caucho.server.TcpConnection.run(TcpConnection.java:139) at java.lang.Thread.run(Thread.java:613) 2008-03-06 12:19:14,885 ERROR [tcpConnection-8080-0] [opensymphony.webwork.dispatcher.ServletDispatcher] serviceAction Could not execute action -- url: /confluence/pages/tinyurl.action | userName: admin java.lang.IllegalStateException: Can't sendRedirect() after data has committed to the client. at com.caucho.server.http.Response.sendRedirect(Response.java:632) at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:170) at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:170) at com.atlassian.gzipfilter.SelectingResponseWrapper.sendRedirect(SelectingResponseWrapper.java:89) at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:170) at com.opensymphony.module.sitemesh.filter.PageResponseWrapper.sendRedirect(PageResponseWrapper.java:181) at com.opensymphony.webwork.dispatcher.ServletRedirectResult.doExecute(ServletRedirectResult.java:79) at com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:116) at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:263) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:187) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:55) at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.atlassian.confluence.core.ConfluenceValidationInterceptor.intercept(ConfluenceValidationInterceptor.java:16) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.util.LoggingContextInterceptor.intercept(LoggingContextInterceptor.java:48) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:54) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:114) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.spaces.actions.SpaceAwareInterceptor.intercept(SpaceAwareInterceptor.java:67) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.actions.LastModifiedInterceptor.intercept(LastModifiedInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.ConfluenceAutowireInterceptor.intercept(ConfluenceAutowireInterceptor.java:25) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:98) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115) at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:229) at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:141) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:54) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.confluence.jmx.JmxFilter.doFilter(JmxFilter.java:109) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:49) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:44) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:192) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:114) at com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:28) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:110) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:142) at com.atlassian.core.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.confluence.core.datetime.RequestTimeThreadLocalFilter.doFilter(RequestTimeThreadLocalFilter.java:34) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:71) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:33) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.caucho.server.http.Invocation.service(Invocation.java:315) at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:253) at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:171) at com.caucho.server.TcpConnection.run(TcpConnection.java:139) at java.lang.Thread.run(Thread.java:613) 2008-03-06 12:19:14,916 ERROR [tcpConnection-8080-0] [confluence.admin.actions.SystemErrorInformationLogger] writeToLog Build Information buildNumber = 1307 upTime = 15 minutes, 37 seconds devMode = false version = 2.8-SNAPSHOT home = /Users/cbroadfoot/data/confltrunk Request Unique ID : 0x0000011881ABADE1C0A8038A1E3C6C2A89B3D10E60EF40DBC527336DE66409FE Server Information: Application Server: Resin/2.1.17 Servlet Version:: 2.3 Database Dialect: net.sf.hibernate.dialect.HSQLDialect Database Driver Name: org.hsqldb.jdbcDriver Database Driver Version: 1.8 Database Name: HSQL Database Engine Database Version: 1.8.0 Database Latency:0 System Info userName = cbroadfoot favouriteColour = Myrtle time = 12:19:14 javaVm = Java HotSpot(TM) Client VM operatingSystemArchitecture = i386 date = Thursday, 06 Mar 2008 operatingSystem = Mac OS X 10.4.10 jvmVersion = 1.0 userTimezone = Australia/Sydney fileSystemEncoding = MacRoman jvmImplementationVersion = 1.5.0_13-121 appServer = RESIN2 javaVendor = Apple Computer, Inc. javaVersion = 1.5.0_13 javaRuntime = Java(TM) 2 Runtime Environment, Standard Edition jvmVendor = Sun Microsystems Inc. JVM Stats freeMemoryInMegabytes = 46 totalMemoryInMegabytes = 125 freeMemory = 48792152 usedMemory = 83217832 totalMemory = 132009984 usedMemoryInMegabytes = 79 Cluster Information: Not clustered. Enabled Plugins: Content Action Menu Sections (confluence.content.action.menu, Version: 1.0) Default Theme (com.atlassian.confluence.themes.default, Version: 1.0) Basic Macros (confluence.macros.basic, Version: 1.3) Confluence Usage Stats (com.atlassian.confluence.ext.usage, Version: 0.8-SNAPSHOT) User Listener (confluence.extra.userlister, Version: 2.3) Chart Plugin (confluence.extra.chart, Version: 1.9) Information Macros (confluence.extra.information, Version: 1.0) Global Labels Sections (confluence.sections.labels, Version: 1.0) Page Operations (confluence.sections.page.operations, Version: 1.0) WebDAV Plugin (confluence.extra.webdav, Version: 1.1) Confluence Remote API (confluence.extra.confluencerpc, Version: 2.8-SNAPSHOT) Profile Tabs (confluence.sections.profile, Version: 1.0) French language pack (confluence.languages.fr_FR, Version: 1.5) Admin Sections (confluence.sections.admin, Version: 1.0) Core Startup and Shutdown (confluence.lifecycle.core, Version: 1) Content Buttons (confluence.sections.page.temp, Version: 1.0) Table of Contents Plugin (org.randombits.confluence.toc, Version: 2.4.1) TinyMCE Editor Plugin (com.atlassian.confluence.extra.tinymceplugin, Version: 2.12-beta2) Space Pages Sections (confluence.sections.space.pages, Version: 1.0) Confluence Classic Theme (com.atlassian.confluence.themes.classic, Version: 2.0-beta4) Space Advanced Sections (confluence.sections.space.advanced, Version: 1.0) News Tabs (confluence.sections.news, Version: 1.0) Confluence Attachments Plugin (confluence.extra.attachments, Version: 2.10) Confluence Contributors Plugin (com.atlassian.confluence.contributors, Version: 1.1) Space Actions Sections (confluence.sections.space.actions, Version: 1.0) Core Path Converters (confluence.converters.core, Version: 1.0) Space Labels Sections (confluence.sections.space.labels, Version: 1.0) Wiki Renderer Components (confluence.renderer.components, Version: 1.0) Core Extractors (confluence.extractors.core, Version: 1.4) Compatibility Macros (confluence.macros.compatibility, Version: 1.3) Page Tabs (confluence.sections.page, Version: 1.0) Core Listeners (confluence.listeners.core, Version: 1.3) Dynamic Task List 2 Plugin (confluence.extra.dynamictasklist2, Version: 2.1.3) Dashboard Macros (confluence.macros.dashboard, Version: 1.3) Live Search Macros (confluence.extra.livesearch, Version: 2.6) Page View Links (confluence.sections.page.actions, Version: 1.0) System Web Resources (confluence.web.resources, Version: 1.0) JIRA Macros (confluence.extra.jira, Version: 2.7) Attachment Actions (confluence.sections.attachments, Version: 1.0) Clickr Theme (com.atlassian.confluence.themes.clickr, Version: 2.0-beta5) Layout Macros (confluence.extra.layout, Version: 1.1) German language pack (confluence.languages.de_DE, Version: 1.1) Add Content Menu Sections (confluence.menu.add, Version: 1.0) Space Browse Sections (confluence.sections.space.browse, Version: 1.0) Tabular Metadata (confluence.extra.masterdetail, Version: 2.7) Space Admin Sections (confluence.sections.space.admin, Version: 1.0) Advanced Macros (confluence.macros.advanced, Version: 1.3) Page Tabs (confluence.search.mappers.lucene, Version: 1.0) IM Presence NG Plugin (confluence.extra.impresence2, Version: 2.0) Atlassian Plugin Repository (confluence.repository.client, Version: 2.0.12) Edit Profile Sections (confluence.sections.profile.edit, Version: 1.0) Confluence Functional Test Remote API (confluence.extra.functestrpc, Version: 2.8-SNAPSHOT) Social Bookmarking Plugin (com.atlassian.confluence.plugins.socialbookmarking, Version: 1.0.7) User Menu Sections (confluence.user.menu, Version: 1.0) Attachment Extractors (confluence.extractors.attachments, Version: 1.4) Left Navigation Theme (com.atlassian.confluence.themes.leftnavigation, Version: 2.0-beta4) BloggingRPC (com.atlassian.confluence.plugins.xmlrpc.bloggingrpc, Version: 1.2.2) Space Item Tabs (confluence.sections.space, Version: 1.0) Code Macro (confluence.macros.code, Version: 1.4) Request Information: URL: http://localhost:8080/confluence/500page.jsp Scheme: http Server: localhost Port: 8080 URI: /confluence/500page.jsp Context Path: /confluence Servlet Path: /500page.jsp Path Info: null Query String: null Attributes: javax.servlet.error.exception: java.lang.IllegalStateException: Can't sendRedirect() after data has committed to the client. sessioninview.FILTERED: true javax.servlet.error.status_code: 500 com.atlassian.johnson.filters.JohnsonFilter_already_filtered: true com.atlassian.gzipfilter.GzipFilter_already_filtered: true atlassian.core.seraph.original.url: /pages/tinyurl.action?urlIdentifier=NotARealTinyURL webwork.valueStack: com.opensymphony.xwork.util.OgnlValueStack@b59d74 Confluence-Request-Time: 1204766354801 javax.servlet.error.servlet_name: action loginfilter.already.filtered: true os_securityfilter_already_filtered: true __sitemesh__filterapplied: true javax.servlet.error.message: Can't sendRedirect() after data has committed to the client. gzipMimeTypes: text/html,text/javascript,text/css,text/plain,application/x-javascript,application/javascript javax.servlet.error.request_uri: /confluence/pages/tinyurl.action javax.servlet.jsp.jspException: java.lang.IllegalStateException: Can't sendRedirect() after data has committed to the client. Parameters: urlIdentifier : NotARealTinyURL -- url: /confluence/pages/tinyurl.action | userName: admin {noformat}

    Atlassian JIRA | 9 years ago | Chris Broadfoot [Atlassian]
    java.lang.IllegalStateException: Can't sendRedirect() after data has committed to the client.
  2. 0

    Found in logs after browsing to {{/pages/tinyurl.action}}, {{/x}}, {{/x/invalidtinyurl}}, or any other tiny url link that does not result in redirection to a Confluence page. {noformat} 2008-03-06 12:19:14,883 ERROR [tcpConnection-8080-0] [atlassian.xwork.interceptors.XWorkTransactionInterceptor] onThrowable Invoking rollback for transaction on action '/pages/tinyurl.action (TinyUrlAction.execute())' due to throwable: java.lang.IllegalStateException: Can't sendRedirect() after data has committed to the client. -- url: /confluence/pages/tinyurl.action | userName: admin java.lang.IllegalStateException: Can't sendRedirect() after data has committed to the client. at com.caucho.server.http.Response.sendRedirect(Response.java:632) at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:170) at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:170) at com.atlassian.gzipfilter.SelectingResponseWrapper.sendRedirect(SelectingResponseWrapper.java:89) at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:170) at com.opensymphony.module.sitemesh.filter.PageResponseWrapper.sendRedirect(PageResponseWrapper.java:181) at com.opensymphony.webwork.dispatcher.ServletRedirectResult.doExecute(ServletRedirectResult.java:79) at com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:116) at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:263) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:187) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:55) at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.atlassian.confluence.core.ConfluenceValidationInterceptor.intercept(ConfluenceValidationInterceptor.java:16) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.util.LoggingContextInterceptor.intercept(LoggingContextInterceptor.java:48) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:54) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:114) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.spaces.actions.SpaceAwareInterceptor.intercept(SpaceAwareInterceptor.java:67) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.actions.LastModifiedInterceptor.intercept(LastModifiedInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.ConfluenceAutowireInterceptor.intercept(ConfluenceAutowireInterceptor.java:25) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:98) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115) at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:229) at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:141) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:54) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.confluence.jmx.JmxFilter.doFilter(JmxFilter.java:109) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:49) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:44) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:192) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:114) at com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:28) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:110) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:142) at com.atlassian.core.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.confluence.core.datetime.RequestTimeThreadLocalFilter.doFilter(RequestTimeThreadLocalFilter.java:34) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:71) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:33) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.caucho.server.http.Invocation.service(Invocation.java:315) at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:253) at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:171) at com.caucho.server.TcpConnection.run(TcpConnection.java:139) at java.lang.Thread.run(Thread.java:613) 2008-03-06 12:19:14,885 ERROR [tcpConnection-8080-0] [opensymphony.webwork.dispatcher.ServletDispatcher] serviceAction Could not execute action -- url: /confluence/pages/tinyurl.action | userName: admin java.lang.IllegalStateException: Can't sendRedirect() after data has committed to the client. at com.caucho.server.http.Response.sendRedirect(Response.java:632) at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:170) at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:170) at com.atlassian.gzipfilter.SelectingResponseWrapper.sendRedirect(SelectingResponseWrapper.java:89) at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:170) at com.opensymphony.module.sitemesh.filter.PageResponseWrapper.sendRedirect(PageResponseWrapper.java:181) at com.opensymphony.webwork.dispatcher.ServletRedirectResult.doExecute(ServletRedirectResult.java:79) at com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:116) at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:263) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:187) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:55) at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.atlassian.confluence.core.ConfluenceValidationInterceptor.intercept(ConfluenceValidationInterceptor.java:16) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.util.LoggingContextInterceptor.intercept(LoggingContextInterceptor.java:48) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:54) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:114) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.spaces.actions.SpaceAwareInterceptor.intercept(SpaceAwareInterceptor.java:67) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.actions.LastModifiedInterceptor.intercept(LastModifiedInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.ConfluenceAutowireInterceptor.intercept(ConfluenceAutowireInterceptor.java:25) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:98) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115) at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:229) at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:141) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:54) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.confluence.jmx.JmxFilter.doFilter(JmxFilter.java:109) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:49) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:44) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:192) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:114) at com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:28) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:110) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:142) at com.atlassian.core.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.confluence.core.datetime.RequestTimeThreadLocalFilter.doFilter(RequestTimeThreadLocalFilter.java:34) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:71) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:33) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.caucho.server.http.Invocation.service(Invocation.java:315) at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:253) at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:171) at com.caucho.server.TcpConnection.run(TcpConnection.java:139) at java.lang.Thread.run(Thread.java:613) 2008-03-06 12:19:14,916 ERROR [tcpConnection-8080-0] [confluence.admin.actions.SystemErrorInformationLogger] writeToLog Build Information buildNumber = 1307 upTime = 15 minutes, 37 seconds devMode = false version = 2.8-SNAPSHOT home = /Users/cbroadfoot/data/confltrunk Request Unique ID : 0x0000011881ABADE1C0A8038A1E3C6C2A89B3D10E60EF40DBC527336DE66409FE Server Information: Application Server: Resin/2.1.17 Servlet Version:: 2.3 Database Dialect: net.sf.hibernate.dialect.HSQLDialect Database Driver Name: org.hsqldb.jdbcDriver Database Driver Version: 1.8 Database Name: HSQL Database Engine Database Version: 1.8.0 Database Latency:0 System Info userName = cbroadfoot favouriteColour = Myrtle time = 12:19:14 javaVm = Java HotSpot(TM) Client VM operatingSystemArchitecture = i386 date = Thursday, 06 Mar 2008 operatingSystem = Mac OS X 10.4.10 jvmVersion = 1.0 userTimezone = Australia/Sydney fileSystemEncoding = MacRoman jvmImplementationVersion = 1.5.0_13-121 appServer = RESIN2 javaVendor = Apple Computer, Inc. javaVersion = 1.5.0_13 javaRuntime = Java(TM) 2 Runtime Environment, Standard Edition jvmVendor = Sun Microsystems Inc. JVM Stats freeMemoryInMegabytes = 46 totalMemoryInMegabytes = 125 freeMemory = 48792152 usedMemory = 83217832 totalMemory = 132009984 usedMemoryInMegabytes = 79 Cluster Information: Not clustered. Enabled Plugins: Content Action Menu Sections (confluence.content.action.menu, Version: 1.0) Default Theme (com.atlassian.confluence.themes.default, Version: 1.0) Basic Macros (confluence.macros.basic, Version: 1.3) Confluence Usage Stats (com.atlassian.confluence.ext.usage, Version: 0.8-SNAPSHOT) User Listener (confluence.extra.userlister, Version: 2.3) Chart Plugin (confluence.extra.chart, Version: 1.9) Information Macros (confluence.extra.information, Version: 1.0) Global Labels Sections (confluence.sections.labels, Version: 1.0) Page Operations (confluence.sections.page.operations, Version: 1.0) WebDAV Plugin (confluence.extra.webdav, Version: 1.1) Confluence Remote API (confluence.extra.confluencerpc, Version: 2.8-SNAPSHOT) Profile Tabs (confluence.sections.profile, Version: 1.0) French language pack (confluence.languages.fr_FR, Version: 1.5) Admin Sections (confluence.sections.admin, Version: 1.0) Core Startup and Shutdown (confluence.lifecycle.core, Version: 1) Content Buttons (confluence.sections.page.temp, Version: 1.0) Table of Contents Plugin (org.randombits.confluence.toc, Version: 2.4.1) TinyMCE Editor Plugin (com.atlassian.confluence.extra.tinymceplugin, Version: 2.12-beta2) Space Pages Sections (confluence.sections.space.pages, Version: 1.0) Confluence Classic Theme (com.atlassian.confluence.themes.classic, Version: 2.0-beta4) Space Advanced Sections (confluence.sections.space.advanced, Version: 1.0) News Tabs (confluence.sections.news, Version: 1.0) Confluence Attachments Plugin (confluence.extra.attachments, Version: 2.10) Confluence Contributors Plugin (com.atlassian.confluence.contributors, Version: 1.1) Space Actions Sections (confluence.sections.space.actions, Version: 1.0) Core Path Converters (confluence.converters.core, Version: 1.0) Space Labels Sections (confluence.sections.space.labels, Version: 1.0) Wiki Renderer Components (confluence.renderer.components, Version: 1.0) Core Extractors (confluence.extractors.core, Version: 1.4) Compatibility Macros (confluence.macros.compatibility, Version: 1.3) Page Tabs (confluence.sections.page, Version: 1.0) Core Listeners (confluence.listeners.core, Version: 1.3) Dynamic Task List 2 Plugin (confluence.extra.dynamictasklist2, Version: 2.1.3) Dashboard Macros (confluence.macros.dashboard, Version: 1.3) Live Search Macros (confluence.extra.livesearch, Version: 2.6) Page View Links (confluence.sections.page.actions, Version: 1.0) System Web Resources (confluence.web.resources, Version: 1.0) JIRA Macros (confluence.extra.jira, Version: 2.7) Attachment Actions (confluence.sections.attachments, Version: 1.0) Clickr Theme (com.atlassian.confluence.themes.clickr, Version: 2.0-beta5) Layout Macros (confluence.extra.layout, Version: 1.1) German language pack (confluence.languages.de_DE, Version: 1.1) Add Content Menu Sections (confluence.menu.add, Version: 1.0) Space Browse Sections (confluence.sections.space.browse, Version: 1.0) Tabular Metadata (confluence.extra.masterdetail, Version: 2.7) Space Admin Sections (confluence.sections.space.admin, Version: 1.0) Advanced Macros (confluence.macros.advanced, Version: 1.3) Page Tabs (confluence.search.mappers.lucene, Version: 1.0) IM Presence NG Plugin (confluence.extra.impresence2, Version: 2.0) Atlassian Plugin Repository (confluence.repository.client, Version: 2.0.12) Edit Profile Sections (confluence.sections.profile.edit, Version: 1.0) Confluence Functional Test Remote API (confluence.extra.functestrpc, Version: 2.8-SNAPSHOT) Social Bookmarking Plugin (com.atlassian.confluence.plugins.socialbookmarking, Version: 1.0.7) User Menu Sections (confluence.user.menu, Version: 1.0) Attachment Extractors (confluence.extractors.attachments, Version: 1.4) Left Navigation Theme (com.atlassian.confluence.themes.leftnavigation, Version: 2.0-beta4) BloggingRPC (com.atlassian.confluence.plugins.xmlrpc.bloggingrpc, Version: 1.2.2) Space Item Tabs (confluence.sections.space, Version: 1.0) Code Macro (confluence.macros.code, Version: 1.4) Request Information: URL: http://localhost:8080/confluence/500page.jsp Scheme: http Server: localhost Port: 8080 URI: /confluence/500page.jsp Context Path: /confluence Servlet Path: /500page.jsp Path Info: null Query String: null Attributes: javax.servlet.error.exception: java.lang.IllegalStateException: Can't sendRedirect() after data has committed to the client. sessioninview.FILTERED: true javax.servlet.error.status_code: 500 com.atlassian.johnson.filters.JohnsonFilter_already_filtered: true com.atlassian.gzipfilter.GzipFilter_already_filtered: true atlassian.core.seraph.original.url: /pages/tinyurl.action?urlIdentifier=NotARealTinyURL webwork.valueStack: com.opensymphony.xwork.util.OgnlValueStack@b59d74 Confluence-Request-Time: 1204766354801 javax.servlet.error.servlet_name: action loginfilter.already.filtered: true os_securityfilter_already_filtered: true __sitemesh__filterapplied: true javax.servlet.error.message: Can't sendRedirect() after data has committed to the client. gzipMimeTypes: text/html,text/javascript,text/css,text/plain,application/x-javascript,application/javascript javax.servlet.error.request_uri: /confluence/pages/tinyurl.action javax.servlet.jsp.jspException: java.lang.IllegalStateException: Can't sendRedirect() after data has committed to the client. Parameters: urlIdentifier : NotARealTinyURL -- url: /confluence/pages/tinyurl.action | userName: admin {noformat}

    Atlassian JIRA | 9 years ago | Chris Broadfoot [Atlassian]
    java.lang.IllegalStateException: Can't sendRedirect() after data has committed to the client.
  3. 0

    Confluence as CAS Client - CAS Clients - Apereo Wiki

    jasig.org | 4 months ago
    java.lang.IllegalStateException: Can't sendRedirect() after data has committed to the client.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Using Send Redirect to JSP

    Stack Overflow | 4 years ago | Sirojan Gnanaretnam
    java.lang.IllegalStateException: Cannot call sendRedirect() after the response has been committed
  6. 0

    Logout using session.invalidate(), does not forward to login page thereafter

    Stack Overflow | 3 years ago | Ravi Kavaiya
    java.lang.IllegalStateException: Cannot call sendRedirect() after the response has been committed

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Can't sendRedirect() after data has committed to the client.

      at com.caucho.server.http.Response.sendRedirect()
    2. com.caucho.server
      Response.sendRedirect
      1. com.caucho.server.http.Response.sendRedirect(Response.java:632)
      1 frame
    3. JavaServlet
      HttpServletResponseWrapper.sendRedirect
      1. javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:170)
      2. javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:170)
      2 frames
    4. com.atlassian.gzipfilter
      SelectingResponseWrapper.sendRedirect
      1. com.atlassian.gzipfilter.SelectingResponseWrapper.sendRedirect(SelectingResponseWrapper.java:89)
      1 frame
    5. JavaServlet
      HttpServletResponseWrapper.sendRedirect
      1. javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:170)
      1 frame
    6. Sitemesh
      PageResponseWrapper.sendRedirect
      1. com.opensymphony.module.sitemesh.filter.PageResponseWrapper.sendRedirect(PageResponseWrapper.java:181)
      1 frame
    7. WebWork
      WebWorkResultSupport.execute
      1. com.opensymphony.webwork.dispatcher.ServletRedirectResult.doExecute(ServletRedirectResult.java:79)
      2. com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:116)
      2 frames
    8. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:263)
      2. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:187)
      2 frames
    9. com.opensymphony.xwork
      AroundInterceptor.intercept
      1. com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
      1 frame
    10. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      1 frame
    11. com.opensymphony.xwork
      DefaultWorkflowInterceptor.intercept
      1. com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:55)
      1 frame
    12. com.atlassian.confluence
      ConfluenceWorkflowInterceptor.intercept
      1. com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:39)
      1 frame
    13. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      1 frame
    14. com.opensymphony.xwork
      AroundInterceptor.intercept
      1. com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
      1 frame
    15. com.atlassian.confluence
      ConfluenceValidationInterceptor.intercept
      1. com.atlassian.confluence.core.ConfluenceValidationInterceptor.intercept(ConfluenceValidationInterceptor.java:16)
      1 frame
    16. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      1 frame
    17. com.opensymphony.xwork
      AroundInterceptor.intercept
      1. com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
      1 frame
    18. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      1 frame
    19. com.atlassian.confluence
      LoggingContextInterceptor.intercept
      1. com.atlassian.confluence.util.LoggingContextInterceptor.intercept(LoggingContextInterceptor.java:48)
      1 frame
    20. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      1 frame
    21. com.atlassian.confluence
      PermissionCheckInterceptor.intercept
      1. com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:54)
      1 frame
    22. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      1 frame
    23. com.atlassian.confluence
      PageAwareInterceptor.intercept
      1. com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:114)
      1 frame
    24. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      1 frame
    25. com.atlassian.confluence
      SpaceAwareInterceptor.intercept
      1. com.atlassian.confluence.spaces.actions.SpaceAwareInterceptor.intercept(SpaceAwareInterceptor.java:67)
      1 frame
    26. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      1 frame
    27. com.opensymphony.xwork
      AroundInterceptor.intercept
      1. com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
      1 frame
    28. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      1 frame
    29. com.atlassian.confluence
      LastModifiedInterceptor.intercept
      1. com.atlassian.confluence.core.actions.LastModifiedInterceptor.intercept(LastModifiedInterceptor.java:39)
      1 frame
    30. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      1 frame
    31. com.atlassian.confluence
      ConfluenceAutowireInterceptor.intercept
      1. com.atlassian.confluence.core.ConfluenceAutowireInterceptor.intercept(ConfluenceAutowireInterceptor.java:25)
      1 frame
    32. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      1 frame
    33. com.opensymphony.xwork
      AroundInterceptor.intercept
      1. com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
      1 frame
    34. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      1 frame
    35. com.opensymphony.xwork
      AroundInterceptor.intercept
      1. com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
      1 frame
    36. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      1 frame
    37. com.atlassian.xwork
      XWorkTransactionInterceptor.intercept
      1. com.atlassian.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:98)
      1 frame
    38. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      1 frame
    39. com.opensymphony.xwork
      AroundInterceptor.intercept
      1. com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
      1 frame
    40. XWork Tiger Extensions
      DefaultActionProxy.execute
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
      2. com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115)
      2 frames
    41. WebWork
      ServletDispatcher.service
      1. com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:229)
      2. com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199)
      2 frames
    42. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      1 frame
    43. com.caucho.server
      FilterChainServlet.doFilter
      1. com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)
      1 frame
    44. Sitemesh
      PageFilter.parsePage
      1. com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
      1 frame
    45. com.atlassian.confluence
      ProfilingPageFilter.parsePage
      1. com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:141)
      1 frame
    46. Sitemesh
      PageFilter.doFilter
      1. com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:54)
      1 frame
    47. com.caucho.server
      FilterChainFilter.doFilter
      1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      1 frame
    48. com.atlassian.confluence
      JmxFilter.doFilter
      1. com.atlassian.confluence.jmx.JmxFilter.doFilter(JmxFilter.java:109)
      1 frame
    49. com.caucho.server
      FilterChainFilter.doFilter
      1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      1 frame
    50. com.atlassian.core
      ServletContextThreadLocalFilter.doFilter
      1. com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21)
      1 frame
    51. com.caucho.server
      FilterChainFilter.doFilter
      1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      1 frame
    52. com.atlassian.confluence
      LoggingContextFilter.doFilter
      1. com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:49)
      1 frame
    53. com.caucho.server
      FilterChainFilter.doFilter
      1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      1 frame
    54. com.atlassian.confluence
      UserThreadLocalFilter.doFilter
      1. com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:44)
      1 frame
    55. com.caucho.server
      FilterChainFilter.doFilter
      1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      1 frame
    56. com.atlassian.seraph
      SecurityFilter.doFilter
      1. com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:192)
      1 frame
    57. com.caucho.server
      FilterChainFilter.doFilter
      1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      1 frame
    58. com.atlassian.seraph
      TrustedApplicationsFilter.doFilter
      1. com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:114)
      1 frame
    59. com.atlassian.confluence
      AbstractBootstrapHotSwappingFilter.doFilter
      1. com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:28)
      1 frame
    60. com.caucho.server
      FilterChainFilter.doFilter
      1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      1 frame
    61. com.atlassian.seraph
      BaseLoginFilter.doFilter
      1. com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:110)
      1 frame
    62. com.caucho.server
      FilterChainFilter.doFilter
      1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      1 frame
    63. com.atlassian.confluence
      ClusterHeaderFilter.doFilter
      1. com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35)
      1 frame
    64. com.caucho.server
      FilterChainFilter.doFilter
      1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      1 frame
    65. com.atlassian.johnson
      AbstractJohnsonFilter.doFilter
      1. com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72)
      1 frame
    66. com.caucho.server
      FilterChainFilter.doFilter
      1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      1 frame
    67. Hibernate
      OpenSessionInViewFilter.doFilterInternal
      1. org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170)
      1 frame
    68. com.atlassian.spring
      FlushingSpringSessionInViewFilter.doFilterInternal
      1. com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29)
      1 frame
    69. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
      1 frame
    70. com.caucho.server
      FilterChainFilter.doFilter
      1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      1 frame
    71. com.atlassian.util
      ProfilingFilter.doFilter
      1. com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:142)
      1 frame
    72. com.atlassian.core
      ProfilingAndErrorFilter.doFilter
      1. com.atlassian.core.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27)
      1 frame
    73. com.caucho.server
      FilterChainFilter.doFilter
      1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      1 frame
    74. com.atlassian.confluence
      RequestTimeThreadLocalFilter.doFilter
      1. com.atlassian.confluence.core.datetime.RequestTimeThreadLocalFilter.doFilter(RequestTimeThreadLocalFilter.java:34)
      1 frame
    75. com.caucho.server
      FilterChainFilter.doFilter
      1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      1 frame
    76. com.atlassian.confluence
      RequestCacheThreadLocalFilter.doFilter
      1. com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25)
      1 frame
    77. com.caucho.server
      FilterChainFilter.doFilter
      1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      1 frame
    78. com.atlassian.gzipfilter
      GzipFilter.doFilter
      1. com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:71)
      1 frame
    79. com.caucho.server
      FilterChainFilter.doFilter
      1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      1 frame
    80. com.atlassian.core
      AbstractEncodingFilter.doFilter
      1. com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:33)
      1 frame
    81. com.caucho.server
      TcpConnection.run
      1. com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88)
      2. com.caucho.server.http.Invocation.service(Invocation.java:315)
      3. com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
      4. com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:253)
      5. com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:171)
      6. com.caucho.server.TcpConnection.run(TcpConnection.java:139)
      6 frames
    82. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:613)
      1 frame