Return-Path: X-Original-To: apmail-poi-dev-archive@www.apache.org Delivered-To: apmail-poi-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6911810F11 for ; Fri, 1 Nov 2013 07:34:27 +0000 (UTC) Received: (qmail 67443 invoked by uid 500); 1 Nov 2013 07:34:26 -0000 Delivered-To: apmail-poi-dev-archive@poi.apache.org Received: (qmail 67190 invoked by uid 500); 1 Nov 2013 07:34:20 -0000 Mailing-List: contact dev-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Developers List" Delivered-To: mailing list dev@poi.apache.org Received: (qmail 67181 invoked by uid 99); 1 Nov 2013 07:34:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Nov 2013 07:34:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Nov 2013 07:34:17 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id 54222AED5; Fri, 1 Nov 2013 07:33:57 +0000 (UTC) From: bugzilla@apache.org To: dev@poi.apache.org Subject: [Bug 55732] New: PPT causes failure Date: Fri, 01 Nov 2013 07:33:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: POI X-Bugzilla-Component: HSLF X-Bugzilla-Version: 3.9 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: aimdev@mail.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@poi.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=55732 Bug ID: 55732 Summary: PPT causes failure Product: POI Version: 3.9 Hardware: PC Status: NEW Severity: major Priority: P2 Component: HSLF Assignee: dev@poi.apache.org Reporter: aimdev@mail.com File too large to upload (2.5mb), it may be found here... http://www.cdt.org/files/CDT_Data_Retention-PPT.ppt It is a Microsoft Powerpoint 97 presentation [ https://issues.apache.org/jira/browse/TIKA-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13810577#comment-13810577 ] Nick Burch commented on TIKA-1189: ---------------------------------- This looks to be a bug in Apache POI, one of the upstream libraries that Tika uses. Any chance you could open a bug in the POI Bugzilla - http://issues.apache.org/bugzilla/buglist.cgi?product=POI - and attach the file there? Fails to parse PPT file ----------------------- Key: TIKA-1189 URL: https://issues.apache.org/jira/browse/TIKA-1189 Project: Tika Issue Type: Bug Components: cli, gui Environment: OSX 10.9, OSX 10.6 Reporter: Aimee Dev Attachments: CDT_Data_Retention-PPT.ppt Out of the box tika application when presented with the file results in Apache Tika was unable to parse the document at /Volumes/FREECOM_HDD/Test/CDT_Data_Retention-PPT.ppt. The full exception stack trace is included below: org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.microsoft.OfficeParser@224f9db at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244) at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242) at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120) at org.apache.tika.gui.TikaGUI.handleStream(TikaGUI.java:320) at org.apache.tika.gui.TikaGUI.openFile(TikaGUI.java:279) at org.apache.tika.gui.ParsingTransferHandler.importFiles(ParsingTransferHandler.java:94) at org.apache.tika.gui.ParsingTransferHandler.importData(ParsingTransferHandler.java:77) at javax.swing.TransferHandler.importData(TransferHandler.java:826) at javax.swing.TransferHandler$DropHandler.drop(TransferHandler.java:1536) at java.awt.dnd.DropTarget.drop(DropTarget.java:450) at javax.swing.TransferHandler$SwingDropTarget.drop(TransferHandler.java:1274) at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:537) at sun.lwawt.macosx.CDropTargetContextPeer.processDropMessage(CDropTargetContextPeer.java:127) at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:851) at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:775) at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:48) at java.awt.Component.dispatchEventImpl(Component.java:4716) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:4566) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4417) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2719) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:708) at java.awt.EventQueue$4.run(EventQueue.java:706) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:705) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) Caused by: java.lang.RuntimeException: Couldn't instantiate the class for type with id 5000 on class class org.apache.poi.hslf.record.DummyPositionSensitiveRecordWithChildren : java.lang.reflect.InvocationTargetException Cause was : java.lang.RuntimeException: Couldn't instantiate the class for type with id 5002 on class class org.apache.poi.hslf.record.DummyPositionSensitiveRecordWithChildren : java.lang.reflect.InvocationTargetException Cause was : java.lang.RuntimeException: Couldn't instantiate the class for type with id 5003 on class class org.apache.poi.hslf.record.BinaryTagDataBlob : java.lang.reflect.InvocationTargetException Cause was : java.lang.RuntimeException: Couldn't instantiate the class for type with id 4012 on class class org.apache.poi.hslf.record.StyleTextProp9Atom : java.lang.reflect.InvocationTargetException Cause was : java.lang.ArrayIndexOutOfBoundsException: 56 at org.apache.poi.hslf.record.Record.createRecordForType(Record.java:185) at org.apache.poi.hslf.record.Record.findChildRecords(Record.java:128) at org.apache.poi.hslf.model.SimpleShape.getClientRecords(SimpleShape.java:347) at org.apache.poi.hslf.model.SimpleShape.getClientDataRecord(SimpleShape.java:319) at org.apache.poi.hslf.model.TextShape.getPlaceholderAtom(TextShape.java:591) at org.apache.poi.hslf.model.Sheet.getPlaceholder(Sheet.java:438) at org.apache.poi.hslf.model.HeadersFooters.isVisible(HeadersFooters.java:244) at org.apache.poi.hslf.model.HeadersFooters.isHeaderVisible(HeadersFooters.java:148) at org.apache.tika.parser.microsoft.HSLFExtractor.parse(HSLFExtractor.java:62) at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:189) at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:161) at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242) ... 42 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedConstructorAccessor12.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at org.apache.poi.hslf.record.Record.createRecordForType(Record.java:181) ... 53 more Caused by: java.lang.RuntimeException: Couldn't instantiate the class for type with id 5002 on class class org.apache.poi.hslf.record.DummyPositionSensitiveRecordWithChildren : java.lang.reflect.InvocationTargetException Cause was : java.lang.RuntimeException: Couldn't instantiate the class for type with id 5003 on class class org.apache.poi.hslf.record.BinaryTagDataBlob : java.lang.reflect.InvocationTargetException Cause was : java.lang.RuntimeException: Couldn't instantiate the class for type with id 4012 on class class org.apache.poi.hslf.record.StyleTextProp9Atom : java.lang.reflect.InvocationTargetException Cause was : java.lang.ArrayIndexOutOfBoundsException: 56 at org.apache.poi.hslf.record.Record.createRecordForType(Record.java:185) at org.apache.poi.hslf.record.Record.findChildRecords(Record.java:128) at org.apache.poi.hslf.record.DummyPositionSensitiveRecordWithChildren.(DummyPositionSensitiveRecordWithChildren.java:52) ... 57 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedConstructorAccessor12.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at org.apache.poi.hslf.record.Record.createRecordForType(Record.java:181) ... 59 more Caused by: java.lang.RuntimeException: Couldn't instantiate the class for type with id 5003 on class class org.apache.poi.hslf.record.BinaryTagDataBlob : java.lang.reflect.InvocationTargetException Cause was : java.lang.RuntimeException: Couldn't instantiate the class for type with id 4012 on class class org.apache.poi.hslf.record.StyleTextProp9Atom : java.lang.reflect.InvocationTargetException Cause was : java.lang.ArrayIndexOutOfBoundsException: 56 at org.apache.poi.hslf.record.Record.createRecordForType(Record.java:185) at org.apache.poi.hslf.record.Record.findChildRecords(Record.java:128) at org.apache.poi.hslf.record.DummyPositionSensitiveRecordWithChildren.(DummyPositionSensitiveRecordWithChildren.java:52) ... 63 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedConstructorAccessor11.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at org.apache.poi.hslf.record.Record.createRecordForType(Record.java:181) ... 65 more Caused by: java.lang.RuntimeException: Couldn't instantiate the class for type with id 4012 on class class org.apache.poi.hslf.record.StyleTextProp9Atom : java.lang.reflect.InvocationTargetException Cause was : java.lang.ArrayIndexOutOfBoundsException: 56 at org.apache.poi.hslf.record.Record.createRecordForType(Record.java:185) at org.apache.poi.hslf.record.Record.findChildRecords(Record.java:128) at org.apache.poi.hslf.record.BinaryTagDataBlob.(BinaryTagDataBlob.java:52) ... 69 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at org.apache.poi.hslf.record.Record.createRecordForType(Record.java:181) ... 71 more Caused by: java.lang.ArrayIndexOutOfBoundsException: 56 at org.apache.poi.util.LittleEndian.getInt(LittleEndian.java:163) at org.apache.poi.hslf.record.StyleTextProp9Atom.(StyleTextProp9Atom.java:70) ... 76 more -- This message was sent by Atlassian JIRA (v6.1#6144) -- 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