net.sf.hibernate.ObjectNotFoundException: No row with the given identifier exists: 20, of class: com.atlassian.confluence.pages.Page

Atlassian JIRA | Dave Loeng [Atlassian] | 1 decade ago
  1. 0

    When a page is removed, its ID still exists in the history. When the history is requested, persistanceManager.getPage(<insert page id>) is called on all these ids and it dies on the deleted page id. There is currently no pageExists() kind of method either. Maybe we need one. :) Stack trace: 2003-11-25 17:11:03,515 ERROR [sf.hibernate.proxy.LazyInitializer] Exception initializing proxy net.sf.hibernate.ObjectNotFoundException: No row with the given identifier exists: 20, of class: com.atlassian.confluence.pages.Page at net.sf.hibernate.impl.SessionImpl.throwObjectNotFound(SessionImpl.java:1949) at net.sf.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:1975) at net.sf.hibernate.proxy.LazyInitializer.initialize(LazyInitializer.java:49) at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:56) at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:156) at net.sf.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:75) at com.atlassian.confluence.pages.Page$$EnhancedByCGLIB$$0.clone(<generated>) at com.atlassian.confluence.persistence.hibernate.HibernatePersistenceManager.addOriginalUnmodifiedObject(HibernatePersistenceManager.java:33) at com.atlassian.confluence.persistence.confluence.ConfluencePersistenceManager.getById(ConfluencePersistenceManager.java:107) at com.atlassian.confluence.pages.DefaultPageManager.getPage(DefaultPageManager.java:39) at com.atlassian.confluence.user.actions.ViewUserHistoryAction.execute(ViewUserHistoryAction.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:172) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:58) at com.atlassian.confluence.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:17) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:169) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.atlassian.confluence.ConfluenceValidationInterceptor.intercept(ConfluenceValidationInterceptor.java:17) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:169) at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:169) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37)

    Atlassian JIRA | 1 decade ago | Dave Loeng [Atlassian]
    net.sf.hibernate.ObjectNotFoundException: No row with the given identifier exists: 20, of class: com.atlassian.confluence.pages.Page
  2. 0

    When a page is removed, its ID still exists in the history. When the history is requested, persistanceManager.getPage(<insert page id>) is called on all these ids and it dies on the deleted page id. There is currently no pageExists() kind of method either. Maybe we need one. :) Stack trace: 2003-11-25 17:11:03,515 ERROR [sf.hibernate.proxy.LazyInitializer] Exception initializing proxy net.sf.hibernate.ObjectNotFoundException: No row with the given identifier exists: 20, of class: com.atlassian.confluence.pages.Page at net.sf.hibernate.impl.SessionImpl.throwObjectNotFound(SessionImpl.java:1949) at net.sf.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:1975) at net.sf.hibernate.proxy.LazyInitializer.initialize(LazyInitializer.java:49) at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:56) at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:156) at net.sf.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:75) at com.atlassian.confluence.pages.Page$$EnhancedByCGLIB$$0.clone(<generated>) at com.atlassian.confluence.persistence.hibernate.HibernatePersistenceManager.addOriginalUnmodifiedObject(HibernatePersistenceManager.java:33) at com.atlassian.confluence.persistence.confluence.ConfluencePersistenceManager.getById(ConfluencePersistenceManager.java:107) at com.atlassian.confluence.pages.DefaultPageManager.getPage(DefaultPageManager.java:39) at com.atlassian.confluence.user.actions.ViewUserHistoryAction.execute(ViewUserHistoryAction.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:172) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:58) at com.atlassian.confluence.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:17) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:169) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37) at com.atlassian.confluence.ConfluenceValidationInterceptor.intercept(ConfluenceValidationInterceptor.java:17) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:169) at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:169) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37)

    Atlassian JIRA | 1 decade ago | Dave Loeng [Atlassian]
    net.sf.hibernate.ObjectNotFoundException: No row with the given identifier exists: 20, of class: com.atlassian.confluence.pages.Page
  3. 0

    Please give me more info on what went wrong here, and how to resolve it. I see the following on my Bamboo pages - Bamboo failed to run the backup on 06 Jul 2013. See the logs for further details. I see the following on my bamboo server (/opt/bamboo/atlassian-bamboo-4.4.4/logs/atlassian-bamboo.log) - 2013-07-06 00:12:10,692 INFO [QuartzScheduler_Worker-9] [XmlMigrator] Exporting with: com.atlassian.bamboo.migration.stream.ConsumedSubscriptionMapper@2ff18952 2013-07-06 00:12:10,724 ERROR [QuartzScheduler_Worker-9] [LazyInitializer] Exception initializing proxy net.sf.hibernate.ObjectNotFoundException: No row with the given identifier exists: 3375165, of class: com.atlassian.bamboo.resultsummary.BuildResultsSummaryImpl at net.sf.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:24) at net.sf.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:1948) at net.sf.hibernate.proxy.LazyInitializer.initialize(LazyInitializer.java:53) at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:60) at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:164) at net.sf.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:108) at com.atlassian.bamboo.resultsummary.BuildResultsSummaryImpl$$EnhancerByCGLIB$$c1601371.getPlanResultKey(<generated>) at com.atlassian.bamboo.migration.stream.ConsumedSubscriptionMapper.exportProperties(ConsumedSubscriptionMapper.java:87) at com.atlassian.bamboo.migration.stream.ConsumedSubscriptionMapper.exportProperties(ConsumedSubscriptionMapper.java:27) at com.atlassian.bamboo.migration.BambooStAXMappingHelperAbstractImpl.exportXml(BambooStAXMappingHelperAbstractImpl.java:98) at com.atlassian.bamboo.migration.BambooStAXMappingListHelperAbstractImpl.exportListXml(BambooStAXMappingListHelperAbstractImpl.java:149) at com.atlassian.bamboo.migration.BambooStAXMappingListHelperAbstractImpl.exportListXml(BambooStAXMappingListHelperAbstractImpl.java:128) at com.atlassian.bamboo.migration.stream.ConsumedSubscriptionMapper.exportData(ConsumedSubscriptionMapper.java:133) at com.atlassian.bamboo.migration.XmlMigrator.exportToStream(XmlMigrator.java:499) at com.atlassian.bamboo.migration.XmlMigrator.exportXml(XmlMigrator.java:429) at com.atlassian.bamboo.migration.XmlMigrator$$FastClassByCGLIB$$b6578fc7.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:694) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:629) at com.atlassian.bamboo.migration.XmlMigrator$$EnhancerByCGLIB$$8177804.exportXml(<generated>) at com.atlassian.bamboo.migration.ImportExportManagerImpl.bambooExport(ImportExportManagerImpl.java:94) at com.atlassian.bamboo.configuration.ScheduledBackupJob.execute(ScheduledBackupJob.java:74) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at com.atlassian.bamboo.quartz.SystemAuthorizedThreadPool$1.run(SystemAuthorizedThreadPool.java:38) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) 2013-07-06 00:12:10,746 INFO [QuartzScheduler_Worker-9] [XmlMigrator] Ensuring the the file has been unmounted 2013-07-06 00:12:10,746 INFO [QuartzScheduler_Worker-9] [XmlMigrator] Unmounted /mnt/external/bamboo/atlassian-bamboo-4.4.4/backups/bamboo_backup_2013_07_06.zip 2013-07-06 00:12:10,749 INFO [QuartzScheduler_Worker-9] [ServerLifecycleManagerImpl] Server state changed to 'RUNNING' from 'PAUSED' 2013-07-06 00:12:10,749 ERROR [QuartzScheduler_Worker-9] [ScheduledBackupJob] net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.atlassian.bamboo.resultsummary.BuildResultsSummaryImpl#3375165] net.sf.hibernate.LazyInitializationException: Exception initializing proxy: [com.atlassian.bamboo.resultsummary.BuildResultsSummaryImpl#3375165] at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:64) at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:164) at net.sf.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:108) at com.atlassian.bamboo.resultsummary.BuildResultsSummaryImpl$$EnhancerByCGLIB$$c1601371.getPlanResultKey(<generated>) at com.atlassian.bamboo.migration.stream.ConsumedSubscriptionMapper.exportProperties(ConsumedSubscriptionMapper.java:87) at com.atlassian.bamboo.migration.stream.ConsumedSubscriptionMapper.exportProperties(ConsumedSubscriptionMapper.java:27) at com.atlassian.bamboo.migration.BambooStAXMappingHelperAbstractImpl.exportXml(BambooStAXMappingHelperAbstractImpl.java:98) at com.atlassian.bamboo.migration.BambooStAXMappingListHelperAbstractImpl.exportListXml(BambooStAXMappingListHelperAbstractImpl.java:149) at com.atlassian.bamboo.migration.BambooStAXMappingListHelperAbstractImpl.exportListXml(BambooStAXMappingListHelperAbstractImpl.java:128) at com.atlassian.bamboo.migration.stream.ConsumedSubscriptionMapper.exportData(ConsumedSubscriptionMapper.java:133) at com.atlassian.bamboo.migration.XmlMigrator.exportToStream(XmlMigrator.java:499) at com.atlassian.bamboo.migration.XmlMigrator.exportXml(XmlMigrator.java:429) at com.atlassian.bamboo.migration.XmlMigrator$$FastClassByCGLIB$$b6578fc7.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) +++++++++++++++++++++++++ I also see the following - [root@ip-10-170-101-34 atlassian-bamboo-4.4.4]# cd /mnt/external/bamboo/atlassian-bamboo-4.4.4/backups [root@ip-10-170-101-34 backups]# [root@ip-10-170-101-34 backups]# [root@ip-10-170-101-34 backups]# [root@ip-10-170-101-34 backups]# ls -lrt total 9640 -rw-r--r--. 1 bamboo bamboo 4430460 Mar 16 00:01 bamboo_backup_2013_03_16.zip -rw-rw-r--. 1 bamboo bamboo 142132 Mar 23 00:01 bamboo_backup_2013_03_23.zip -rw-rw-r--. 1 bamboo bamboo 195266 Mar 30 00:01 bamboo_backup_2013_03_30.zip -rw-r--r--. 1 bamboo bamboo 273492 Apr 6 00:01 bamboo_backup_2013_04_06.zip -rw-r--r--. 1 bamboo bamboo 418151 Apr 13 00:01 bamboo_backup_2013_04_13.zip -rw-r--r--. 1 bamboo bamboo 176225 Apr 20 00:01 bamboo_backup_2013_04_20.zip -rw-rw-r--. 1 bamboo bamboo 185179 Apr 27 00:01 bamboo_backup_2013_04_27.zip -rw-rw-r--. 1 bamboo bamboo 204153 May 4 01:00 bamboo_backup_2013_05_04.zip -rw-rw-r--. 1 bamboo bamboo 231989 May 11 01:00 bamboo_backup_2013_05_11.zip -rw-rw-r--. 1 bamboo bamboo 295644 May 18 01:00 bamboo_backup_2013_05_18.zip -rw-rw-r--. 1 bamboo bamboo 322224 May 25 01:00 bamboo_backup_2013_05_25.zip -rw-rw-r--. 1 bamboo bamboo 343318 Jun 1 01:00 bamboo_backup_2013_06_01.zip -rw-rw-r--. 1 bamboo bamboo 367570 Jun 8 01:00 bamboo_backup_2013_06_08.zip -rw-rw-r--. 1 bamboo bamboo 434358 Jun 15 01:00 bamboo_backup_2013_06_15.zip -rw-rw-r--. 1 bamboo bamboo 455438 Jun 22 01:00 bamboo_backup_2013_06_22.zip -rw-rw-r--. 1 bamboo bamboo 537870 Jun 29 00:09 bamboo_backup_2013_06_29.zip -rw-rw-r--. 1 bamboo bamboo 821518 Jul 6 00:12 bamboo_backup_2013_07_06.zip

    Atlassian JIRA | 3 years ago | rajneesh sharma
    net.sf.hibernate.ObjectNotFoundException: No row with the given identifier exists: 3375165, of class: com.atlassian.bamboo.resultsummary.BuildResultsSummaryImpl
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When attempting to work with a page, errors like the following are received: {code} 10:09:38,089 ERROR [http-12300-Processor64] [sf.hibernate.proxy.LazyInitializer] initializeWrapExceptions Exception initializing proxy -- url: /confluence/pages/viewpage.action | userName: admin | referrer: none net.sf.hibernate.ObjectNotFoundException: No row with the given identifier exists: 786435, of class: com.atlassian.confluence.pages.Page at net.sf.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:24) at net.sf.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:1946) at net.sf.hibernate.proxy.LazyInitializer.initialize(LazyInitializer.java:53) at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:60) at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:164) at net.sf.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:108) at com.atlassian.confluence.pages.Page$$EnhancerByCGLIB$$70ae8ae5.getLatestVersion(<generated>) at com.atlassian.confluence.pages.actions.PageAwareInterceptor.getSpace(PageAwareInterceptor.java:120) at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:81) 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:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) 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 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:192) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:112) at com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:28) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:110) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) 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 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) 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:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.confluence.core.datetime.RequestTimeThreadLocalFilter.doFilter(RequestTimeThreadLocalFilter.java:34) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:61) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:33) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:619) {code} This is a general error that indicates a problem with database integrity (orphaned or corrupt entries). Although this error can occur in a lot of different circumstances, the general solution is covered in this Knowledgebase Entry: http://confluence.atlassian.com/display/CONFKB/Cannot+Create+XML+Backup+due+to+ObjectNotFoundException+No+Row+with+Given+Identifier Please refer to that document for more details.

    Atlassian JIRA | 9 years ago | Andrew Lynch [Atlassian]
    net.sf.hibernate.ObjectNotFoundException: No row with the given identifier exists: 786435, of class: com.atlassian.confluence.pages.Page
  6. 0

    When attempting to work with a page, errors like the following are received: {code} 10:09:38,089 ERROR [http-12300-Processor64] [sf.hibernate.proxy.LazyInitializer] initializeWrapExceptions Exception initializing proxy -- url: /confluence/pages/viewpage.action | userName: admin | referrer: none net.sf.hibernate.ObjectNotFoundException: No row with the given identifier exists: 786435, of class: com.atlassian.confluence.pages.Page at net.sf.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:24) at net.sf.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:1946) at net.sf.hibernate.proxy.LazyInitializer.initialize(LazyInitializer.java:53) at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:60) at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:164) at net.sf.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:108) at com.atlassian.confluence.pages.Page$$EnhancerByCGLIB$$70ae8ae5.getLatestVersion(<generated>) at com.atlassian.confluence.pages.actions.PageAwareInterceptor.getSpace(PageAwareInterceptor.java:120) at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:81) 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:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) 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 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:192) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:112) at com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:28) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:110) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) 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 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) 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:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.confluence.core.datetime.RequestTimeThreadLocalFilter.doFilter(RequestTimeThreadLocalFilter.java:34) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:61) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:33) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:619) {code} This is a general error that indicates a problem with database integrity (orphaned or corrupt entries). Although this error can occur in a lot of different circumstances, the general solution is covered in this Knowledgebase Entry: http://confluence.atlassian.com/display/CONFKB/Cannot+Create+XML+Backup+due+to+ObjectNotFoundException+No+Row+with+Given+Identifier Please refer to that document for more details.

    Atlassian JIRA | 9 years ago | Andrew Lynch [Atlassian]
    net.sf.hibernate.ObjectNotFoundException: No row with the given identifier exists: 786435, 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.ObjectNotFoundException

      No row with the given identifier exists: 20, of class: com.atlassian.confluence.pages.Page

      at net.sf.hibernate.impl.SessionImpl.throwObjectNotFound()
    2. net.sf.hibernate
      CGLIBLazyInitializer.intercept
      1. net.sf.hibernate.impl.SessionImpl.throwObjectNotFound(SessionImpl.java:1949)
      2. net.sf.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:1975)
      3. net.sf.hibernate.proxy.LazyInitializer.initialize(LazyInitializer.java:49)
      4. net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:56)
      5. net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:156)
      6. net.sf.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:75)
      6 frames
    3. com.atlassian.confluence
      ViewUserHistoryAction.execute
      1. com.atlassian.confluence.pages.Page$$EnhancedByCGLIB$$0.clone(<generated>)
      2. com.atlassian.confluence.persistence.hibernate.HibernatePersistenceManager.addOriginalUnmodifiedObject(HibernatePersistenceManager.java:33)
      3. com.atlassian.confluence.persistence.confluence.ConfluencePersistenceManager.getById(ConfluencePersistenceManager.java:107)
      4. com.atlassian.confluence.pages.DefaultPageManager.getPage(DefaultPageManager.java:39)
      5. com.atlassian.confluence.user.actions.ViewUserHistoryAction.execute(ViewUserHistoryAction.java:39)
      5 frames
    4. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:172)
      1 frame
    5. com.opensymphony.xwork
      DefaultWorkflowInterceptor.intercept
      1. com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:58)
      1 frame
    6. com.atlassian.confluence
      ConfluenceWorkflowInterceptor.intercept
      1. com.atlassian.confluence.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:17)
      1 frame
    7. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:169)
      1 frame
    8. com.opensymphony.xwork
      AroundInterceptor.intercept
      1. com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37)
      1 frame
    9. com.atlassian.confluence
      ConfluenceValidationInterceptor.intercept
      1. com.atlassian.confluence.ConfluenceValidationInterceptor.intercept(ConfluenceValidationInterceptor.java:17)
      1 frame
    10. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:169)
      1 frame
    11. com.atlassian.confluence
      PermissionCheckInterceptor.intercept
      1. com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:39)
      1 frame
    12. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:169)
      1 frame
    13. com.opensymphony.xwork
      AroundInterceptor.intercept
      1. com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37)
      1 frame