tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (TIKA-1006) NPE in extractParagraph (styleClass) in XWPFWordExtractorDecorator
Date Fri, 12 Oct 2012 17:25:03 GMT

     [ https://issues.apache.org/jira/browse/TIKA-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael McCandless resolved TIKA-1006.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3

Thanks Sture, I just committed the test document & fix!
                
> 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
>             Fix For: 1.3
>
>         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

Mime
View raw message