poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36416] New: - ArrayIndexOutOfBoundsException when initialise PowerPointExtractor
Date Tue, 30 Aug 2005 11:18:06 GMT
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=36416>.
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=36416

           Summary: ArrayIndexOutOfBoundsException when initialise
                    PowerPointExtractor
           Product: POI
           Version: 3.0-dev
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: POI Overall
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: dozean@gmx.de


I get the Exception ArrayIndexOutOfBounds by doing:

PowerPointExtractor extractor = new PowerPointExtractor("file.ppt");
use:
poi-3.0-alpha1-20050830.jar
poi-contrib-3.0-alpha1-20050830.jar and
poi-scratchpad-3.0-alpha1-20050830.jar

The files which i try to extract are definitely not corrupt!

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 8
	at org.apache.poi.util.HexDump.toHex(HexDump.java:406)
	at org.apache.poi.util.HexDump.toHex(HexDump.java:397)
	at
org.apache.poi.hpsf.UnsupportedVariantTypeException.<init>(UnsupportedVariantTypeException.java:46)
	at
org.apache.poi.hpsf.ReadingNotSupportedException.<init>(ReadingNotSupportedException.java:45)
	at org.apache.poi.hpsf.VariantSupport.read(VariantSupport.java:267)
	at org.apache.poi.hpsf.Property.<init>(Property.java:146)
	at org.apache.poi.hpsf.Section.<init>(Section.java:281)
	at org.apache.poi.hpsf.PropertySet.init(PropertySet.java:452)
	at org.apache.poi.hpsf.PropertySet.<init>(PropertySet.java:249)
	at org.apache.poi.hpsf.PropertySetFactory.create(PropertySetFactory.java:59)
	at org.apache.poi.hslf.HSLFSlideShow.getPropertySet(HSLFSlideShow.java:214)
	at org.apache.poi.hslf.HSLFSlideShow.readProperties(HSLFSlideShow.java:182)
	at org.apache.poi.hslf.HSLFSlideShow.<init>(HSLFSlideShow.java:105)
	at org.apache.poi.hslf.HSLFSlideShow.<init>(HSLFSlideShow.java:85)
	at org.apache.poi.hslf.HSLFSlideShow.<init>(HSLFSlideShow.java:72)
	at
org.apache.poi.hslf.extractor.PowerPointExtractor.<init>(PowerPointExtractor.java:73)
	at TestIndex.Powerpoint.main(Powerpoint.java:23)

-- 
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: poi-dev-unsubscribe@jakarta.apache.org
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/


Mime
View raw message