Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-5649

NPE in DomXmpParser.parseLiDescription

    XMLWordPrintableJSON

Details

    Description

      org.apache.xmpbox.xml.XmpParsingException: ctype is null, first: [stEvt:action: null], DomHelper.getQName(first):

      {http://ns.adobe.com/xap/1.0/sType/ResourceEvent#}

      action
      at org.apache.xmpbox.xml.DomXmpParser.parseLiDescription(DomXmpParser.java:611)
      at org.apache.xmpbox.xml.DomXmpParser.parseLiElement(DomXmpParser.java:529)
      at org.apache.xmpbox.xml.DomXmpParser.manageArray(DomXmpParser.java:487)
      at org.apache.xmpbox.xml.DomXmpParser.createProperty(DomXmpParser.java:352)
      at org.apache.xmpbox.xml.DomXmpParser.parseChildrenAsProperties(DomXmpParser.java:319)
      at org.apache.xmpbox.xml.DomXmpParser.parseDescriptionRoot(DomXmpParser.java:248)
      at org.apache.xmpbox.xml.DomXmpParser.parse(DomXmpParser.java:201)
      at org.apache.tika.parser.xmp.XMPMetadataExtractor.parse(XMPMetadataExtractor.java:57)

      I'll throw a parsing exception for now. It happens with the file testIndesign.idml of the Tika project.

      Attachments

        1. metadata.xml
          2 kB
          Tilman Hausherr
        2. pdfExemple.pdf
          257 kB
          Tilman Hausherr

        Issue Links

          Activity

            People

              tilman Tilman Hausherr
              tilman Tilman Hausherr
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: