java.lang.IllegalStateException

Atlassian JIRA | Gary Weaver | 9 years ago
  1. 0

    the following error comes up in the browser with the attached debug logging when userAccessor.getGroupsForPermissionType(...) is called in Confluence 2.6.0. This worked in Confluence 2.5.7 and previous versions and no code changes were made other than building with the following dependencies (note: the second dependency listed is NOT what Confluence 2.6.0 was built against, but is a newer version. the version of ofbcore-entity that confluence 2.6.0 was built against is not in repository.atlassian.com- however I don't think that this is the issue- but I could be wrong): <dependency> <groupId>com.atlassian.confluence</groupId> <artifactId>confluence</artifactId> <version>2.6.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>ofbcore</groupId> <artifactId>ofbcore-entity</artifactId> <version>2.1.1-atlassian-16Oct06</version> <scope>provided</scope> </dependency> Error copy/paste from browser: CONFLUENCE System Error A system error has occurred - our apologies! Please contact your Confluence administrator to 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! Cause: java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:404) Stack Trace: [hide] java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:404) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) at com.opensymphony.module.sitemesh.filter.PageResponseWrapper.sendError(PageResponseWrapper.java:176) 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:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:137) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:54) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:159) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174) at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:140) at com.atlassian.core.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:61) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:613) Referer URL: http://localhost:8080/customspacemgmt/permissions/docustompermissionsmanage.action?key=SANDBOX&selectedGroup=sandbox-members Build Information: confluence.home: /private/var/confluence system.uptime: 3 hours, 18 minutes, 1 second system.version: 2.6.0 build.number: 913 Server Information: Application Server: Apache Tomcat/5.5.15 Servlet Version: 2.4 Database Dialect: com.atlassian.hibernate.dialect.MySQLDialect Database Driver Name: com.mysql.jdbc.Driver Database Driver Version: 5.0 Memory Information: total.memory: 127 MB free.memory: 75 MB used.memory: 52 MB System Information: system.date: Tuesday, 02 Oct 2007 system.time: 15:56:29 system.favourite.colour: Ecru java.version: 1.5.0_07 java.vendor: Apple Computer, Inc. jvm.version: 1.0 jvm.vendor: Sun Microsystems Inc. jvm.implementation.version: 1.5.0_07-87 java.runtime: Java(TM) 2 Runtime Environment, Standard Edition java.vm: Java HotSpot(TM) Client VM user.name.word: garyweaver user.timezone: America/New_York operating.system: Mac OS X 10.4.10 os.architecture: i386 fs.encoding: MacRoman Cluster Information: Name: development-gsw8 Description: TangosolClusterInformation: development-gsw8, listening on 233.17.78.218:32365 Members: Member(Id=1, Timestamp=2007-10-02 12:38:29.571, Address=152.3.125.38:8088, MachineId=58918) Enabled Plugins: Basic Macros (confluence.macros.basic, Version: 1.3) User Listener (confluence.extra.userlister, Version: 2.0) Chart Plugin (confluence.extra.chart, Version: 1.8) Global Labels Sections (confluence.sections.labels, Version: 1.0) Information Macros (confluence.extra.information, Version: 1.0) Page Operations (confluence.sections.page.operations, Version: 1.0) WebDAV Plugin (confluence.extra.webdav, Version: 1.1) Profile Tabs (confluence.sections.profile, Version: 1.0) Confluence Remote API (confluence.extra.confluencerpc, Version: 2.6.0) French language pack (confluence.languages.fr_FR, Version: 1.5) Core Startup and Shutdown (confluence.lifecycle.core, Version: 1) Admin Sections (confluence.sections.admin, Version: 1.0) Table of Contents Plugin (org.randombits.confluence.toc, Version: 2.4) TinyMCE Editor Plugin (com.atlassian.confluence.extra.tinymceplugin, Version: 2.2.1) Space Pages Sections (confluence.sections.space.pages, Version: 1.0) Confluence Classic Theme (com.atlassian.confluence.themes.classic, Version: 1.3) News Tabs (confluence.sections.news, Version: 1.0) Space Advanced Sections (confluence.sections.space.advanced, Version: 1.0) Confluence Contributors Plugin (com.atlassian.confluence.contributors, Version: 1.1) Attachments Macros (confluence.extra.attachments, Version: 2.7) Custom Space User Management Plugin (raju.kadam.confluence.permissionmgmt, Version: 2.0-SNAPSHOT) Space Actions Sections (confluence.sections.space.actions, Version: 1.0) Task List Macros (confluence.extra.tasklist, Version: 1.3) Space Labels Sections (confluence.sections.space.labels, Version: 1.0) Page Menus Sections (confluence.pages.menus, Version: 1.0) Dynamic Task List Macros (confluence.extra.dynamictasklist, Version: 1.5) 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) 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) JIRA Macros (confluence.extra.jira, Version: 2.0) Clickr Theme (com.atlassian.confluence.themes.clickr, Version: 1.3) Layout Macros (confluence.extra.layout, Version: 1.0) German language pack (confluence.languages.de_DE, Version: 1.1) 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) Atlassian Plugin Repository (confluence.repository.client, Version: 2.0.6) IM Presence NG Plugin (confluence.extra.impresence2, Version: 2.0-rc2) Edit Profile Sections (confluence.sections.profile.edit, Version: 1.0) Social Bookmarking Plugin (com.atlassian.confluence.plugins.socialbookmarking, Version: 1.0.5) Attachment Extractors (confluence.extractors.attachments, Version: 1.4) Left Navigation Theme (com.atlassian.confluence.themes.leftnavigation, Version: 1.5.1) BloggingRPC (com.atlassian.confluence.plugins.xmlrpc.bloggingrpc, Version: 1.2.1) Space Item Tabs (confluence.sections.space, Version: 1.0) Code Macro (confluence.macros.code, Version: 1.4) Request Information: URL: http://localhost:8080/500page.jsp - Scheme: http - Server: localhost - Port: 8080 - URI: /500page.jsp - - Context Path: - - Servlet Path: /500page.jsp - - Path Info: null - - Query String: key=SANDBOX&adminAction=removeGroups&groups=sandbox-members&redirect= Attributes: - javax.servlet.forward.request_uri : /customspacemgmt/permissions/docustompermissionsmanage.action - javax.servlet.forward.context_path : - javax.servlet.forward.servlet_path : /customspacemgmt/permissions/docustompermissionsmanage.action - javax.servlet.forward.path_info : /500page.jsp - javax.servlet.forward.query_string : key=SANDBOX&adminAction=removeGroups&groups=sandbox-members&redirect= - javax.servlet.error.exception : java.lang.IllegalStateException - javax.servlet.error.message : - os_securityfilter_already_filtered : true - com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true - javax.servlet.error.request_uri : /customspacemgmt/permissions/docustompermissionsmanage.action - javax.servlet.error.status_code : 500 - __sitemesh__filterapplied : true - javax.servlet.error.servlet_name : action - webwork.valueStack : com.opensymphony.xwork.util.OgnlValueStack@58ba09 - loginfilter.already.filtered : true - atlassian.core.seraph.original.url : /customspacemgmt/permissions/docustompermissionsmanage.action?key=SANDBOX&adminAction=removeGroups&groups=sandbox-members&redirect= - javax.servlet.jsp.jspException : org.springframework.transaction.UnexpectedRollbackException: Transaction has been rolled back because it has been marked as rollback-only - sessioninview.FILTERED : true - com.atlassian.core.filters.gzip.GzipFilter_already_filtered : true Parameters: - key = SANDBOX - groups = sandbox-members - adminAction = removeGroups - redirect = Confluence User: - anonymous Logging: 0 log statements generated by this request.

    Atlassian JIRA | 9 years ago | Gary Weaver
    java.lang.IllegalStateException
  2. 0

    the following error comes up in the browser with the attached debug logging when userAccessor.getGroupsForPermissionType(...) is called in Confluence 2.6.0. This worked in Confluence 2.5.7 and previous versions and no code changes were made other than building with the following dependencies (note: the second dependency listed is NOT what Confluence 2.6.0 was built against, but is a newer version. the version of ofbcore-entity that confluence 2.6.0 was built against is not in repository.atlassian.com- however I don't think that this is the issue- but I could be wrong): <dependency> <groupId>com.atlassian.confluence</groupId> <artifactId>confluence</artifactId> <version>2.6.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>ofbcore</groupId> <artifactId>ofbcore-entity</artifactId> <version>2.1.1-atlassian-16Oct06</version> <scope>provided</scope> </dependency> Error copy/paste from browser: CONFLUENCE System Error A system error has occurred - our apologies! Please contact your Confluence administrator to 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! Cause: java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:404) Stack Trace: [hide] java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:404) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107) at com.opensymphony.module.sitemesh.filter.PageResponseWrapper.sendError(PageResponseWrapper.java:176) 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:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:137) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:54) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:159) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174) at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:140) at com.atlassian.core.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:61) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:613) Referer URL: http://localhost:8080/customspacemgmt/permissions/docustompermissionsmanage.action?key=SANDBOX&selectedGroup=sandbox-members Build Information: confluence.home: /private/var/confluence system.uptime: 3 hours, 18 minutes, 1 second system.version: 2.6.0 build.number: 913 Server Information: Application Server: Apache Tomcat/5.5.15 Servlet Version: 2.4 Database Dialect: com.atlassian.hibernate.dialect.MySQLDialect Database Driver Name: com.mysql.jdbc.Driver Database Driver Version: 5.0 Memory Information: total.memory: 127 MB free.memory: 75 MB used.memory: 52 MB System Information: system.date: Tuesday, 02 Oct 2007 system.time: 15:56:29 system.favourite.colour: Ecru java.version: 1.5.0_07 java.vendor: Apple Computer, Inc. jvm.version: 1.0 jvm.vendor: Sun Microsystems Inc. jvm.implementation.version: 1.5.0_07-87 java.runtime: Java(TM) 2 Runtime Environment, Standard Edition java.vm: Java HotSpot(TM) Client VM user.name.word: garyweaver user.timezone: America/New_York operating.system: Mac OS X 10.4.10 os.architecture: i386 fs.encoding: MacRoman Cluster Information: Name: development-gsw8 Description: TangosolClusterInformation: development-gsw8, listening on 233.17.78.218:32365 Members: Member(Id=1, Timestamp=2007-10-02 12:38:29.571, Address=152.3.125.38:8088, MachineId=58918) Enabled Plugins: Basic Macros (confluence.macros.basic, Version: 1.3) User Listener (confluence.extra.userlister, Version: 2.0) Chart Plugin (confluence.extra.chart, Version: 1.8) Global Labels Sections (confluence.sections.labels, Version: 1.0) Information Macros (confluence.extra.information, Version: 1.0) Page Operations (confluence.sections.page.operations, Version: 1.0) WebDAV Plugin (confluence.extra.webdav, Version: 1.1) Profile Tabs (confluence.sections.profile, Version: 1.0) Confluence Remote API (confluence.extra.confluencerpc, Version: 2.6.0) French language pack (confluence.languages.fr_FR, Version: 1.5) Core Startup and Shutdown (confluence.lifecycle.core, Version: 1) Admin Sections (confluence.sections.admin, Version: 1.0) Table of Contents Plugin (org.randombits.confluence.toc, Version: 2.4) TinyMCE Editor Plugin (com.atlassian.confluence.extra.tinymceplugin, Version: 2.2.1) Space Pages Sections (confluence.sections.space.pages, Version: 1.0) Confluence Classic Theme (com.atlassian.confluence.themes.classic, Version: 1.3) News Tabs (confluence.sections.news, Version: 1.0) Space Advanced Sections (confluence.sections.space.advanced, Version: 1.0) Confluence Contributors Plugin (com.atlassian.confluence.contributors, Version: 1.1) Attachments Macros (confluence.extra.attachments, Version: 2.7) Custom Space User Management Plugin (raju.kadam.confluence.permissionmgmt, Version: 2.0-SNAPSHOT) Space Actions Sections (confluence.sections.space.actions, Version: 1.0) Task List Macros (confluence.extra.tasklist, Version: 1.3) Space Labels Sections (confluence.sections.space.labels, Version: 1.0) Page Menus Sections (confluence.pages.menus, Version: 1.0) Dynamic Task List Macros (confluence.extra.dynamictasklist, Version: 1.5) 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) 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) JIRA Macros (confluence.extra.jira, Version: 2.0) Clickr Theme (com.atlassian.confluence.themes.clickr, Version: 1.3) Layout Macros (confluence.extra.layout, Version: 1.0) German language pack (confluence.languages.de_DE, Version: 1.1) 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) Atlassian Plugin Repository (confluence.repository.client, Version: 2.0.6) IM Presence NG Plugin (confluence.extra.impresence2, Version: 2.0-rc2) Edit Profile Sections (confluence.sections.profile.edit, Version: 1.0) Social Bookmarking Plugin (com.atlassian.confluence.plugins.socialbookmarking, Version: 1.0.5) Attachment Extractors (confluence.extractors.attachments, Version: 1.4) Left Navigation Theme (com.atlassian.confluence.themes.leftnavigation, Version: 1.5.1) BloggingRPC (com.atlassian.confluence.plugins.xmlrpc.bloggingrpc, Version: 1.2.1) Space Item Tabs (confluence.sections.space, Version: 1.0) Code Macro (confluence.macros.code, Version: 1.4) Request Information: URL: http://localhost:8080/500page.jsp - Scheme: http - Server: localhost - Port: 8080 - URI: /500page.jsp - - Context Path: - - Servlet Path: /500page.jsp - - Path Info: null - - Query String: key=SANDBOX&adminAction=removeGroups&groups=sandbox-members&redirect= Attributes: - javax.servlet.forward.request_uri : /customspacemgmt/permissions/docustompermissionsmanage.action - javax.servlet.forward.context_path : - javax.servlet.forward.servlet_path : /customspacemgmt/permissions/docustompermissionsmanage.action - javax.servlet.forward.path_info : /500page.jsp - javax.servlet.forward.query_string : key=SANDBOX&adminAction=removeGroups&groups=sandbox-members&redirect= - javax.servlet.error.exception : java.lang.IllegalStateException - javax.servlet.error.message : - os_securityfilter_already_filtered : true - com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true - javax.servlet.error.request_uri : /customspacemgmt/permissions/docustompermissionsmanage.action - javax.servlet.error.status_code : 500 - __sitemesh__filterapplied : true - javax.servlet.error.servlet_name : action - webwork.valueStack : com.opensymphony.xwork.util.OgnlValueStack@58ba09 - loginfilter.already.filtered : true - atlassian.core.seraph.original.url : /customspacemgmt/permissions/docustompermissionsmanage.action?key=SANDBOX&adminAction=removeGroups&groups=sandbox-members&redirect= - javax.servlet.jsp.jspException : org.springframework.transaction.UnexpectedRollbackException: Transaction has been rolled back because it has been marked as rollback-only - sessioninview.FILTERED : true - com.atlassian.core.filters.gzip.GzipFilter_already_filtered : true Parameters: - key = SANDBOX - groups = sandbox-members - adminAction = removeGroups - redirect = Confluence User: - anonymous Logging: 0 log statements generated by this request.

    Atlassian JIRA | 9 years ago | Gary Weaver
    java.lang.IllegalStateException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    I have a big problem after upgrading to Struts 2.1.6. My application works fine when using Struts 2.0.11. After upgrading to Struts 2.1.6, the application keep showing a "Blank Page" randomly (sometimes it happen, and quite often, but no pattern at all) when struts try to redirect to other action. I'm in devMode = false, and the log shows an exception like this: [2009-04-28 16:49:16,374]DEBUG ServletRedirectResult:57 - Redirecting to finalLocation /pages/home.action? Apr 28, 2009 4:49:16 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet default threw exception java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:407) at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:108) at com.opensymphony.module.sitemesh.filter.PageResponseWrapper.sendError(PageResponseWrapper.java:176) at org.apache.struts2.dispatcher.Dispatcher.sendError(Dispatcher.java:725) at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:485) at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) at org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter.doFilter(StrutsExecuteFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:127) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:63) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter.doFilter(StrutsPrepareFilter.java:65) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509) at java.lang.Thread.run(Unknown Source) [2009-04-28 16:49:16,376]DEBUG DisposableBeanAdapter:203 - Invoking destroy method 'close' on bean with name 'hibernateSession' [2009-04-28 16:49:16,376]DEBUG HibernateSession:60 - closing hibernateSession [2009-04-28 16:49:16,376]DEBUG RequestContextListener:89 - Cleared thread-bound request context: org.apache.catalina.connector.RequestFacade@1eb2473 Apr 28, 2009 4:49:16 PM org.apache.catalina.core.StandardHostValve custom SEVERE: Exception Processing ErrorPage[exceptionType=java.lang.Exception, location=/error.jsp] java.lang.IllegalStateException at org.apache.coyote.Response.reset(Response.java:297) at org.apache.catalina.connector.Response.reset(Response.java:658) at org.apache.catalina.connector.Response.reset(Response.java:925) at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:417) at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:271) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509) at java.lang.Thread.run(Unknown Source) I have made a little adjustment due to an issue in Sitemesh 2.3 PageFilter, you can see the issue here: http://jira.opensymphony.com/browse/SIM-151 To fix the sitemesh issue, I have to make a replacement class for default PageFilter (because struts 2 doesn't support latest Sitemesh 2.4.1), and remove the code "request.getSession(true);". The "blank page" I said previously is happening before and after I have created a new PageFilter, so the changes I've made wont be a matter. In the test case, I try to login and log out repeatedly, and a blank page keep shows up (randomly) when try to redirect form login.action to home.action. the web.xml settings: <filter> <filter-name>struts2-prepare</filter-name> <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter</filter-class> </filter> <filter> <filter-name>velocity</filter-name> <filter-class>org.apache.struts2.sitemesh.VelocityPageFilter</filter-class> </filter> <filter> <filter-name>struts2-execute</filter-name> <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter</filter-class> </filter> <filter-mapping> <filter-name>struts2-prepare</filter-name> <url-pattern>*.action</url-pattern> </filter-mapping> <filter-mapping> <filter-name>velocity</filter-name> <url-pattern>*.action</url-pattern> </filter-mapping> <filter-mapping> <filter-name>struts2-execute</filter-name> <url-pattern>*.action</url-pattern> </filter-mapping> The login and logout action XML: <action name="login" class="com.cpssoft.action.menus.general.LoginAction"> <interceptor-ref name="defaultStack" /> <interceptor-ref name="language" /> <result name="input" type="velocity">/pages/general/login.vm</result> <result name="success" type="redirect"> ${originalUrl}</result> </action> <action name="logout" class="com.cpssoft.action.menus.general.LoginAction" method="logout"> <interceptor-ref name="defaultStack" /> <interceptor-ref name="language" /> <result name="input" type="velocity">/pages/general/login.vm</result> </action> ${originalUrl} will be filled with: "/pages/home.action" (See the exception above). Any Idea how to fix this issue? Thx a lot

    Apache's JIRA Issue Tracker | 8 years ago | Yoseph Stephen
    java.lang.IllegalStateException

  1. tvrmsmith 114 times, last 1 month ago
  2. Andreas Häber 1 times, last 6 months ago
29 unregistered visitors
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

    No message provided

    at org.apache.catalina.connector.ResponseFacade.sendError()
  2. Glassfish Core
    ResponseFacade.sendError
    1. org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:404)
    1 frame
  3. JavaServlet
    HttpServletResponseWrapper.sendError
    1. javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107)
    2. javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:107)
    2 frames
  4. Sitemesh
    PageResponseWrapper.sendError
    1. com.opensymphony.module.sitemesh.filter.PageResponseWrapper.sendError(PageResponseWrapper.java:176)
    1 frame
  5. WebWork
    ServletDispatcher.service
    1. com.opensymphony.webwork.dispatcher.ServletDispatcher.sendError(ServletDispatcher.java:349)
    2. com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:235)
    3. com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199)
    3 frames
  6. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    1 frame
  7. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    2 frames
  8. Sitemesh
    PageFilter.parsePage
    1. com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
    1 frame
  9. com.atlassian.confluence
    ProfilingPageFilter.parsePage
    1. com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:137)
    1 frame
  10. Sitemesh
    PageFilter.doFilter
    1. com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:54)
    1 frame
  11. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    2 frames
  12. com.atlassian.core
    ServletContextThreadLocalFilter.doFilter
    1. com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21)
    1 frame
  13. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    2 frames
  14. com.atlassian.confluence
    LoggingContextFilter.doFilter
    1. com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:46)
    1 frame
  15. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    2 frames
  16. com.atlassian.confluence
    UserThreadLocalFilter.doFilter
    1. com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:44)
    1 frame
  17. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    2 frames
  18. com.atlassian.seraph
    SecurityFilter.doFilter
    1. com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182)
    1 frame
  19. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    2 frames
  20. com.atlassian.seraph
    LoginFilter.doFilter
    1. com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:159)
    1 frame
  21. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    2 frames
  22. com.atlassian.confluence
    ClusterHeaderFilter.doFilter
    1. com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35)
    1 frame
  23. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    2 frames
  24. com.atlassian.johnson
    JohnsonFilter.doFilter
    1. com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96)
    1 frame
  25. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    2 frames
  26. Hibernate
    OpenSessionInViewFilter.doFilterInternal
    1. org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)
    1 frame
  27. com.atlassian.spring
    FlushingSpringSessionInViewFilter.doFilterInternal
    1. com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29)
    1 frame
  28. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    1 frame
  29. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    2 frames
  30. com.atlassian.util
    ProfilingFilter.doFilter
    1. com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:140)
    1 frame
  31. com.atlassian.core
    ProfilingAndErrorFilter.doFilter
    1. com.atlassian.core.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27)
    1 frame
  32. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    2 frames
  33. com.atlassian.confluence
    RequestCacheThreadLocalFilter.doFilter
    1. com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25)
    1 frame
  34. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    2 frames
  35. com.atlassian.core
    GzipFilter.doFilter
    1. com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:61)
    1 frame
  36. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    2 frames
  37. com.atlassian.core
    AbstractEncodingFilter.doFilter
    1. com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37)
    1 frame
  38. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    8 frames
  39. Grizzly HTTP
    LeaderFollowerWorkerThread.runIt
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
    3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    4 frames
  40. Tomcat Util
    ThreadPool$ControlRunnable.run
    1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    1 frame
  41. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:613)
    1 frame