[prev in list] [next in list] [prev in thread] [next in thread] 

List:       poi-dev
Subject:    DO NOT REPLY [Bug 41469]  New:  - PowerPointExtractor.<init> error
From:       bugzilla () apache ! org
Date:       2007-01-26 3:03:01
Message-ID: bug-41469-7501 () http ! issues ! apache ! org/bugzilla/
[Download RAW message or body]

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=41469>.
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=41469

           Summary: PowerPointExtractor.<init> error
           Product: POI
           Version: 3.0-dev
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSLF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: cqm56@yahoo.com.cn


code:
  PowerPointExtractor pe = new PowerPointExtractor(getStreamToIndex());//error 
			System.out.println(pe.getNotes());
			contents = pe.getText(true , true);
			System.out.println(contents);

Exception:

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:44)
	at org.apache.poi.hpsf.VariantSupport.read(VariantSupport.java:276)
	at org.apache.poi.hpsf.Property.<init>(Property.java:162)
	at org.apache.poi.hpsf.Section.<init>(Section.java:280)
	at org.apache.poi.hpsf.PropertySet.init(PropertySet.java:453)
	at org.apache.poi.hpsf.PropertySet.<init>(PropertySet.java:248)
	at org.apache.poi.hpsf.PropertySetFactory.create
(PropertySetFactory.java:60)
	at org.apache.poi.POIDocument.getPropertySet(POIDocument.java:91)
	at org.apache.poi.POIDocument.readProperties(POIDocument.java:68)
	at org.apache.poi.hslf.HSLFSlideShow.<init>(HSLFSlideShow.java:128)
	at org.apache.poi.hslf.HSLFSlideShow.<init>(HSLFSlideShow.java:94)
	at org.apache.poi.hslf.extractor.PowerPointExtractor.<init>
(PowerPointExtractor.java:84)
	at lius.index.powerpoint.PPTIndexer.getContent(PPTIndexer.java:72)

-- 
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/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic