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

NullPointer in addAttachments in Document

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.3 RC1
    • 1.1.2
    • {Unused} APIs
    • None

    Description

      Nullpointer in rarely used addAttachments function probably because of changes in the doc cloning

      java.lang.NullPointerException
      at com.xpn.xwiki.api.Document.addAttachment(Document.java:1716)
      at com.xpn.xwiki.api.Document.addAttachments(Document.java:1681)
      at com.xpn.xwiki.api.Document.addAttachments(Document.java:1638)
      at sun.reflect.N

      I'll try a patch and will need to commit it in 1.1 branch

      Attachments

        Activity

          People

            ludovic Ludovic Dubost
            ludovic Ludovic Dubost
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: