com.xpn.xwiki.XWikiException: Error number 3002 in 3: The attachment could not be found in the filesystem attachment store. This can happen if attachment storage is switched from database to filesystem without first moving all of the database attachments over to the filesystem using a script.

XWiki.org JIRA | intertesto | 5 years ago
  1. 0

    - openoffice server enabled and connected - sotrage on filesystem User case: - if I import a very simple documents without images it works - if there are images in document (tried with doc, ppt, odp, odt) I get an error - in case of text document, I can see the list of attached images, but I can't open because I get in the web page "Error The attachment does not exist." and a corresponding error in log "Error number 3002 in 3: The attachment could not be found in the filesystem attachment store.This can happen if attachment storage is switched from database to filesystem without first moving all of the database attachments over to the filesystem using a script." --- Log --- ERROR faultOfficeViewer ScriptService - Failed to view office document: name = [test.odp], type = [ATTACHMENT], parent = [name = [Rocca], type = [DOCUMENT], parent = [name = [Sandbox], type = [SPACE], parent = [name = [xpublic], type = [WIKI], parent = [null]]]] org.xwiki.officeimporter.OfficeImporterException: Error while converting document [test.odp] into html. at org.xwiki.officeimporter.internal.builder.DefaultPresentationBuilder.importPresentation(DefaultPresentationBuilder.java:145) ~[x wiki-platform-office-importer-3.2.jar:na] .... at java.lang.Thread.run(Thread.java:636) [na:1.6.0_20] Caused by: org.xwiki.officeimporter.openoffice.OpenOfficeConverterException: Error while performing conversion. at org.xwiki.officeimporter.internal.openoffice.DefaultOpenOfficeConverter.convert(DefaultOpenOfficeConverter.java:117) ~[xwiki-platform-office-importer-3.2.jar:na] ...... tform-office-importer-3.2.jar:na] ... 64 common frames omitted Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to be an unsupported one. at com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:177) ~[jurt-3.2.1.jar:na] at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:143) ~[jurt-3.2.1.jar:na] 2011-10-24 16:25:44,912 [**********************************_html_632095c9.png?width=121&height=85] WARN c.x.x.p.i.ImagePlugin - Failed to transform image attachment. com.xpn.xwiki.XWikiException: Error number 3002 in 3: The attachment could not be found in the filesystem attachment store. This can happen if attachment storage is switched from database to filesystem without first moving all of the database attachments over to the filesystem using a script. at com.xpn.xwiki.store.FilesystemAttachmentStore.loadAttachmentContent(FilesystemAttachmentStore.java:225) ~[xwiki-platform-store-filesystem-attachments-3.2.jar:na] at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:4246) ~[xwiki-platform-legacy-oldcore-3.2.jar:na]

    XWiki.org JIRA | 5 years ago | intertesto
    com.xpn.xwiki.XWikiException: Error number 3002 in 3: The attachment could not be found in the filesystem attachment store. This can happen if attachment storage is switched from database to filesystem without first moving all of the database attachments over to the filesystem using a script.
  2. 0

    If you set the base file wrong, as in this link ( http://staging.curriki.org/xwiki/bin/view/Coll_jmarks/MITProjectManagementSpring2004 ) And click on the view asset link, you get an error like Below. Suggest adding the tree view to select the base file as it is not clear how to enter it correctly (I thought I had this one right.) Other errors in setting say that the file does not exist: Error number 3231 in 3: Exception while loading attachment of document Coll_jmarks.MITProjectManagementSpring2004 Wrapped Exception: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#-970569219] com.xpn.xwiki.XWikiException: Error number 3231 in 3: Exception while loading attachment of document Coll_jmarks.MITProjectManagementSpring2004 Wrapped Exception: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#-970569219] at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiHibernateAttachmentStore.java:164) at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:1902) at com.xpn.xwiki.doc.XWikiAttachment.getContent(XWikiAttachment.java:372) at com.xpn.xwiki.web.DownloadAction.render(DownloadAction.java:81) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:145) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231) at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667) at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574) at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844) at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287) at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252) at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75) Wrapped Exception: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#-970569219] at org.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:27) at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:128) at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:177) at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87) at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:862) at org.hibernate.impl.SessionImpl.load(SessionImpl.java:770) at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiHibernateAttachmentStore.java:154) at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:1902) at com.xpn.xwiki.doc.XWikiAttachment.getContent(XWikiAttachment.java:372) at com.xpn.xwiki.web.DownloadAction.render(DownloadAction.java:81) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:145) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231) at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667) at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574) at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844) at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287) at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252) at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)

    XWiki.org JIRA | 1 decade ago | Joshua Marks
    com.xpn.xwiki.XWikiException: Error number 3231 in 3: Exception while loading attachment of document Coll_jmarks.MITProjectManagementSpring2004 Wrapped Exception: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#-970569219]
  3. 0

    While trying to upload a huge file, the following exception is fired: {noformat} 2010-03-26 11:36:43,050 [http://wikilinux.gidi.it:8081/xwiki/bin/upload/Prova/Pagina1] WARN web.UploadAction - Saving uploaded file failed com.xpn.xwiki.XWikiException: Error number 3232 in 3: Exception while saving attachment <huge_file_name> of document Prova.Pagina1 Wrapped Exception: Error number 3004 in 3: Exception while manipulating the archive for file <huge_file_name> Wrapped Exception: null at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.saveAttachmentContent(XWikiHibernateAttachmentStore.java:122) at com.xpn.xwiki.doc.XWikiDocument.saveAttachmentContent(XWikiDocument.java:3726) at com.xpn.xwiki.web.UploadAction.uploadAttachment(UploadAction.java:189) at com.xpn.xwiki.web.UploadAction.action(UploadAction.java:106) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:213) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:118) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) 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:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) 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.RequestFilterValve.process(RequestFilterValve.java:276) at org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:81) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873) 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:689) at java.lang.Thread.run(Thread.java:619) Wrapped Exception: com.xpn.xwiki.XWikiException: Error number 3004 in 3: Exception while manipulating the archive for file ibmlotusnotes-8.5.i586.rpm Wrapped Exception: null at com.xpn.xwiki.doc.XWikiAttachmentArchive.updateArchive(XWikiAttachmentArchive.java:139) at com.xpn.xwiki.doc.XWikiAttachment.updateContentArchive(XWikiAttachment.java:548) at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.saveAttachmentContent(XWikiHibernateAttachmentStore.java:79) at com.xpn.xwiki.doc.XWikiDocument.saveAttachmentContent(XWikiDocument.java:3726) at com.xpn.xwiki.web.UploadAction.uploadAttachment(UploadAction.java:189) at com.xpn.xwiki.web.UploadAction.action(UploadAction.java:106) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:213) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:118) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) 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:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) 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.RequestFilterValve.process(RequestFilterValve.java:276) at org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:81) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873) 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:689) at java.lang.Thread.run(Thread.java:619) Wrapped Exception: java.lang.NegativeArraySizeException at org.apache.commons.codec.binary.Base64.encodeBase64(Base64.java:258) at org.apache.commons.codec.binary.Base64.encodeBase64(Base64.java:178) at com.xpn.xwiki.doc.XWikiAttachment.toXML(XWikiAttachment.java:351) at com.xpn.xwiki.doc.XWikiAttachment.toStringXML(XWikiAttachment.java:290) at com.xpn.xwiki.doc.XWikiAttachmentArchive.updateArchive(XWikiAttachmentArchive.java:129) at com.xpn.xwiki.doc.XWikiAttachment.updateContentArchive(XWikiAttachment.java:548) at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.saveAttachmentContent(XWikiHibernateAttachmentStore.java:79) at com.xpn.xwiki.doc.XWikiDocument.saveAttachmentContent(XWikiDocument.java:3726) at com.xpn.xwiki.web.UploadAction.uploadAttachment(UploadAction.java:189) at com.xpn.xwiki.web.UploadAction.action(UploadAction.java:106) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:213) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:118) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) 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:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) 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.RequestFilterValve.process(RequestFilterValve.java:276) at org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:81) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873) 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:689) at java.lang.Thread.run(Thread.java:619) {noformat} The file size is about 330MB. The strange behaviour is the following: - the page refreshes showing the attachment with the right size, and if i try to download it just after the uploading phase, the attachment seems to be present in the database, (but it's not!!!) so i can download it without any problem. - if i restart the server or wait a lot of time, the file isn't available anymore: when i click to download it the page shows the message: "Error This template does not exist" - in the page attachments section, now the file is shown with size 0. - in tables, the related row is present in XWIKIATTACHMENT but no rows for XWIKIATTACHMENT_ARCHIVE and XWIKIATTACHMENT_CONTENT. note that files up to 50/60 MB can be uploaded without problems. Thanks claudio

    XWiki.org JIRA | 7 years ago | Claudio Coreggioli
    com.xpn.xwiki.XWikiException: Error number 3232 in 3: Exception while saving attachment <huge_file_name> of document Prova.Pagina1 Wrapped Exception: Error number 3004 in 3: Exception while manipulating the archive for file <huge_file_name> Wrapped Exception: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Here are some logs from xwiki.org: {noformat} 11:44:15,627 [Thread-29] ERROR lucene.AttachmentData - error getting content of attachment com.xpn.xwiki.XWikiException: Error number 3231 in 3: Exception while loading attachment ???? of document Main.Documentation Wrapped Exception: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#-115762232] at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiHibernateAttachmentStore.java:164) at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:2519) at com.xpn.xwiki.doc.XWikiAttachment.getContent(XWikiAttachment.java:376) at com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:162) at com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:142) at com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexData.java:135) at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:84) at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:335) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:171) at java.lang.Thread.run(Thread.java:613) Wrapped Exception: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#-115762232] at org.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:27) at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:128) at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:177) at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87) at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:891) at org.hibernate.impl.SessionImpl.load(SessionImpl.java:799) at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiHibernateAttachmentStore.java:154) at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:2519) at com.xpn.xwiki.doc.XWikiAttachment.getContent(XWikiAttachment.java:376) at com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:162) at com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:142) at com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexData.java:135) at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:84) at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:335) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:171) at java.lang.Thread.run(Thread.java:613) com.xpn.xwiki.XWikiException: Error number 3231 in 3: Exception while loading attachment ???? of document Main.Documentation Wrapped Exception: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#-115762232] at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiHibernateAttachmentStore.java:164) at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:2519) at com.xpn.xwiki.doc.XWikiAttachment.getContent(XWikiAttachment.java:376) at com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:162) at com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:142) at com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexData.java:135) at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:84) at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:335) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:171) at java.lang.Thread.run(Thread.java:613) Wrapped Exception: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#-115762232] at org.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:27) at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:128) at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:177) at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87) at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:891) at org.hibernate.impl.SessionImpl.load(SessionImpl.java:799) at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiHibernateAttachmentStore.java:154) at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:2519) at com.xpn.xwiki.doc.XWikiAttachment.getContent(XWikiAttachment.java:376) at com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:162) at com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:142) at com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexData.java:135) at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:84) at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:335) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:171) at java.lang.Thread.run(Thread.java:613) 11:44:27,664 [Thread-29] ERROR lucene.AttachmentData - error getting content of attachment com.xpn.xwiki.XWikiException: Error number 3231 in 3: Exception while loading attachment uaic.png of document Photos.XWikiScreenshots Wrapped Exception: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#1845945886] at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiHibernateAttachmentStore.java:164) at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:2519) at com.xpn.xwiki.doc.XWikiAttachment.getContent(XWikiAttachment.java:376) at com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:162) at com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:142) at com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexData.java:135) at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:84) at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:335) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:171) at java.lang.Thread.run(Thread.java:613) Wrapped Exception: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#1845945886] at org.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:27) at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:128) at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:177) at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87) at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:891) at org.hibernate.impl.SessionImpl.load(SessionImpl.java:799) at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiHibernateAttachmentStore.java:154) at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:2519) at com.xpn.xwiki.doc.XWikiAttachment.getContent(XWikiAttachment.java:376) at com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:162) at com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:142) at com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexData.java:135) at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:84) at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:335) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:171) at java.lang.Thread.run(Thread.java:613) com.xpn.xwiki.XWikiException: Error number 3231 in 3: Exception while loading attachment uaic.png of document Photos.XWikiScreenshots Wrapped Exception: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#1845945886] at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiHibernateAttachmentStore.java:164) at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:2519) at com.xpn.xwiki.doc.XWikiAttachment.getContent(XWikiAttachment.java:376) at com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:162) at com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:142) at com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexData.java:135) at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:84) at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:335) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:171) at java.lang.Thread.run(Thread.java:613) Wrapped Exception: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#1845945886] at org.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:27) at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:128) at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:177) at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87) at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:891) at org.hibernate.impl.SessionImpl.load(SessionImpl.java:799) at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiHibernateAttachmentStore.java:154) at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:2519) at com.xpn.xwiki.doc.XWikiAttachment.getContent(XWikiAttachment.java:376) at com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:162) at com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:142) at com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexData.java:135) at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:84) at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:335) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:171) at java.lang.Thread.run(Thread.java:613) 11:44:47,168 [Thread-29] ERROR lucene.AttachmentData - error getting content of attachment com.xpn.xwiki.XWikiException: Error number 3231 in 3: Exception while loading attachment capdigital.png of document Photos.XWikiScreenshots Wrapped Exception: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#-1320924738] at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiHibernateAttachmentStore.java:164) at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:2519) at com.xpn.xwiki.doc.XWikiAttachment.getContent(XWikiAttachment.java:376) at com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:162) at com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:142) at com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexData.java:135) at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:84) at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:335) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:171) at java.lang.Thread.run(Thread.java:613) {noformat}

    XWiki.org JIRA | 9 years ago | Vincent Massol
    com.xpn.xwiki.XWikiException: Error number 3231 in 3: Exception while loading attachment capdigital.png of document Photos.XWikiScreenshots Wrapped Exception: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#-1320924738]
  6. 0

    Here are some logs from xwiki.org: {noformat} 11:44:15,627 [Thread-29] ERROR lucene.AttachmentData - error getting content of attachment com.xpn.xwiki.XWikiException: Error number 3231 in 3: Exception while loading attachment ???? of document Main.Documentation Wrapped Exception: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#-115762232] at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiHibernateAttachmentStore.java:164) at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:2519) at com.xpn.xwiki.doc.XWikiAttachment.getContent(XWikiAttachment.java:376) at com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:162) at com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:142) at com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexData.java:135) at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:84) at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:335) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:171) at java.lang.Thread.run(Thread.java:613) Wrapped Exception: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#-115762232] at org.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:27) at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:128) at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:177) at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87) at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:891) at org.hibernate.impl.SessionImpl.load(SessionImpl.java:799) at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiHibernateAttachmentStore.java:154) at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:2519) at com.xpn.xwiki.doc.XWikiAttachment.getContent(XWikiAttachment.java:376) at com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:162) at com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:142) at com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexData.java:135) at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:84) at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:335) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:171) at java.lang.Thread.run(Thread.java:613) com.xpn.xwiki.XWikiException: Error number 3231 in 3: Exception while loading attachment ???? of document Main.Documentation Wrapped Exception: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#-115762232] at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiHibernateAttachmentStore.java:164) at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:2519) at com.xpn.xwiki.doc.XWikiAttachment.getContent(XWikiAttachment.java:376) at com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:162) at com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:142) at com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexData.java:135) at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:84) at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:335) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:171) at java.lang.Thread.run(Thread.java:613) Wrapped Exception: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#-115762232] at org.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:27) at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:128) at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:177) at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87) at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:891) at org.hibernate.impl.SessionImpl.load(SessionImpl.java:799) at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiHibernateAttachmentStore.java:154) at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:2519) at com.xpn.xwiki.doc.XWikiAttachment.getContent(XWikiAttachment.java:376) at com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:162) at com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:142) at com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexData.java:135) at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:84) at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:335) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:171) at java.lang.Thread.run(Thread.java:613) 11:44:27,664 [Thread-29] ERROR lucene.AttachmentData - error getting content of attachment com.xpn.xwiki.XWikiException: Error number 3231 in 3: Exception while loading attachment uaic.png of document Photos.XWikiScreenshots Wrapped Exception: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#1845945886] at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiHibernateAttachmentStore.java:164) at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:2519) at com.xpn.xwiki.doc.XWikiAttachment.getContent(XWikiAttachment.java:376) at com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:162) at com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:142) at com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexData.java:135) at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:84) at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:335) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:171) at java.lang.Thread.run(Thread.java:613) Wrapped Exception: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#1845945886] at org.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:27) at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:128) at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:177) at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87) at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:891) at org.hibernate.impl.SessionImpl.load(SessionImpl.java:799) at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiHibernateAttachmentStore.java:154) at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:2519) at com.xpn.xwiki.doc.XWikiAttachment.getContent(XWikiAttachment.java:376) at com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:162) at com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:142) at com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexData.java:135) at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:84) at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:335) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:171) at java.lang.Thread.run(Thread.java:613) com.xpn.xwiki.XWikiException: Error number 3231 in 3: Exception while loading attachment uaic.png of document Photos.XWikiScreenshots Wrapped Exception: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#1845945886] at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiHibernateAttachmentStore.java:164) at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:2519) at com.xpn.xwiki.doc.XWikiAttachment.getContent(XWikiAttachment.java:376) at com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:162) at com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:142) at com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexData.java:135) at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:84) at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:335) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:171) at java.lang.Thread.run(Thread.java:613) Wrapped Exception: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#1845945886] at org.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:27) at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:128) at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:177) at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87) at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:891) at org.hibernate.impl.SessionImpl.load(SessionImpl.java:799) at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiHibernateAttachmentStore.java:154) at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:2519) at com.xpn.xwiki.doc.XWikiAttachment.getContent(XWikiAttachment.java:376) at com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:162) at com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:142) at com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexData.java:135) at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:84) at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:335) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:171) at java.lang.Thread.run(Thread.java:613) 11:44:47,168 [Thread-29] ERROR lucene.AttachmentData - error getting content of attachment com.xpn.xwiki.XWikiException: Error number 3231 in 3: Exception while loading attachment capdigital.png of document Photos.XWikiScreenshots Wrapped Exception: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#-1320924738] at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiHibernateAttachmentStore.java:164) at com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:2519) at com.xpn.xwiki.doc.XWikiAttachment.getContent(XWikiAttachment.java:376) at com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:162) at com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:142) at com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexData.java:135) at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:84) at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:335) at com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:171) at java.lang.Thread.run(Thread.java:613) {noformat}

    XWiki.org JIRA | 9 years ago | Vincent Massol
    com.xpn.xwiki.XWikiException: Error number 3231 in 3: Exception while loading attachment uaic.png of document Photos.XWikiScreenshots Wrapped Exception: No row with the given identifier exists: [com.xpn.xwiki.doc.XWikiAttachmentContent#1845945886]

    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. com.xpn.xwiki.XWikiException

      Error number 3002 in 3: The attachment could not be found in the filesystem attachment store. This can happen if attachment storage is switched from database to filesystem without first moving all of the database attachments over to the filesystem using a script.

      at com.xpn.xwiki.store.FilesystemAttachmentStore.loadAttachmentContent()
    2. com.xpn.xwiki
      XWikiDocument.loadAttachmentContent
      1. com.xpn.xwiki.store.FilesystemAttachmentStore.loadAttachmentContent(FilesystemAttachmentStore.java:225)[xwiki-platform-store-filesystem-attachments-3.2.jar:na]
      2. com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:4246)[xwiki-platform-legacy-oldcore-3.2.jar:na]
      2 frames