Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1884

Multiple possibilities for NullPointerException in PowerPointMetadataReader

    XMLWordPrintable

Details

    Description

      Missing "Notes" in a sequenced PowerPoint file will cause a NullPointerException to be thrown in PowerPointMetadataReader, and sequence process will be aborted. A null check should be exists for slide.getNotesSheet()

      Also, some Office files have a blank "Last Printed" property. A null check should be done before setting this property on sequenced node:

      MSOfficeMetadataSequencer.java
      if(null != metadata.getLastPrinted()){
        rootNode.setProperty(LAST_PRINTED, valueFactory.createValue(metadata.getLastPrinted()));
      }
      

      Attachments

        Activity

          People

            rhauch Randall Hauch (Inactive)
            m.sarhan_jira Mouaffak Sarhan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: