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: [EMAIL PROTECTED]


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: [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