tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sture Svensson (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TIKA-1006) NPE in extractParagraph (styleClass) in XWPFWordExtractorDecorator
Date Fri, 12 Oct 2012 11:49:02 GMT

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

Sture Svensson updated TIKA-1006:
---------------------------------

    Comment: was deleted

(was: Add check for null)
    
> 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
>            Priority: Minor
>         Attachments: 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