net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 2949, of class: com.atlassian.confluence.security.SpacePermission

Atlassian JIRA | Daniel Ostermeier | 1 decade ago
  1. 0

    This problem occurs when you try to delete the TEST space on CAC: (The great thing about this exception is that it is reproducible, you always seem to get a problem with page object with ID 116621453). If you want to try this on CAC, you may want to change the loglevel settings a bit so you can actually see the forest for the trees: com.opensymphony.webwork.dispatcher.ServletDispatcher FATAL com.stepstonetech.confluence.seo.SEOUtils FATAL org.apache.commons.httpclient.HttpMethodBase ERROR And now the complete error message: 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: org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page at org.springframework.orm.hibernate.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:578) caused by: net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page at net.sf.hibernate.impl.SessionImpl.forceFlush(SessionImpl.java:763) Stack Trace: [hide] org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page Caused by: net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page at net.sf.hibernate.impl.SessionImpl.forceFlush(SessionImpl.java:763) at net.sf.hibernate.impl.SessionImpl.save(SessionImpl.java:741) at net.sf.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:1386) at net.sf.hibernate.engine.Cascades$4.cascade(Cascades.java:114) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:436) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:503) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:482) at net.sf.hibernate.impl.SessionImpl.preFlushEntities(SessionImpl.java:2701) at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2271) at net.sf.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:1815) at net.sf.hibernate.impl.SessionImpl.findBySQL(SessionImpl.java:3863) at net.sf.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:52) at com.atlassian.confluence.pages.persistence.dao.hibernate.HibernatePageDao$4.doInHibernate(HibernatePageDao.java:459) at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:370) at org.springframework.orm.hibernate.HibernateTemplate.executeFind(HibernateTemplate.java:341) at com.atlassian.confluence.pages.persistence.dao.hibernate.HibernatePageDao.getDescendents(HibernatePageDao.java:449) at com.atlassian.confluence.pages.DefaultPageManager.getDescendents(DefaultPageManager.java:127) at com.atlassian.confluence.pages.DefaultPageManager.removePageFromAncestorCollections(DefaultPageManager.java:154) at com.atlassian.confluence.pages.Page.remove(Page.java:189) at com.atlassian.confluence.pages.DefaultPageManager.removeAllPages(DefaultPageManager.java:174) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy18.removeAllPages(Unknown Source) at com.atlassian.confluence.spaces.DefaultSpaceManager.removeSpace(DefaultSpaceManager.java:128) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy34.removeSpace(Unknown Source) at com.atlassian.confluence.spaces.actions.RemoveSpaceAction.doRemove(RemoveSpaceAction.java:17) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:302) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) 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:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:124) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:54) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:49) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:44) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:192) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:114) at com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:28) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:110) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) 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.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:140) at com.atlassian.core.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.confluence.core.datetime.RequestTimeThreadLocalFilter.doFilter(RequestTimeThreadLocalFilter.java:34) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:53) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:33) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520) at com.caucho.util.ThreadPool.run(ThreadPool.java:442) at java.lang.Thread.run(Thread.java:619) Referer URL: http://confluence.atlassian.com/spaces/removespace.action?key=TEST Build Information: confluence.home: /opt/j2ee/domains/atlassian.com/confluence/webapps/atlassian-confluence/data system.uptime: 16 hours, 42 minutes, 5 seconds system.version: 2.7 build.number: 1109 Unique ID: 0x00000117578A7F4E3FF616C5E60665D9335525B6D525CD9DC84648AAEAFFAB9F Server Information: Application Server: Resin/3.0.23 Servlet Version: 2.4 Database Dialect: net.sf.hibernate.dialect.PostgreSQLDialect Database Driver Name: N/A Database Driver Version: N/A Database Name: N/A Database Version: N/A Memory Information: total.memory: 1475 MB free.memory: 563 MB used.memory: 912 MB System Information: system.date: Monday, 07 Jan 2008 system.time: 21:56:10 system.favourite.colour: Cinnabar java.version: 1.6.0_01 java.vendor: Sun Microsystems Inc. jvm.version: 1.0 jvm.vendor: Sun Microsystems Inc. jvm.implementation.version: 1.6.0_01-b06 java.runtime: Java(TM) SE Runtime Environment java.vm: Java HotSpot(TM) 64-Bit Server VM user.name.word: j2ee user.timezone: America/Chicago operating.system: Linux 2.6.18-53.el5 os.architecture: amd64 fs.encoding: ANSI_X3.4-1968 Cluster Information: Not clustered. Enabled Plugins: Calendar Plugin (confluence.extra.calendar, Version: 2.5) Confluence Attachments Plugin (confluence.extra.attachments, Version: 2.9) JIRA Macros (confluence.extra.jira, Version: 2.4) Social Bookmarking Plugin (com.atlassian.confluence.plugins.socialbookmarking, Version: 1.0.6) Atlassian Proxy Statistics (com.atlassian.ext.proxystat, Version: 2.0.8-SNAPSHOT) Composition Plugin (org.randombits.confluence.composition, Version: 2.2) Admin Sections (confluence.sections.admin, Version: 1.0) Chart Plugin (confluence.extra.chart, Version: 1.9) Google Maps (com.atlassian.confluence.ext.gmaps, Version: 0.4.1) Left Navigation Theme (com.atlassian.confluence.themes.leftnavigation, Version: 1.5.1) Confluence Remote API (confluence.extra.confluencerpc, Version: 2.7) Page Operations (confluence.sections.page.operations, Version: 1.0) Doppler Theme (com.atlassian.confluence.theme.bamboo, Version: 0.9) Collapsable Rss Plugin (com.atlassian.confluence.plugins.collapsablerss, Version: 0.6.2) Advanced Macros (confluence.macros.advanced, Version: 1.3) Zen Foundation (com.stepstonetech.confluence.zenfoundation, Version: 2.0.2) Slideshow Plugin (com.atlassian.confluence.ext.slideshow, Version: 0.3) Code Macro (confluence.macros.code, Version: 1.4) TinyMCE Editor Plugin (com.atlassian.confluence.extra.tinymceplugin, Version: 2.9) Global Statistics Plugin (confluence.extra.globalstats, Version: 1.0) Page Menus Sections (confluence.pages.menus, Version: 1.0) Table of Contents Plugin (org.randombits.confluence.toc, Version: 2.4.1) Atlassian Plugin Repository (confluence.repository.client, Version: 2.0.12) Confluence Classic Theme (com.atlassian.confluence.themes.classic, Version: 1.3) Metadata Plugin (com.pantero.confluence.plugins.metadata, Version: 1.6) Excel Plugin (org.swift.confluence.excel, Version: 3.3.0) Space Advanced Sections (confluence.sections.space.advanced, Version: 1.0) Gliffy Plugin (com.gliffy.integration.confluence, Version: 1.3.4) Clickr Theme (com.atlassian.confluence.themes.clickr, Version: 1.4) RSVP Plugin (com.atlassian.confluence.extra.rsvp, Version: 1.2) Attachment Actions (confluence.sections.attachments, Version: 1.0) IM Presence NG Plugin (confluence.extra.impresence2, Version: 2.0) Space Labels Sections (confluence.sections.space.labels, Version: 1.0) Space Actions Sections (confluence.sections.space.actions, Version: 1.0) Information Macros (confluence.extra.information, Version: 1.0) Live Search Macros (confluence.extra.livesearch, Version: 2.6) Web Sharing Plugin (com.atlassian.confluence.ext.websharing, Version: 0.2) Global Labels Sections (confluence.sections.labels, Version: 1.0) Page View Links (confluence.sections.page.actions, Version: 1.0) YourKit Profiling Plugin (com.atlassian.confluence.ext.yourkit, Version: 0.4) Space Admin Sections (confluence.sections.space.admin, Version: 1.0) Core Listeners (confluence.listeners.core, Version: 1.3) Cache Plugin (org.swift.confluence.cache, Version: 3.1.0) Space Item Tabs (confluence.sections.space, Version: 1.0) Pagetree Search (com.atlassian.confluence.plugins.pagetreesearch, Version: 1.1.2-SNAPSHOT) New Code Macro (confluence.ext.code, Version: 1.0.2) Page Tree (bnpparibas.confluence.pagetree, Version: 1.3) Task List Macros (confluence.extra.tasklist, Version: 3) Space Pages Sections (confluence.sections.space.pages, Version: 1.0) Copy Space Plugin (com.atlassian.confluence.plugin.copyspace, Version: 0.0.11) Page Tabs (confluence.sections.page, Version: 1.0) BloggingRPC (com.atlassian.confluence.plugins.xmlrpc.bloggingrpc, Version: 1.2.2) Dynamic Task List Macros (confluence.extra.dynamictasklist, Version: 1.7) Attachment Extractors (confluence.extractors.attachments, Version: 1.4) Linking Plugin (net.customware.confluence.plugin.linking, Version: 2.4.1) German language pack (confluence.languages.de_DE, Version: 1.1) French language pack (confluence.languages.fr_FR, Version: 1.5) News Tabs (confluence.sections.news, Version: 1.0) Basic Macros (confluence.macros.basic, Version: 1.3) Core Extractors (confluence.extractors.core, Version: 1.4) Core Startup and Shutdown (confluence.lifecycle.core, Version: 1) Compatibility Macros (confluence.macros.compatibility, Version: 1.3) Dashboard Macros (confluence.macros.dashboard, Version: 1.3) Edit Profile Sections (confluence.sections.profile.edit, Version: 1.0) Slideshow (com.atlassian.confluence.extra.slideshow, Version: 1.0) Confluence Contributors Plugin (com.atlassian.confluence.contributors, Version: 1.1) Adaptavist SubSection (com.adaptavist.confluence.subsection, Version: 1.0.5) User Listener (confluence.extra.userlister, Version: 2.1) Adaptavist Content Formatting Macros (com.adaptavist.confluence.contentFormattingMacros, Version: 1.6.5) Table Plugin (org.swift.confluence.table, Version: 3.3.1) Confluence Feedburner Plugin (com.atlassian.confluence.plugin.feedburner.confluence-feedburner-plugin, Version: confluence26-1.0) Tabular Metadata (confluence.extra.masterdetail, Version: 2.7) Layout Macros (confluence.extra.layout, Version: 1.1) Profile Tabs (confluence.sections.profile, Version: 1.0) Request Information: URL: http://j2ee.confluence.atlassian.com:8080/500page.jsp - Scheme: http - Server: j2ee.confluence.atlassian.com - Port: 8080 - URI: /500page.jsp - - Context Path: - - Servlet Path: /500page.jsp - - Path Info: - - Query String: key=TEST foofoo Attributes: - Confluence-Request-Time : 1199764503639 - webwork.valueStack : com.opensymphony.xwork.util.OgnlValueStack@15fa7eeb - javax.servlet.error.message : deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page - sessioninview.FILTERED : true - com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true - javax.servlet.error.exception : org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page - javax.servlet.forward.servlet_path : /spaces/doremovespace.action - os_securityfilter_already_filtered : true - caucho.forward : true - com.atlassian.core.filters.gzip.GzipFilter_already_filtered : true - javax.servlet.error.servlet_name : action - javax.servlet.jsp.jspException : org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page - __sitemesh__filterapplied : true - javax.servlet.forward.request_uri : /spaces/doremovespace.action - javax.servlet.error.status_code : 500 - javax.servlet.forward.query_string : key=TEST - javax.servlet.error.request_uri : /spaces/doremovespace.action - atlassian.core.seraph.original.url : /spaces/doremovespace.action?key=TEST - loginfilter.already.filtered : true - javax.servlet.forward.context_path : Parameters: - confirm = OK - key = TEST Confluence User: - pfragemann Logging: 40 log statements generated by this request: [WARN] Mon Jan 07 21:55:05 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > vivox ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:55:05 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > vivox ] to [ dgbr ]: No email set [ERROR] Mon Jan 07 21:55:05 CST 2008 [com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao] Could not find attachments to remove at '/opt/j2ee/domains/atlassian.com/confluence/webapps/atlassian-confluence/data/attachments/4554914/4751377' [WARN] Mon Jan 07 21:55:06 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > vivox ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:55:07 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > vivox ] to [ dgbr ]: No email set [WARN] Mon Jan 07 21:55:10 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Travel plans ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:55:10 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Travel plans ] to [ dgbr ]: No email set [WARN] Mon Jan 07 21:55:17 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Babetts 1. Seite ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:55:17 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Babetts 1. Seite ] to [ dgbr ]: No email set [WARN] Mon Jan 07 21:55:19 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Yet another test ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:55:19 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Yet another test ] to [ dgbr ]: No email set [WARN] Mon Jan 07 21:55:32 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space >  Vente Winston Cigarettes ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:55:32 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space >  Vente Winston Cigarettes ] to [ dgbr ]: No email set [WARN] Mon Jan 07 21:55:49 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Szinergia teszt ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:55:49 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Szinergia teszt ] to [ dgbr ]: No email set [ERROR] Mon Jan 07 21:55:49 CST 2008 [com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao] Could not find attachments to remove at '/opt/j2ee/domains/atlassian.com/confluence/webapps/atlassian-confluence/data/attachments/116621451/116785161' [WARN] Mon Jan 07 21:55:49 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Szinergia teszt ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:55:49 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Szinergia teszt ] to [ dgbr ]: No email set [ERROR] Mon Jan 07 21:55:50 CST 2008 [com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao] Could not find attachments to remove at '/opt/j2ee/domains/atlassian.com/confluence/webapps/atlassian-confluence/data/attachments/116621451/116785163' [ERROR] Mon Jan 07 21:55:50 CST 2008 [com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao] Could not find attachments to remove at '/opt/j2ee/domains/atlassian.com/confluence/webapps/atlassian-confluence/data/attachments/116621451/116785162' [WARN] Mon Jan 07 21:55:50 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Szinergia teszt ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:55:50 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Szinergia teszt ] to [ dgbr ]: No email set [WARN] Mon Jan 07 21:56:01 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Unwanted Link ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:56:01 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Unwanted Link ] to [ dgbr ]: No email set [WARN] Mon Jan 07 21:56:06 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Aloldal ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:56:06 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Aloldal ] to [ dgbr ]: No email set [ERROR] Mon Jan 07 21:56:06 CST 2008 [com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao] Could not find attachments to remove at '/opt/j2ee/domains/atlassian.com/confluence/webapps/atlassian-confluence/data/attachments/116621453/116785167' [ERROR] Mon Jan 07 21:56:06 CST 2008 [com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao] Could not find attachments to remove at '/opt/j2ee/domains/atlassian.com/confluence/webapps/atlassian-confluence/data/attachments/116621453/116785168' [ERROR] Mon Jan 07 21:56:06 CST 2008 [com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao] Could not find attachments to remove at '/opt/j2ee/domains/atlassian.com/confluence/webapps/atlassian-confluence/data/attachments/116621453/116785166' [WARN] Mon Jan 07 21:56:06 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Aloldal ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:56:06 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Aloldal ] to [ dgbr ]: No email set [ERROR] Mon Jan 07 21:56:07 CST 2008 [com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao] Could not find attachments to remove at '/opt/j2ee/domains/atlassian.com/confluence/webapps/atlassian-confluence/data/attachments/116621453/116785164' [WARN] Mon Jan 07 21:56:07 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Aloldal ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:56:07 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Aloldal ] to [ dgbr ]: No email set [ERROR] Mon Jan 07 21:56:07 CST 2008 [com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao] Could not find attachments to remove at '/opt/j2ee/domains/atlassian.com/confluence/webapps/atlassian-confluence/data/attachments/116621453/116785165' [WARN] Mon Jan 07 21:56:09 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Aloldal ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:56:09 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Aloldal ] to [ dgbr ]: No email set [ERROR] Mon Jan 07 21:56:10 CST 2008 [com.atlassian.xwork.interceptors.XWorkTransactionInterceptor] Invoking rollback for transaction on action '/spaces/doremovespace.action (RemoveSpaceAction.doRemove())' due to throwable: org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page Throwable: org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page Caused by: net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page at net.sf.hibernate.impl.SessionImpl.forceFlush(SessionImpl.java:763) at net.sf.hibernate.impl.SessionImpl.save(SessionImpl.java:741) at net.sf.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:1386) at net.sf.hibernate.engine.Cascades$4.cascade(Cascades.java:114) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:436) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:503) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:482) at net.sf.hibernate.impl.SessionImpl.preFlushEntities(SessionImpl.java:2701) at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2271) at net.sf.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:1815) at net.sf.hibernate.impl.SessionImpl.findBySQL(SessionImpl.java:3863) at net.sf.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:52) at com.atlassian.confluence.pages.persistence.dao.hibernate.HibernatePageDao$4.doInHibernate(HibernatePageDao.java:459) at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:370) at org.springframework.orm.hibernate.HibernateTemplate.executeFind(HibernateTemplate.java:341) at com.atlassian.confluence.pages.persistence.dao.hibernate.HibernatePageDao.getDescendents(HibernatePageDao.java:449) at com.atlassian.confluence.pages.DefaultPageManager.getDescendents(DefaultPageManager.java:127) [WARN] Mon Jan 07 21:56:10 CST 2008 [com.atlassian.confluence.admin.actions.ViewSystemInfoAction] Attempting to retrieve database info without configured SessionFactory [ERROR] Mon Jan 07 21:56:10 CST 2008 [com.atlassian.confluence.admin.actions.SystemErrorInformationLogger] Build Information confluence.home = /opt/j2ee/domains/atlassian.com/confluence/webapps/atlassian-confluence/data system.uptime = 16 hours, 42 minutes, 5 seconds system.version = 2.7 build.number = 1109 Request Unique ID : 0x00000117578A7F4E3FF616C5E60665D9335525B6D525CD9DC84648AAEAFFAB9FServer Information:Application Server: Resin/3.0.23 Servlet Version:: 2.4 Database Dialect: net.sf.hibernate.dialect.PostgreSQLDialect Database Driver Name: N/A Database Driver Version: N/A Database Name: N/A Database Version: N/A System Info system.date = Monday, 07 Jan 2008 system.time = 21:56:10 system.favourite.colour = Cinnabar java.version = 1.6.0_01 java.vendor = Sun Microsystems Inc. jvm.version = 1.0 jvm.vendor = Sun Microsystems Inc. jvm.implementation.version = 1.6.0_01-b06 java.runtime = Java(TM) SE Runtime Environment java.vm = Java HotSpot(TM) 64-Bit Server VM user.name.word = j2ee user.timezone = America/Chicago operating.system = Linux 2.6.18-53.el5 os.architecture = amd64 fs.encoding = ANSI_X3.4-1968 JVM Stats total.memory = 1475 free.memory = 557 used.memory = 918 Cluster Information: Not clustered. Enabled Plugins: Calendar Plugin (confluence.extra.calendar, Version: 2.5) Confluence Attachments Plugin (confluence.extra.attachments, Version: 2.9) JIRA Macros (confluence.extra.jira, Version: 2.4) Social Bookmarking Plugin (com.atlassian.confluence.plugins.socialbookmarking, Version: 1.0.6) Atlassian Proxy Statistics (com.atlassian.ext.proxystat, Version: 2.0.8-SNAPSHOT) Composition Plugin (org.randombits.confluence.composition, Version: 2.2) Admin Sections (confluence.sections.admin, Version: 1.0) Chart Plugin (confluence.extra.chart, Version: 1.9) Google Maps (com.atlassian.confluence.ext.gmaps, Version: 0.4.1) Left Navigation Theme (com.atlassian.confluence.themes.leftnavigation, Version: 1.5.1) Confluence Remote API (confluence.extra.confluencerpc, Version: 2.7) Page Operations (confluence.sections.page.operations, Version: 1.0) Doppler Theme (com.atlassian.confluence.theme.bamboo, Version: 0.9) Collapsable Rss Plugin (com.atlassian.confluence.plugins.collapsablerss, Version: 0.6.2) Advanced Macros (confluence.macros.advanced, Version: 1.3) Zen Foundation (com.stepstonetech.confluence.zenfoundation, Version: 2.0.2) Slideshow Plugin (com.atlassian.confluence.ext.slideshow, Version: 0.3) Code Macro (confluence.macros.code, Version: 1.4) TinyMCE Editor Plugin (com.atlassian.confluence.extra.tinymceplugin, Version: 2.9) Global Statistics Plugin (confluence.extra.globalstats, Version: 1.0) Page Menus Sections (confluence.pages.menus, Version: 1.0) Table of Contents Plugin (org.randombits.confluence.toc, Version: 2.4.1) Atlassian Plugin Repository (confluence.repository.client, Version: 2.0.12) Confluence Classic Theme (com.atlassian.confluence.themes.classic, Version: 1.3) Metadata Plugin (com.pantero.confluence.plugins.metadata, Version: 1.6) Excel Plugin (org.swift.confluence.excel, Version: 3.3.0) Space Advanced Sections (confluence.sections.space.advanced, Version: 1.0) Gliffy Plugin (com.gliffy.integration.confluence, Version: 1.3.4) Clickr Theme (com.atlassian.confluence.themes.clickr, Version: 1.4) RSVP Plugin (com.atlassian.confluence.extra.rsvp, Version: 1.2) Attachment Actions (confluence.sections.attachments, Version: 1.0) IM Presence NG Plugin (confluence.extra.impresence2, Version: 2.0) Space Labels Sections (confluence.sections.space.labels, Version: 1.0) Space Actions Sections (confluence.sections.space.actions, Version: 1.0) Information Macros (confluence.extra.information, Version: 1.0) Live Search Macros (confluence.extra.livesearch, Version: 2.6) Web Sharing Plugin (com.atlassian.confluence.ext.websharing, Version: 0.2) Global Labels Sections (confluence.sections.labels, Version: 1.0) Page View Links (confluence.sections.page.actions, Version: 1.0) YourKit Profiling Plugin (com.atlassian.confluence.ext.yourkit, Version: 0.4) Space Admin Sections (confluence.sections.space.admin, Version: 1.0) Core Listeners (confluence.listeners.core, Version: 1.3) Cache Plugin (org.swift.confluence.cache, Version: 3.1.0) Space Item Tabs (confluence.sections.space, Version: 1.0) Pagetree Search (com.atlassian.confluence.plugins.pagetreesearch, Version: 1.1.2-SNAPSHOT) New Code Macro (confluence.ext.code, Version: 1.0.2) Page Tree (bnpparibas.confluence.pagetree, Version: 1.3) Task List Macros (confluence.extra.tasklist, Version: 3) Space Pages Sections (confluence.sections.space.pages, Version: 1.0) Copy Space Plugin (com.atlassian.confluence.plugin.copyspace, Version: 0.0.11) Page Tabs (confluence.sections.page, Version: 1.0) BloggingRPC (com.atlassian.confluence.plugins.xmlrpc.bloggingrpc, Version: 1.2.2) Dynamic Task List Macros (confluence.extra.dynamictasklist, Version: 1.7) Attachment Extractors (confluence.extractors.attachments, Version: 1.4) Linking Plugin (net.customware.confluence.plugin.linking, Version: 2.4.1) German language pack (confluence.languages.de_DE, Version: 1.1) French language pack (confluence.languages.fr_FR, Version: 1.5) News Tabs (confluence.sections.news, Version: 1.0) Basic Macros (confluence.macros.basic, Version: 1.3) Core Extractors (confluence.extractors.core, Version: 1.4) Core Startup and Shutdown (confluence.lifecycle.core, Version: 1) Compatibility Macros (confluence.macros.compatibility, Version: 1.3) Dashboard Macros (confluence.macros.dashboard, Version: 1.3) Edit Profile Sections (confluence.sections.profile.edit, Version: 1.0) Slideshow (com.atlassian.confluence.extra.slideshow, Version: 1.0) Confluence Contributors Plugin (com.atlassian.confluence.contributors, Version: 1.1) Adaptavist SubSection (com.adaptavist.confluence.subsection, Version: 1.0.5) User Listener (confluence.extra.userlister, Version: 2.1) Adaptavist Content Formatting Macros (com.adaptavist.confluence.contentFormattingMacros, Version: 1.6.5) Table Plugin (org.swift.confluence.table, Version: 3.3.1) Confluence Feedburner Plugin (com.atlassian.confluence.plugin.feedburner.confluence-feedburner-plugin, Version: confluence26-1.0) Tabular Metadata (confluence.extra.masterdetail, Version: 2.7) Layout Macros (confluence.extra.layout, Version: 1.1) Profile Tabs (confluence.sections.profile, Version: 1.0) Request Information: URL: http://j2ee.confluence.atlassian.com:8080/500page.jsp Scheme: http Server: j2ee.confluence.atlassian.com Port: 8080 URI: /500page.jsp Context Path: Servlet Path: /500page.jsp Path Info: null Query String: key=TEST Attributes: Confluence-Request-Time: 1199764503639 webwork.valueStack: com.opensymphony.xwork.util.OgnlValueStack@15fa7eeb javax.servlet.error.message: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page sessioninview.FILTERED: true com.atlassian.johnson.filters.JohnsonFilter_already_filtered: true javax.servlet.error.exception: org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page javax.servlet.forward.servlet_path: /spaces/doremovespace.action os_securityfilter_already_filtered: true caucho.forward: true com.atlassian.core.filters.gzip.GzipFilter_already_filtered: true javax.servlet.error.servlet_name: action javax.servlet.jsp.jspException: org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page __sitemesh__filterapplied: true javax.servlet.forward.request_uri: /spaces/doremovespace.action javax.servlet.error.status_code: 500 javax.servlet.forward.query_string: key=TEST javax.servlet.error.request_uri: /spaces/doremovespace.action atlassian.core.seraph.original.url: /spaces/doremovespace.action?key=TEST loginfilter.already.filtered: true javax.servlet.forward.context_path: Parameters: confirm : OK key : TEST

    Atlassian JIRA | 9 years ago | Per Fragemann [Atlassian]
    net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    This problem occurs when you try to delete the TEST space on CAC: (The great thing about this exception is that it is reproducible, you always seem to get a problem with page object with ID 116621453). If you want to try this on CAC, you may want to change the loglevel settings a bit so you can actually see the forest for the trees: com.opensymphony.webwork.dispatcher.ServletDispatcher FATAL com.stepstonetech.confluence.seo.SEOUtils FATAL org.apache.commons.httpclient.HttpMethodBase ERROR And now the complete error message: 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: org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page at org.springframework.orm.hibernate.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:578) caused by: net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page at net.sf.hibernate.impl.SessionImpl.forceFlush(SessionImpl.java:763) Stack Trace: [hide] org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page Caused by: net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page at net.sf.hibernate.impl.SessionImpl.forceFlush(SessionImpl.java:763) at net.sf.hibernate.impl.SessionImpl.save(SessionImpl.java:741) at net.sf.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:1386) at net.sf.hibernate.engine.Cascades$4.cascade(Cascades.java:114) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:436) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:503) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:482) at net.sf.hibernate.impl.SessionImpl.preFlushEntities(SessionImpl.java:2701) at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2271) at net.sf.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:1815) at net.sf.hibernate.impl.SessionImpl.findBySQL(SessionImpl.java:3863) at net.sf.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:52) at com.atlassian.confluence.pages.persistence.dao.hibernate.HibernatePageDao$4.doInHibernate(HibernatePageDao.java:459) at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:370) at org.springframework.orm.hibernate.HibernateTemplate.executeFind(HibernateTemplate.java:341) at com.atlassian.confluence.pages.persistence.dao.hibernate.HibernatePageDao.getDescendents(HibernatePageDao.java:449) at com.atlassian.confluence.pages.DefaultPageManager.getDescendents(DefaultPageManager.java:127) at com.atlassian.confluence.pages.DefaultPageManager.removePageFromAncestorCollections(DefaultPageManager.java:154) at com.atlassian.confluence.pages.Page.remove(Page.java:189) at com.atlassian.confluence.pages.DefaultPageManager.removeAllPages(DefaultPageManager.java:174) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy18.removeAllPages(Unknown Source) at com.atlassian.confluence.spaces.DefaultSpaceManager.removeSpace(DefaultSpaceManager.java:128) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy34.removeSpace(Unknown Source) at com.atlassian.confluence.spaces.actions.RemoveSpaceAction.doRemove(RemoveSpaceAction.java:17) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:302) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) 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:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:124) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:54) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:49) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:44) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:192) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:114) at com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:28) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:110) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) 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.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:140) at com.atlassian.core.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.confluence.core.datetime.RequestTimeThreadLocalFilter.doFilter(RequestTimeThreadLocalFilter.java:34) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:53) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:33) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520) at com.caucho.util.ThreadPool.run(ThreadPool.java:442) at java.lang.Thread.run(Thread.java:619) Referer URL: http://confluence.atlassian.com/spaces/removespace.action?key=TEST Build Information: confluence.home: /opt/j2ee/domains/atlassian.com/confluence/webapps/atlassian-confluence/data system.uptime: 16 hours, 42 minutes, 5 seconds system.version: 2.7 build.number: 1109 Unique ID: 0x00000117578A7F4E3FF616C5E60665D9335525B6D525CD9DC84648AAEAFFAB9F Server Information: Application Server: Resin/3.0.23 Servlet Version: 2.4 Database Dialect: net.sf.hibernate.dialect.PostgreSQLDialect Database Driver Name: N/A Database Driver Version: N/A Database Name: N/A Database Version: N/A Memory Information: total.memory: 1475 MB free.memory: 563 MB used.memory: 912 MB System Information: system.date: Monday, 07 Jan 2008 system.time: 21:56:10 system.favourite.colour: Cinnabar java.version: 1.6.0_01 java.vendor: Sun Microsystems Inc. jvm.version: 1.0 jvm.vendor: Sun Microsystems Inc. jvm.implementation.version: 1.6.0_01-b06 java.runtime: Java(TM) SE Runtime Environment java.vm: Java HotSpot(TM) 64-Bit Server VM user.name.word: j2ee user.timezone: America/Chicago operating.system: Linux 2.6.18-53.el5 os.architecture: amd64 fs.encoding: ANSI_X3.4-1968 Cluster Information: Not clustered. Enabled Plugins: Calendar Plugin (confluence.extra.calendar, Version: 2.5) Confluence Attachments Plugin (confluence.extra.attachments, Version: 2.9) JIRA Macros (confluence.extra.jira, Version: 2.4) Social Bookmarking Plugin (com.atlassian.confluence.plugins.socialbookmarking, Version: 1.0.6) Atlassian Proxy Statistics (com.atlassian.ext.proxystat, Version: 2.0.8-SNAPSHOT) Composition Plugin (org.randombits.confluence.composition, Version: 2.2) Admin Sections (confluence.sections.admin, Version: 1.0) Chart Plugin (confluence.extra.chart, Version: 1.9) Google Maps (com.atlassian.confluence.ext.gmaps, Version: 0.4.1) Left Navigation Theme (com.atlassian.confluence.themes.leftnavigation, Version: 1.5.1) Confluence Remote API (confluence.extra.confluencerpc, Version: 2.7) Page Operations (confluence.sections.page.operations, Version: 1.0) Doppler Theme (com.atlassian.confluence.theme.bamboo, Version: 0.9) Collapsable Rss Plugin (com.atlassian.confluence.plugins.collapsablerss, Version: 0.6.2) Advanced Macros (confluence.macros.advanced, Version: 1.3) Zen Foundation (com.stepstonetech.confluence.zenfoundation, Version: 2.0.2) Slideshow Plugin (com.atlassian.confluence.ext.slideshow, Version: 0.3) Code Macro (confluence.macros.code, Version: 1.4) TinyMCE Editor Plugin (com.atlassian.confluence.extra.tinymceplugin, Version: 2.9) Global Statistics Plugin (confluence.extra.globalstats, Version: 1.0) Page Menus Sections (confluence.pages.menus, Version: 1.0) Table of Contents Plugin (org.randombits.confluence.toc, Version: 2.4.1) Atlassian Plugin Repository (confluence.repository.client, Version: 2.0.12) Confluence Classic Theme (com.atlassian.confluence.themes.classic, Version: 1.3) Metadata Plugin (com.pantero.confluence.plugins.metadata, Version: 1.6) Excel Plugin (org.swift.confluence.excel, Version: 3.3.0) Space Advanced Sections (confluence.sections.space.advanced, Version: 1.0) Gliffy Plugin (com.gliffy.integration.confluence, Version: 1.3.4) Clickr Theme (com.atlassian.confluence.themes.clickr, Version: 1.4) RSVP Plugin (com.atlassian.confluence.extra.rsvp, Version: 1.2) Attachment Actions (confluence.sections.attachments, Version: 1.0) IM Presence NG Plugin (confluence.extra.impresence2, Version: 2.0) Space Labels Sections (confluence.sections.space.labels, Version: 1.0) Space Actions Sections (confluence.sections.space.actions, Version: 1.0) Information Macros (confluence.extra.information, Version: 1.0) Live Search Macros (confluence.extra.livesearch, Version: 2.6) Web Sharing Plugin (com.atlassian.confluence.ext.websharing, Version: 0.2) Global Labels Sections (confluence.sections.labels, Version: 1.0) Page View Links (confluence.sections.page.actions, Version: 1.0) YourKit Profiling Plugin (com.atlassian.confluence.ext.yourkit, Version: 0.4) Space Admin Sections (confluence.sections.space.admin, Version: 1.0) Core Listeners (confluence.listeners.core, Version: 1.3) Cache Plugin (org.swift.confluence.cache, Version: 3.1.0) Space Item Tabs (confluence.sections.space, Version: 1.0) Pagetree Search (com.atlassian.confluence.plugins.pagetreesearch, Version: 1.1.2-SNAPSHOT) New Code Macro (confluence.ext.code, Version: 1.0.2) Page Tree (bnpparibas.confluence.pagetree, Version: 1.3) Task List Macros (confluence.extra.tasklist, Version: 3) Space Pages Sections (confluence.sections.space.pages, Version: 1.0) Copy Space Plugin (com.atlassian.confluence.plugin.copyspace, Version: 0.0.11) Page Tabs (confluence.sections.page, Version: 1.0) BloggingRPC (com.atlassian.confluence.plugins.xmlrpc.bloggingrpc, Version: 1.2.2) Dynamic Task List Macros (confluence.extra.dynamictasklist, Version: 1.7) Attachment Extractors (confluence.extractors.attachments, Version: 1.4) Linking Plugin (net.customware.confluence.plugin.linking, Version: 2.4.1) German language pack (confluence.languages.de_DE, Version: 1.1) French language pack (confluence.languages.fr_FR, Version: 1.5) News Tabs (confluence.sections.news, Version: 1.0) Basic Macros (confluence.macros.basic, Version: 1.3) Core Extractors (confluence.extractors.core, Version: 1.4) Core Startup and Shutdown (confluence.lifecycle.core, Version: 1) Compatibility Macros (confluence.macros.compatibility, Version: 1.3) Dashboard Macros (confluence.macros.dashboard, Version: 1.3) Edit Profile Sections (confluence.sections.profile.edit, Version: 1.0) Slideshow (com.atlassian.confluence.extra.slideshow, Version: 1.0) Confluence Contributors Plugin (com.atlassian.confluence.contributors, Version: 1.1) Adaptavist SubSection (com.adaptavist.confluence.subsection, Version: 1.0.5) User Listener (confluence.extra.userlister, Version: 2.1) Adaptavist Content Formatting Macros (com.adaptavist.confluence.contentFormattingMacros, Version: 1.6.5) Table Plugin (org.swift.confluence.table, Version: 3.3.1) Confluence Feedburner Plugin (com.atlassian.confluence.plugin.feedburner.confluence-feedburner-plugin, Version: confluence26-1.0) Tabular Metadata (confluence.extra.masterdetail, Version: 2.7) Layout Macros (confluence.extra.layout, Version: 1.1) Profile Tabs (confluence.sections.profile, Version: 1.0) Request Information: URL: http://j2ee.confluence.atlassian.com:8080/500page.jsp - Scheme: http - Server: j2ee.confluence.atlassian.com - Port: 8080 - URI: /500page.jsp - - Context Path: - - Servlet Path: /500page.jsp - - Path Info: - - Query String: key=TEST foofoo Attributes: - Confluence-Request-Time : 1199764503639 - webwork.valueStack : com.opensymphony.xwork.util.OgnlValueStack@15fa7eeb - javax.servlet.error.message : deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page - sessioninview.FILTERED : true - com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true - javax.servlet.error.exception : org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page - javax.servlet.forward.servlet_path : /spaces/doremovespace.action - os_securityfilter_already_filtered : true - caucho.forward : true - com.atlassian.core.filters.gzip.GzipFilter_already_filtered : true - javax.servlet.error.servlet_name : action - javax.servlet.jsp.jspException : org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page - __sitemesh__filterapplied : true - javax.servlet.forward.request_uri : /spaces/doremovespace.action - javax.servlet.error.status_code : 500 - javax.servlet.forward.query_string : key=TEST - javax.servlet.error.request_uri : /spaces/doremovespace.action - atlassian.core.seraph.original.url : /spaces/doremovespace.action?key=TEST - loginfilter.already.filtered : true - javax.servlet.forward.context_path : Parameters: - confirm = OK - key = TEST Confluence User: - pfragemann Logging: 40 log statements generated by this request: [WARN] Mon Jan 07 21:55:05 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > vivox ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:55:05 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > vivox ] to [ dgbr ]: No email set [ERROR] Mon Jan 07 21:55:05 CST 2008 [com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao] Could not find attachments to remove at '/opt/j2ee/domains/atlassian.com/confluence/webapps/atlassian-confluence/data/attachments/4554914/4751377' [WARN] Mon Jan 07 21:55:06 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > vivox ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:55:07 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > vivox ] to [ dgbr ]: No email set [WARN] Mon Jan 07 21:55:10 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Travel plans ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:55:10 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Travel plans ] to [ dgbr ]: No email set [WARN] Mon Jan 07 21:55:17 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Babetts 1. Seite ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:55:17 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Babetts 1. Seite ] to [ dgbr ]: No email set [WARN] Mon Jan 07 21:55:19 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Yet another test ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:55:19 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Yet another test ] to [ dgbr ]: No email set [WARN] Mon Jan 07 21:55:32 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space >  Vente Winston Cigarettes ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:55:32 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space >  Vente Winston Cigarettes ] to [ dgbr ]: No email set [WARN] Mon Jan 07 21:55:49 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Szinergia teszt ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:55:49 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Szinergia teszt ] to [ dgbr ]: No email set [ERROR] Mon Jan 07 21:55:49 CST 2008 [com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao] Could not find attachments to remove at '/opt/j2ee/domains/atlassian.com/confluence/webapps/atlassian-confluence/data/attachments/116621451/116785161' [WARN] Mon Jan 07 21:55:49 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Szinergia teszt ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:55:49 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Szinergia teszt ] to [ dgbr ]: No email set [ERROR] Mon Jan 07 21:55:50 CST 2008 [com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao] Could not find attachments to remove at '/opt/j2ee/domains/atlassian.com/confluence/webapps/atlassian-confluence/data/attachments/116621451/116785163' [ERROR] Mon Jan 07 21:55:50 CST 2008 [com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao] Could not find attachments to remove at '/opt/j2ee/domains/atlassian.com/confluence/webapps/atlassian-confluence/data/attachments/116621451/116785162' [WARN] Mon Jan 07 21:55:50 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Szinergia teszt ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:55:50 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Szinergia teszt ] to [ dgbr ]: No email set [WARN] Mon Jan 07 21:56:01 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Unwanted Link ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:56:01 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Unwanted Link ] to [ dgbr ]: No email set [WARN] Mon Jan 07 21:56:06 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Aloldal ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:56:06 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Aloldal ] to [ dgbr ]: No email set [ERROR] Mon Jan 07 21:56:06 CST 2008 [com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao] Could not find attachments to remove at '/opt/j2ee/domains/atlassian.com/confluence/webapps/atlassian-confluence/data/attachments/116621453/116785167' [ERROR] Mon Jan 07 21:56:06 CST 2008 [com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao] Could not find attachments to remove at '/opt/j2ee/domains/atlassian.com/confluence/webapps/atlassian-confluence/data/attachments/116621453/116785168' [ERROR] Mon Jan 07 21:56:06 CST 2008 [com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao] Could not find attachments to remove at '/opt/j2ee/domains/atlassian.com/confluence/webapps/atlassian-confluence/data/attachments/116621453/116785166' [WARN] Mon Jan 07 21:56:06 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Aloldal ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:56:06 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Aloldal ] to [ dgbr ]: No email set [ERROR] Mon Jan 07 21:56:07 CST 2008 [com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao] Could not find attachments to remove at '/opt/j2ee/domains/atlassian.com/confluence/webapps/atlassian-confluence/data/attachments/116621453/116785164' [WARN] Mon Jan 07 21:56:07 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Aloldal ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:56:07 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Aloldal ] to [ dgbr ]: No email set [ERROR] Mon Jan 07 21:56:07 CST 2008 [com.atlassian.confluence.pages.persistence.dao.FileSystemAttachmentDataDao] Could not find attachments to remove at '/opt/j2ee/domains/atlassian.com/confluence/webapps/atlassian-confluence/data/attachments/116621453/116785165' [WARN] Mon Jan 07 21:56:09 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Aloldal ] to [ John Peak ]: No email set [WARN] Mon Jan 07 21:56:09 CST 2008 [com.atlassian.confluence.mail.notification.listeners.AbstractNotificationsListener] Not sending notification email [ Test Space > Aloldal ] to [ dgbr ]: No email set [ERROR] Mon Jan 07 21:56:10 CST 2008 [com.atlassian.xwork.interceptors.XWorkTransactionInterceptor] Invoking rollback for transaction on action '/spaces/doremovespace.action (RemoveSpaceAction.doRemove())' due to throwable: org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page Throwable: org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page Caused by: net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page at net.sf.hibernate.impl.SessionImpl.forceFlush(SessionImpl.java:763) at net.sf.hibernate.impl.SessionImpl.save(SessionImpl.java:741) at net.sf.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:1386) at net.sf.hibernate.engine.Cascades$4.cascade(Cascades.java:114) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:436) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:503) at net.sf.hibernate.engine.Cascades.cascade(Cascades.java:482) at net.sf.hibernate.impl.SessionImpl.preFlushEntities(SessionImpl.java:2701) at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2271) at net.sf.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:1815) at net.sf.hibernate.impl.SessionImpl.findBySQL(SessionImpl.java:3863) at net.sf.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:52) at com.atlassian.confluence.pages.persistence.dao.hibernate.HibernatePageDao$4.doInHibernate(HibernatePageDao.java:459) at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:370) at org.springframework.orm.hibernate.HibernateTemplate.executeFind(HibernateTemplate.java:341) at com.atlassian.confluence.pages.persistence.dao.hibernate.HibernatePageDao.getDescendents(HibernatePageDao.java:449) at com.atlassian.confluence.pages.DefaultPageManager.getDescendents(DefaultPageManager.java:127) [WARN] Mon Jan 07 21:56:10 CST 2008 [com.atlassian.confluence.admin.actions.ViewSystemInfoAction] Attempting to retrieve database info without configured SessionFactory [ERROR] Mon Jan 07 21:56:10 CST 2008 [com.atlassian.confluence.admin.actions.SystemErrorInformationLogger] Build Information confluence.home = /opt/j2ee/domains/atlassian.com/confluence/webapps/atlassian-confluence/data system.uptime = 16 hours, 42 minutes, 5 seconds system.version = 2.7 build.number = 1109 Request Unique ID : 0x00000117578A7F4E3FF616C5E60665D9335525B6D525CD9DC84648AAEAFFAB9FServer Information:Application Server: Resin/3.0.23 Servlet Version:: 2.4 Database Dialect: net.sf.hibernate.dialect.PostgreSQLDialect Database Driver Name: N/A Database Driver Version: N/A Database Name: N/A Database Version: N/A System Info system.date = Monday, 07 Jan 2008 system.time = 21:56:10 system.favourite.colour = Cinnabar java.version = 1.6.0_01 java.vendor = Sun Microsystems Inc. jvm.version = 1.0 jvm.vendor = Sun Microsystems Inc. jvm.implementation.version = 1.6.0_01-b06 java.runtime = Java(TM) SE Runtime Environment java.vm = Java HotSpot(TM) 64-Bit Server VM user.name.word = j2ee user.timezone = America/Chicago operating.system = Linux 2.6.18-53.el5 os.architecture = amd64 fs.encoding = ANSI_X3.4-1968 JVM Stats total.memory = 1475 free.memory = 557 used.memory = 918 Cluster Information: Not clustered. Enabled Plugins: Calendar Plugin (confluence.extra.calendar, Version: 2.5) Confluence Attachments Plugin (confluence.extra.attachments, Version: 2.9) JIRA Macros (confluence.extra.jira, Version: 2.4) Social Bookmarking Plugin (com.atlassian.confluence.plugins.socialbookmarking, Version: 1.0.6) Atlassian Proxy Statistics (com.atlassian.ext.proxystat, Version: 2.0.8-SNAPSHOT) Composition Plugin (org.randombits.confluence.composition, Version: 2.2) Admin Sections (confluence.sections.admin, Version: 1.0) Chart Plugin (confluence.extra.chart, Version: 1.9) Google Maps (com.atlassian.confluence.ext.gmaps, Version: 0.4.1) Left Navigation Theme (com.atlassian.confluence.themes.leftnavigation, Version: 1.5.1) Confluence Remote API (confluence.extra.confluencerpc, Version: 2.7) Page Operations (confluence.sections.page.operations, Version: 1.0) Doppler Theme (com.atlassian.confluence.theme.bamboo, Version: 0.9) Collapsable Rss Plugin (com.atlassian.confluence.plugins.collapsablerss, Version: 0.6.2) Advanced Macros (confluence.macros.advanced, Version: 1.3) Zen Foundation (com.stepstonetech.confluence.zenfoundation, Version: 2.0.2) Slideshow Plugin (com.atlassian.confluence.ext.slideshow, Version: 0.3) Code Macro (confluence.macros.code, Version: 1.4) TinyMCE Editor Plugin (com.atlassian.confluence.extra.tinymceplugin, Version: 2.9) Global Statistics Plugin (confluence.extra.globalstats, Version: 1.0) Page Menus Sections (confluence.pages.menus, Version: 1.0) Table of Contents Plugin (org.randombits.confluence.toc, Version: 2.4.1) Atlassian Plugin Repository (confluence.repository.client, Version: 2.0.12) Confluence Classic Theme (com.atlassian.confluence.themes.classic, Version: 1.3) Metadata Plugin (com.pantero.confluence.plugins.metadata, Version: 1.6) Excel Plugin (org.swift.confluence.excel, Version: 3.3.0) Space Advanced Sections (confluence.sections.space.advanced, Version: 1.0) Gliffy Plugin (com.gliffy.integration.confluence, Version: 1.3.4) Clickr Theme (com.atlassian.confluence.themes.clickr, Version: 1.4) RSVP Plugin (com.atlassian.confluence.extra.rsvp, Version: 1.2) Attachment Actions (confluence.sections.attachments, Version: 1.0) IM Presence NG Plugin (confluence.extra.impresence2, Version: 2.0) Space Labels Sections (confluence.sections.space.labels, Version: 1.0) Space Actions Sections (confluence.sections.space.actions, Version: 1.0) Information Macros (confluence.extra.information, Version: 1.0) Live Search Macros (confluence.extra.livesearch, Version: 2.6) Web Sharing Plugin (com.atlassian.confluence.ext.websharing, Version: 0.2) Global Labels Sections (confluence.sections.labels, Version: 1.0) Page View Links (confluence.sections.page.actions, Version: 1.0) YourKit Profiling Plugin (com.atlassian.confluence.ext.yourkit, Version: 0.4) Space Admin Sections (confluence.sections.space.admin, Version: 1.0) Core Listeners (confluence.listeners.core, Version: 1.3) Cache Plugin (org.swift.confluence.cache, Version: 3.1.0) Space Item Tabs (confluence.sections.space, Version: 1.0) Pagetree Search (com.atlassian.confluence.plugins.pagetreesearch, Version: 1.1.2-SNAPSHOT) New Code Macro (confluence.ext.code, Version: 1.0.2) Page Tree (bnpparibas.confluence.pagetree, Version: 1.3) Task List Macros (confluence.extra.tasklist, Version: 3) Space Pages Sections (confluence.sections.space.pages, Version: 1.0) Copy Space Plugin (com.atlassian.confluence.plugin.copyspace, Version: 0.0.11) Page Tabs (confluence.sections.page, Version: 1.0) BloggingRPC (com.atlassian.confluence.plugins.xmlrpc.bloggingrpc, Version: 1.2.2) Dynamic Task List Macros (confluence.extra.dynamictasklist, Version: 1.7) Attachment Extractors (confluence.extractors.attachments, Version: 1.4) Linking Plugin (net.customware.confluence.plugin.linking, Version: 2.4.1) German language pack (confluence.languages.de_DE, Version: 1.1) French language pack (confluence.languages.fr_FR, Version: 1.5) News Tabs (confluence.sections.news, Version: 1.0) Basic Macros (confluence.macros.basic, Version: 1.3) Core Extractors (confluence.extractors.core, Version: 1.4) Core Startup and Shutdown (confluence.lifecycle.core, Version: 1) Compatibility Macros (confluence.macros.compatibility, Version: 1.3) Dashboard Macros (confluence.macros.dashboard, Version: 1.3) Edit Profile Sections (confluence.sections.profile.edit, Version: 1.0) Slideshow (com.atlassian.confluence.extra.slideshow, Version: 1.0) Confluence Contributors Plugin (com.atlassian.confluence.contributors, Version: 1.1) Adaptavist SubSection (com.adaptavist.confluence.subsection, Version: 1.0.5) User Listener (confluence.extra.userlister, Version: 2.1) Adaptavist Content Formatting Macros (com.adaptavist.confluence.contentFormattingMacros, Version: 1.6.5) Table Plugin (org.swift.confluence.table, Version: 3.3.1) Confluence Feedburner Plugin (com.atlassian.confluence.plugin.feedburner.confluence-feedburner-plugin, Version: confluence26-1.0) Tabular Metadata (confluence.extra.masterdetail, Version: 2.7) Layout Macros (confluence.extra.layout, Version: 1.1) Profile Tabs (confluence.sections.profile, Version: 1.0) Request Information: URL: http://j2ee.confluence.atlassian.com:8080/500page.jsp Scheme: http Server: j2ee.confluence.atlassian.com Port: 8080 URI: /500page.jsp Context Path: Servlet Path: /500page.jsp Path Info: null Query String: key=TEST Attributes: Confluence-Request-Time: 1199764503639 webwork.valueStack: com.opensymphony.xwork.util.OgnlValueStack@15fa7eeb javax.servlet.error.message: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page sessioninview.FILTERED: true com.atlassian.johnson.filters.JohnsonFilter_already_filtered: true javax.servlet.error.exception: org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page javax.servlet.forward.servlet_path: /spaces/doremovespace.action os_securityfilter_already_filtered: true caucho.forward: true com.atlassian.core.filters.gzip.GzipFilter_already_filtered: true javax.servlet.error.servlet_name: action javax.servlet.jsp.jspException: org.springframework.dao.InvalidDataAccessApiUsageException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page; nested exception is net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page __sitemesh__filterapplied: true javax.servlet.forward.request_uri: /spaces/doremovespace.action javax.servlet.error.status_code: 500 javax.servlet.forward.query_string: key=TEST javax.servlet.error.request_uri: /spaces/doremovespace.action atlassian.core.seraph.original.url: /spaces/doremovespace.action?key=TEST loginfilter.already.filtered: true javax.servlet.forward.context_path: Parameters: confirm : OK key : TEST

    Atlassian JIRA | 9 years ago | Per Fragemann [Atlassian]
    net.sf.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): 116621453, of class: com.atlassian.confluence.pages.Page

    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. net.sf.hibernate.ObjectDeletedException

      deleted object would be re-saved by cascade (remove deleted object from associations): 2949, of class: com.atlassian.confluence.security.SpacePermission

      at net.sf.hibernate.impl.SessionImpl.forceFlush()
    2. net.sf.hibernate
      SessionImpl.save
      1. net.sf.hibernate.impl.SessionImpl.forceFlush(SessionImpl.java:763)
      2. net.sf.hibernate.impl.SessionImpl.save(SessionImpl.java:741)
      2 frames