Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2948

Unable to open ODF with footnote

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.22
    • Fix Version/s: None
    • Component/s: detector
    • Labels:
      None

      Description

      Trying to open the enclosed ODT raises an exception. We narrowed down the issue to the footnote already.

       

      org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.odf.OpenDocumentParser@68bc15org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.odf.OpenDocumentParser@68bc15 at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:282) at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280) at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:143)
       
      

       

      org.apache.tika.parser.odf.OpenDocumentContentParser$OpenDocumentElementMappingContentHandler.endElement(OpenDocumentContentParser.java:425)org.apache.tika.parser.odf.OpenDocumentContentParser$OpenDocumentElementMappingContentHandler.endElement(OpenDocumentContentParser.java:425) at org.apache.tika.sax.ContentHandlerDecorator.endElement(ContentHandlerDecorator.java:136) at org.apache.tika.parser.odf.NSNormalizerContentHandler.endElement(NSNormalizerContentHandler.java:75) at org.apache.tika.sax.ContentHandlerDecorator.endElement(ContentHandlerDecorator.java:136) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(SAXParser.java:195) at org.apache.tika.utils.XMLReaderUtils.parseSAX(XMLReaderUtils.java:491) at org.apache.tika.parser.odf.OpenDocumentContentParser.parseInternal(OpenDocumentContentParser.java:599) at org.apache.tika.parser.odf.OpenDocumentParser.handleZipEntry(OpenDocumentParser.java:220) at org.apache.tika.parser.odf.OpenDocumentParser.handleZipStream(OpenDocumentParser.java:183) at org.apache.tika.parser.odf.OpenDocumentParser.parse(OpenDocumentParser.java:164) at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280) ... 82 more

        Attachments

        1. fn.odt
          5 kB
          Roland

          Activity

            People

            • Assignee:
              tallison Tim Allison
              Reporter:
              Roland4745 Roland
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: