Created attachment 21661 [details] Problem file Here is an exception in org.apache.poi.hdgf.extractor.VisioTextExtractor. Problem file is attached. Exception in thread "main" java.lang.IllegalArgumentException: Found a chunk with a negative length, which isn't allowed at org.apache.poi.hdgf.chunks.ChunkFactory.createChunk(ChunkFactory.java:112) 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) at org.apache.poi.hdgf.extractor.VisioTextExtractor.main(VisioTextExtractor.java:113)
Oops, this is dyplicate to 43670, sorry :(
*** This bug has been marked as a duplicate of bug 43670 ***