You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (JIRA)" <ji...@apache.org> on 2017/12/08 22:16:00 UTC

[jira] [Commented] (TIKA-2523) Regression in ppt parsing -- "typeface can't be null or empty"

    [ https://issues.apache.org/jira/browse/TIKA-2523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16284321#comment-16284321 ] 

Tim Allison commented on TIKA-2523:
-----------------------------------

https://bz.apache.org/bugzilla/show_bug.cgi?id=61881

Turns out this is a re-discovery.  [~dominik.stadler@gmx.at] found this bug back in August... see 61881 for the link. It does appear to be pretty minor and not blocker worthy for 1.17.

> Regression in ppt parsing -- "typeface can't be null or empty"
> --------------------------------------------------------------
>
>                 Key: TIKA-2523
>                 URL: https://issues.apache.org/jira/browse/TIKA-2523
>             Project: Tika
>          Issue Type: Bug
>            Reporter: Tim Allison
>         Attachments: 802350.ppt
>
>
> We noticed a regression in ppt parsing in POI 3.17 while running the large scale regression tests in prep for the release of Tika 1.17.  There are about 200 new exceptions, but it looks like there is only one cause.
> Stacktrace:
> {noformat}
> org.apache.poi.hslf.exceptions.HSLFException: Couldn't instantiate the class for type with id 1000 on class class org.apache.poi.hslf.record.Document : java.lang.reflect.InvocationTargetException
> Cause was : org.apache.poi.hslf.exceptions.HSLFException: Couldn't instantiate the class for type with id 1010 on class class org.apache.poi.hslf.record.Environment : java.lang.reflect.InvocationTargetException
> Cause was : org.apache.poi.hslf.exceptions.HSLFException: Couldn't instantiate the class for type with id 2005 on class class org.apache.poi.hslf.record.FontCollection : java.lang.reflect.InvocationTargetException
> Cause was : java.lang.IllegalArgumentException: typeface can't be null nor empty
> 	at org.apache.poi.hslf.record.Record.createRecordForType(Record.java:186)
> 	at org.apache.poi.hslf.record.Record.buildRecordAtOffset(Record.java:104)
> 	at org.apache.poi.hslf.usermodel.HSLFSlideShowImpl.read(HSLFSlideShowImpl.java:279)
> 	at org.apache.poi.hslf.usermodel.HSLFSlideShowImpl.buildRecords(HSLFSlideShowImpl.java:260)
> 	at org.apache.poi.hslf.usermodel.HSLFSlideShowImpl.<init>(HSLFSlideShowImpl.java:166)
> 	at org.apache.poi.hslf.usermodel.HSLFSlideShow.<init>(HSLFSlideShow.java:181)
> 	at org.apache.tika.parser.microsoft.HSLFExtractor.parse(HSLFExtractor.java:78)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)