Bug 44596 - IllegalArgumentException in VisioTextExtractor
Summary: IllegalArgumentException in VisioTextExtractor
Status: RESOLVED DUPLICATE of bug 43670
Alias: None
Product: POI
Classification: Unclassified
Component: POI Overall (show other bugs)
Version: 3.0-dev
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2008-03-13 01:37 UTC by Yury Batrakov
Modified: 2008-03-13 06:21 UTC (History)
0 users

Problem file (82.00 KB, application/octet-stream)
2008-03-13 01:37 UTC, Yury Batrakov

Note You need to log in before you can comment on or make changes to this bug.
Description Yury Batrakov 2008-03-13 01:37:00 UTC
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)
Comment 1 Yury Batrakov 2008-03-13 02:18:53 UTC
Oops, this is dyplicate to 43670, sorry :(
Comment 2 Nick Burch 2008-03-13 06:21:54 UTC

*** This bug has been marked as a duplicate of bug 43670 ***