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

NPE in extractParagraph (styleClass) in XWPFWordExtractorDecorator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.2
    • 1.3
    • parser
    • None

    Description

      The following line

      TagAndStyle tas = WordExtractor.buildParagraphTagAndStyle(style.getName(),paragraph.getPartType() == BodyType.TABLECELL);

      Throws an NPE if style is null. This should be checked, patch is attatched

      Attachments

        1. fix.patch
          0.6 kB
          Sture Svensson
        2. example.docx
          28 kB
          Sture Svensson

        Activity

          People

            mikemccand Michael McCandless
            stures Sture Svensson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: