Return-Path: Delivered-To: apmail-jakarta-poi-user-archive@www.apache.org Received: (qmail 33296 invoked from network); 26 Sep 2006 14:15:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Sep 2006 14:15:52 -0000 Received: (qmail 10641 invoked by uid 500); 26 Sep 2006 14:15:50 -0000 Delivered-To: apmail-jakarta-poi-user-archive@jakarta.apache.org Received: (qmail 10597 invoked by uid 500); 26 Sep 2006 14:15:50 -0000 Mailing-List: contact poi-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "POI Users List" Reply-To: "POI Users List" Delivered-To: mailing list poi-user@jakarta.apache.org Received: (qmail 10554 invoked by uid 99); 26 Sep 2006 14:15:49 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Sep 2006 07:15:49 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=nick@torchbox.com; spf=permerror X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received-SPF: error (idunn.apache.osuosl.org: domain torchbox.com from 81.187.40.70 cause and error) Received: from [81.187.40.70] ([81.187.40.70:51322] helo=fluffy.torchbox.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 40/30-11904-11639154 for ; Tue, 26 Sep 2006 07:15:46 -0700 Received: from grenache.internal.torchbox.com ([192.168.1.81]) by fluffy.torchbox.com with esmtp (Exim 4.50) id 1GSDin-000400-Vz for poi-user@jakarta.apache.org; Tue, 26 Sep 2006 15:15:42 +0100 Date: Tue, 26 Sep 2006 15:15:55 +0100 (BST) From: Nick Burch X-X-Sender: nick@localhost.localdomain To: POI Users List Subject: Re: org.apache.poi.hslf.model.ShapeGroup - getShapes() In-Reply-To: <9304C56C48F78D4181274080B59D8D80C52EA4@exmx.axismobile.com> Message-ID: References: <9304C56C48F78D4181274080B59D8D80C52EA4@exmx.axismobile.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: -104.0 (---------------------------------------------------) X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Tue, 26 Sep 2006, Erez Eisenstein wrote: > class java.lang.ClassCastException - org.apache.poi.ddf.EscherOptRecord > > java.lang.ClassCastException: org.apache.poi.ddf.EscherOptRecord at > org.apache.poi.hslf.model.ShapeGroup.getShapes(ShapeGroup.java:59) Looks like we were just expecting the shape to be made up of EscherContainerRecords, but they aren't always. I've applied a fix, but it would be good if you could upload the powerpoint file to bugzilla. That way, we'll have something to test my fix against, and make sure it's still sane Nick --------------------------------------------------------------------- To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org Mailing List: http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/