poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61881] New: Regression in ppt parsing: typeface can't be null or empty
Date Fri, 08 Dec 2017 22:14:25 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=61881

            Bug ID: 61881
           Summary: Regression in ppt parsing: typeface can't be null or
                    empty
           Product: POI
           Version: 3.17-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSLF
          Assignee: dev@poi.apache.org
          Reporter: tallison@mitre.org
  Target Milestone: ---

As Dominik pointed out in his regression tests in August [1], there's a
regression in ppt parsing that we re-discovered over on Apache Tika during prep
for the release of 1.17, TIKA-2523 [2], where I've placed a test file.


[1]
https://lists.apache.org/thread.html/1250dd7950dc6ea320dee377c06905c6d2accf4b7710381616cd2485@%3Cdev.poi.apache.org%3E
[2] https://issues.apache.org/jira/browse/TIKA-2523

Caused by: 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.findChildRecords(Record.java:129)
        at org.apache.poi.hslf.record.Environment.<init>(Environment.java:54)
        ... 64 more
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at
org.apache.poi.hslf.record.Record.createRecordForType(Record.java:182)
        ... 66 more
Caused by: java.lang.IllegalArgumentException: typeface can't be null nor empty
        at
org.apache.poi.hslf.usermodel.HSLFFontInfo.setTypeface(HSLFFontInfo.java:129)
        at
org.apache.poi.hslf.usermodel.HSLFFontInfo.<init>(HSLFFontInfo.java:74)
        at
org.apache.poi.hslf.record.FontCollection.<init>(FontCollection.java:47)
        ... 71 more

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message