Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-16360

NPE under some conditions when rollbacking an attachment

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.2
    • Fix Version/s: 11.3-rc-1
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      07:39:25.008 [tc-okhttp-stream-288379071] INFO  o.x.t.d.i.j.s.ServletContainerExecutor - STDOUT: java.lang.NullPointerException: null
      07:39:25.008 [tc-okhttp-stream-288379071] INFO  o.x.t.d.i.j.s.ServletContainerExecutor - STDOUT: 	at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2314)
      07:39:25.009 [tc-okhttp-stream-288379071] INFO  o.x.t.d.i.j.s.ServletContainerExecutor - STDOUT: 	at org.apache.commons.io.IOUtils.copy(IOUtils.java:2270)
      07:39:25.009 [tc-okhttp-stream-288379071] INFO  o.x.t.d.i.j.s.ServletContainerExecutor - STDOUT: 	at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2291)
      07:39:25.009 [tc-okhttp-stream-288379071] INFO  o.x.t.d.i.j.s.ServletContainerExecutor - STDOUT: 	at org.apache.commons.io.IOUtils.copy(IOUtils.java:2246)
      07:39:25.009 [tc-okhttp-stream-288379071] INFO  o.x.t.d.i.j.s.ServletContainerExecutor - STDOUT: 	at com.xpn.xwiki.doc.XWikiAttachmentContent.setContent(XWikiAttachmentContent.java:313)
      07:39:25.009 [tc-okhttp-stream-288379071] INFO  o.x.t.d.i.j.s.ServletContainerExecutor - STDOUT: 	at com.xpn.xwiki.doc.XWikiAttachment.setContent(XWikiAttachment.java:1052)
      07:39:25.009 [tc-okhttp-stream-288379071] INFO  o.x.t.d.i.j.s.ServletContainerExecutor - STDOUT: 	at com.xpn.xwiki.doc.XWikiAttachment.apply(XWikiAttachment.java:1285)
      07:39:25.009 [tc-okhttp-stream-288379071] INFO  o.x.t.d.i.j.s.ServletContainerExecutor - STDOUT: 	at com.xpn.xwiki.XWiki.rollback(XWiki.java:7032)
      07:39:25.009 [tc-okhttp-stream-288379071] INFO  o.x.t.d.i.j.s.ServletContainerExecutor - STDOUT: 	at com.xpn.xwiki.web.DeleteVersionsAction.action(DeleteVersionsAction.java:79)
      

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              vmassol Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: