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)
*** This bug has been marked as a duplicate of bug 44501 ***