[
https://issues.apache.org/jira/browse/TIKA-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13474961#comment-13474961
]
Sture Svensson commented on TIKA-1006:
--------------------------------------
I have added a simple example of when we get this error.
> NPE in extractParagraph (styleClass) in XWPFWordExtractorDecorator
> ------------------------------------------------------------------
>
> Key: TIKA-1006
> URL: https://issues.apache.org/jira/browse/TIKA-1006
> Project: Tika
> Issue Type: Bug
> Components: parser
> Affects Versions: 1.2
> Reporter: Sture Svensson
> Assignee: Michael McCandless
> Priority: Minor
> Attachments: example.docx, fix.patch
>
>
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira