https://issues.apache.org/bugzilla/show_bug.cgi?id=44687

           Summary: Unable to Index a Visio Document.
           Product: POI
           Version: 3.0-dev
          Platform: Sun
        OS/Version: SunOS
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: POI Overall
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


We keep getting the following Exception while trying to use 

           VisioTextExtractor extractor = null;
           String convertedText = null;
           try {
                  extractor = new VisioTextExtractor(isr);
           } catch ( java.io.IOException cie ) {
                    String msg = cie.getMessage();
                    if (LOGGER.isLoggable(Level.WARNING)) {
                        LOGGER.log(Level.WARNING, msg);
                    };
           }
           convertedText = extractor.getText();
           return convertedText;


The following Exception Occurs:

java.lang.ArrayIndexOutOfBoundsException: 1991
        at org.apache.poi.util.LittleEndian.getNumber(LittleEndian.java:492)
        at org.apache.poi.util.LittleEndian.getUInt(LittleEndian.java:164)
        at
org.apache.poi.hdgf.chunks.ChunkHeader.createChunkHeader(ChunkHeader.java:43)
        at
org.apache.poi.hdgf.chunks.ChunkFactory.createChunk(ChunkFactory.java:108)
        at
org.apache.poi.hdgf.streams.ChunkStream.findChunks(ChunkStream.java:54)
        at
org.apache.poi.hdgf.streams.PointerContainingStream.findChildren(PointerContainingStream.java:92)
        at
org.apache.poi.hdgf.streams.PointerContainingStream.findChildren(PointerContainingStream.java:99)
        at
org.apache.poi.hdgf.streams.PointerContainingStream.findChildren(PointerContainingStream.java:99)
        at org.apache.poi.hdgf.HDGFDiagram.<init>(HDGFDiagram.java:92)
        at
org.apache.poi.hdgf.extractor.VisioTextExtractor.<init>(VisioTextExtractor.java:46)
        at
org.apache.poi.hdgf.extractor.VisioTextExtractor.<init>(VisioTextExtractor.java:50)


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to