DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42486>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42486

           Summary: Failure parsing a seemingly valid PPT
           Product: POI
           Version: 3.0-dev
          Platform: Other
               URL: http://www.projectcounter.org/uksg_presentation.ppt
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSLF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


To reproduce:

new SlideShow(new HSLFSlideShow("alterman_security.ppt"));

The file opens and displays fine in PowerPoint, but if you try the above 
you get this exception:

java.lang.RuntimeException: 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 : java.lang.RuntimeException: Couldn't instantiate the class for type 
with id 1033 on class class org.apache.poi.hslf.record.ExObjList : 
java.lang.reflect.InvocationTargetException
Cause was : java.lang.RuntimeException: Couldn't instantiate the class for type 
with id 4055 on class class org.apache.poi.hslf.record.ExHyperlink : 
java.lang.reflect.InvocationTargetException
Cause was : java.lang.IllegalStateException: We need at least two child 
records, but we only had 1
        at 
org.apache.poi.hslf.record.Record.createRecordForType(Record.java:190)
        at 
org.apache.poi.hslf.record.Record.buildRecordAtOffset(Record.java:105)
        at 
org.apache.poi.hslf.EncryptedSlideShow.fetchDocumentEncryptionAtom(EncryptedSlideShow.java:121)
        at 
org.apache.poi.hslf.EncryptedSlideShow.checkIfEncrypted(EncryptedSlideShow.java:70)
        at org.apache.poi.hslf.HSLFSlideShow.<init>(HSLFSlideShow.java:121)
        at org.apache.poi.hslf.HSLFSlideShow.<init>(HSLFSlideShow.java:96)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/

Reply via email to