Uploaded image for project: '{RETIRED} Curriki'
  1. {RETIRED} Curriki
  2. CURRIKI-6530

Cannot edit an Attached File

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • NEA Phase 2
    • None
    • View (RVE)
    • None

    Description

      1. Create a new resource on either Prod or Failover, attach an image or video file http://www.gpsnetwork.org/Coll_ShermanTank/UploadingTestProdApp
      2. Save
      3. Edit Caption
      4. Edit Alt-Tab
      5. Save

      Works fine on Curriki. http://www.curriki.org/xwiki/bin/view/Coll_ShermanTank/TIFFFile?&bc=

      Bug
      Error number 4001 in 4: Error while parsing velocity page xwiki:CurrikiCode.AssetSaveService Wrapped Exception: Failed to evaluate content with id Asset Save Service
      Error number 4001 in 4: Error while parsing velocity page xwiki:CurrikiCode.AssetSaveService
      Wrapped Exception: Failed to evaluate content with id Asset Save Service
      com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page xwiki:CurrikiCode.AssetSaveService
      Wrapped Exception: Failed to evaluate content with id Asset Save Service
      at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:122)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:94)
      at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:291)
      at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:221)
      at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:189)
      at com.xpn.xwiki.internal.display.XWiki10DocumentContentDisplayer.display(XWiki10DocumentContentDisplayer.java:65)
      at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:124)
      at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:54)
      at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:80)
      at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:38)
      at com.xpn.xwiki.internal.sheet.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:118)
      at com.xpn.xwiki.internal.sheet.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:57)
      at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
      at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
      at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:862)
      at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:841)
      at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:872)
      at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:586)
      at sun.reflect.GeneratedMethodAccessor186.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
      at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
      at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
      at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
      at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
      at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
      at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
      at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
      at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
      at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
      at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228)
      at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:117)
      at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1843)
      at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1751)
      at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1728)
      at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:839)
      at sun.reflect.GeneratedMethodAccessor127.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
      at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
      at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
      at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
      at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
      at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
      at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
      at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
      at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
      at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
      at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
      at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
      at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228)
      at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:117)
      at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1843)
      at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1751)
      at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:154)
      at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:241)
      at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
      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:637)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
      at java.lang.Thread.run(Thread.java:722)
      Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id Asset Save Service
      at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:247)
      at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:117)
      … 99 more
      Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'save' in class org.curriki.xwiki.plugin.asset.Asset threw exception com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document xwiki:Coll_ShermanTank.UploadingTestProdApp
      Wrapped Exception: Error number 3234 in 3: Exception while saving attachments attachment list of document name = Uploading Test Prod App?, type = DOCUMENT?, parent = name = [Coll_Sherman Tank?, type = SPACE?, parent = name = [xwiki?, type = WIKI?, parent = null?]]
      Wrapped Exception: Error number 3232 in 3: Exception while saving attachments for attachment of document name = Uploading Test Prod App?, type = DOCUMENT?, parent = name = [Coll_Sherman Tank?, type = SPACE?, parent = name = [xwiki?, type = WIKI?, parent = null?]]
      Wrapped Exception: Error number 3232 in 3: Exception while saving attachment.
      Wrapped Exception: Failure in onComplete() the storage engine should be consistant although it may contain uncollected garbage.
      Caused by:
      java.io.IOException
      Could not remove backup file, cannot proceed.
      at /skins/curriki8/assets/assetsmacros.vmline 1835, column 8?
      at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:243)
      at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:187)
      at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
      at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
      at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
      at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
      at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
      at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
      at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
      at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
      at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
      at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228)
      … 101 more
      Caused by: com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document xwiki:Coll_ShermanTank.UploadingTestProdApp
      Wrapped Exception: Error number 3234 in 3: Exception while saving attachments attachment list of document name = Uploading Test Prod App?, type = DOCUMENT?, parent = name = [Coll_Sherman Tank?, type = SPACE?, parent = name = [xwiki?, type = WIKI?, parent = null?]]
      Wrapped Exception: Error number 3232 in 3: Exception while saving attachments for attachment of document name = Uploading Test Prod App?, type = DOCUMENT?, parent = name = [Coll_Sherman Tank?, type = SPACE?, parent = name = [xwiki?, type = WIKI?, parent = null?]]
      Wrapped Exception: Error number 3232 in 3: Exception while saving attachment.
      Wrapped Exception: Failure in onComplete() the storage engine should be consistant although it may contain uncollected garbage.
      Caused by:
      java.io.IOException
      Could not remove backup file, cannot proceed.

      at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:693)
      at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:174)
      at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:167)
      at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1381)
      at com.xpn.xwiki.api.Document.saveDocument(Document.java:2026)
      at org.curriki.xwiki.plugin.asset.Asset.saveDocument(Asset.java:300)
      at com.xpn.xwiki.api.Document.save(Document.java:1929)
      at com.xpn.xwiki.api.Document.save(Document.java:1923)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
      at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
      at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
      … 114 more
      Caused by: com.xpn.xwiki.XWikiException: Error number 3234 in 3: Exception while saving attachments attachment list of document name = Uploading Test Prod App?, type = DOCUMENT?, parent = name = [Coll_Sherman Tank?, type = SPACE?, parent = name = [xwiki?, type = WIKI?, parent = null?]]
      Wrapped Exception: Error number 3232 in 3: Exception while saving attachments for attachment of document name = Uploading Test Prod App?, type = DOCUMENT?, parent = name = [Coll_Sherman Tank?, type = SPACE?, parent = name = [xwiki?, type = WIKI?, parent = null?]]
      Wrapped Exception: Error number 3232 in 3: Exception while saving attachment.
      Wrapped Exception: Failure in onComplete() the storage engine should be consistant although it may contain uncollected garbage.
      Caused by:
      java.io.IOException
      Could not remove backup file, cannot proceed.

      at com.xpn.xwiki.store.XWikiHibernateStore.saveAttachmentList(XWikiHibernateStore.java:1538)
      at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:473)
      … 128 more
      Caused by: com.xpn.xwiki.XWikiException: Error number 3232 in 3: Exception while saving attachments for attachment of document name = Uploading Test Prod App?, type = DOCUMENT?, parent = name = [Coll_Sherman Tank?, type = SPACE?, parent = name = [xwiki?, type = WIKI?, parent = null?]]
      Wrapped Exception: Error number 3232 in 3: Exception while saving attachment.
      Wrapped Exception: Failure in onComplete() the storage engine should be consistant although it may contain uncollected garbage.
      Caused by:
      java.io.IOException
      Could not remove backup file, cannot proceed.

      at com.xpn.xwiki.store.XWikiHibernateStore.saveAttachment(XWikiHibernateStore.java:1606)
      at com.xpn.xwiki.store.XWikiHibernateStore.saveAttachmentList(XWikiHibernateStore.java:1529)
      … 129 more
      Caused by: com.xpn.xwiki.XWikiException: Error number 3232 in 3: Exception while saving attachment.
      Wrapped Exception: Failure in onComplete() the storage engine should be consistant although it may contain uncollected garbage.
      Caused by:
      java.io.IOException
      Could not remove backup file, cannot proceed.

      at org.xwiki.store.legacy.store.internal.FilesystemAttachmentStore.saveAttachmentContent(FilesystemAttachmentStore.java:120)
      at com.xpn.xwiki.store.XWikiHibernateStore.saveAttachment(XWikiHibernateStore.java:1583)
      … 130 more
      Caused by: org.xwiki.store.TransactionException: Failure in onComplete() the storage engine should be consistant although it may contain uncollected garbage.
      Caused by:
      java.io.IOException
      Could not remove backup file, cannot proceed.

      at org.xwiki.store.TransactionRunnable.doAllAndCollectThrowables(TransactionRunnable.java:491)
      at org.xwiki.store.TransactionRunnable.completeAll(TransactionRunnable.java:432)
      at org.xwiki.store.TransactionRunnable.complete(TransactionRunnable.java:403)
      at org.xwiki.store.StartableTransactionRunnable.start(StartableTransactionRunnable.java:56)
      at org.xwiki.store.legacy.store.internal.FilesystemAttachmentStore.saveAttachmentContent(FilesystemAttachmentStore.java:115)
      … 131 more

      Wrapped Exception:

      org.apache.velocity.exception.MethodInvocationException: Invocation of method 'save' in class org.curriki.xwiki.plugin.asset.Asset threw exception com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document xwiki:Coll_ShermanTank.UploadingTestProdApp
      Wrapped Exception: Error number 3234 in 3: Exception while saving attachments attachment list of document name = Uploading Test Prod App?, type = DOCUMENT?, parent = name = [Coll_Sherman Tank?, type = SPACE?, parent = name = [xwiki?, type = WIKI?, parent = null?]]
      Wrapped Exception: Error number 3232 in 3: Exception while saving attachments for attachment of document name = Uploading Test Prod App?, type = DOCUMENT?, parent = name = [Coll_Sherman Tank?, type = SPACE?, parent = name = [xwiki?, type = WIKI?, parent = null?]]
      Wrapped Exception: Error number 3232 in 3: Exception while saving attachment.
      Wrapped Exception: Failure in onComplete() the storage engine should be consistant although it may contain uncollected garbage.
      Caused by:
      java.io.IOException
      Could not remove backup file, cannot proceed.
      at /skins/curriki8/assets/assetsmacros.vmline 1835, column 8?
      at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:243)
      at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:187)
      at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
      at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
      at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
      at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
      at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
      at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
      at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
      at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
      at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
      at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228)
      at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:117)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:94)
      at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:291)
      at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:221)
      at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:189)
      at com.xpn.xwiki.internal.display.XWiki10DocumentContentDisplayer.display(XWiki10DocumentContentDisplayer.java:65)
      at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:124)
      at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:54)
      at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:80)
      at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:38)
      at com.xpn.xwiki.internal.sheet.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:118)
      at com.xpn.xwiki.internal.sheet.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:57)
      at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
      at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
      at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:862)
      at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:841)
      at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:872)
      at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:586)
      at sun.reflect.GeneratedMethodAccessor186.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
      at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
      at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
      at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
      at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
      at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
      at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
      at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
      at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
      at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
      at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228)
      at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:117)
      at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1843)
      at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1751)
      at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1728)
      at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:839)
      at sun.reflect.GeneratedMethodAccessor127.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
      at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
      at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
      at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
      at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
      at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
      at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
      at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
      at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
      at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
      at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
      at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
      at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228)
      at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:117)
      at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1843)
      at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1751)
      at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:154)
      at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:241)
      at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
      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:637)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
      at java.lang.Thread.run(Thread.java:722)
      Caused by: com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document xwiki:Coll_ShermanTank.UploadingTestProdApp
      Wrapped Exception: Error number 3234 in 3: Exception while saving attachments attachment list of document name = Uploading Test Prod App?, type = DOCUMENT?, parent = name = [Coll_Sherman Tank?, type = SPACE?, parent = name = [xwiki?, type = WIKI?, parent = null?]]
      Wrapped Exception: Error number 3232 in 3: Exception while saving attachments for attachment of document name = Uploading Test Prod App?, type = DOCUMENT?, parent = name = [Coll_Sherman Tank?, type = SPACE?, parent = name = [xwiki?, type = WIKI?, parent = null?]]
      Wrapped Exception: Error number 3232 in 3: Exception while saving attachment.
      Wrapped Exception: Failure in onComplete() the storage engine should be consistant although it may contain uncollected garbage.
      Caused by:
      java.io.IOException
      Could not remove backup file, cannot proceed.

      at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:693)
      at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:174)
      at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:167)
      at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1381)
      at com.xpn.xwiki.api.Document.saveDocument(Document.java:2026)
      at org.curriki.xwiki.plugin.asset.Asset.saveDocument(Asset.java:300)
      at com.xpn.xwiki.api.Document.save(Document.java:1929)
      at com.xpn.xwiki.api.Document.save(Document.java:1923)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
      at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
      at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
      … 114 more
      Caused by: com.xpn.xwiki.XWikiException: Error number 3234 in 3: Exception while saving attachments attachment list of document name = Uploading Test Prod App?, type = DOCUMENT?, parent = name = [Coll_Sherman Tank?, type = SPACE?, parent = name = [xwiki?, type = WIKI?, parent = null?]]
      Wrapped Exception: Error number 3232 in 3: Exception while saving attachments for attachment of document name = Uploading Test Prod App?, type = DOCUMENT?, parent = name = [Coll_Sherman Tank?, type = SPACE?, parent = name = [xwiki?, type = WIKI?, parent = null?]]
      Wrapped Exception: Error number 3232 in 3: Exception while saving attachment.
      Wrapped Exception: Failure in onComplete() the storage engine should be consistant although it may contain uncollected garbage.
      Caused by:
      java.io.IOException
      Could not remove backup file, cannot proceed.

      at com.xpn.xwiki.store.XWikiHibernateStore.saveAttachmentList(XWikiHibernateStore.java:1538)
      at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:473)
      … 128 more
      Caused by: com.xpn.xwiki.XWikiException: Error number 3232 in 3: Exception while saving attachments for attachment of document name = Uploading Test Prod App?, type = DOCUMENT?, parent = name = [Coll_Sherman Tank?, type = SPACE?, parent = name = [xwiki?, type = WIKI?, parent = null?]]
      Wrapped Exception: Error number 3232 in 3: Exception while saving attachment.
      Wrapped Exception: Failure in onComplete() the storage engine should be consistant although it may contain uncollected garbage.
      Caused by:
      java.io.IOException
      Could not remove backup file, cannot proceed.

      at com.xpn.xwiki.store.XWikiHibernateStore.saveAttachment(XWikiHibernateStore.java:1606)
      at com.xpn.xwiki.store.XWikiHibernateStore.saveAttachmentList(XWikiHibernateStore.java:1529)
      … 129 more
      Caused by: com.xpn.xwiki.XWikiException: Error number 3232 in 3: Exception while saving attachment.
      Wrapped Exception: Failure in onComplete() the storage engine should be consistant although it may contain uncollected garbage.
      Caused by:
      java.io.IOException
      Could not remove backup file, cannot proceed.

      at org.xwiki.store.legacy.store.internal.FilesystemAttachmentStore.saveAttachmentContent(FilesystemAttachmentStore.java:120)
      at com.xpn.xwiki.store.XWikiHibernateStore.saveAttachment(XWikiHibernateStore.java:1583)
      … 130 more
      Caused by: org.xwiki.store.TransactionException: Failure in onComplete() the storage engine should be consistant although it may contain uncollected garbage.
      Caused by:
      java.io.IOException
      Could not remove backup file, cannot proceed.

      at org.xwiki.store.TransactionRunnable.doAllAndCollectThrowables(TransactionRunnable.java:491)
      at org.xwiki.store.TransactionRunnable.completeAll(TransactionRunnable.java:432)
      at org.xwiki.store.TransactionRunnable.complete(TransactionRunnable.java:403)
      at org.xwiki.store.StartableTransactionRunnable.start(StartableTransactionRunnable.java:56)
      at org.xwiki.store.legacy.store.internal.FilesystemAttachmentStore.saveAttachmentContent(FilesystemAttachmentStore.java:115)
      … 131 more

      Attachments

        Issue Links

          Activity

            People

              polx Paul Libbrecht
              toddsherman Todd Sherman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: