You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2008/03/13 09:25:16 UTC

DO NOT REPLY [Bug 44594] New: ArrayIndexOutOfBoundsException in VisioTextExtractor

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

           Summary: ArrayIndexOutOfBoundsException in VisioTextExtractor
           Product: POI
           Version: 3.0-dev
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: POI Overall
        AssignedTo: dev@poi.apache.org
        ReportedBy: batrakov@gmail.com


Here is ArrayIndexOutOfBoundsException in
org.apache.poi.hdgf.extractor.VisioTextExtractor, problem file is attached

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3785
        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:109)
        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)


-- 
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 44594] ArrayIndexOutOfBoundsException in VisioTextExtractor

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44594





--- Comment #1 from Yury Batrakov <ba...@gmail.com>  2008-03-13 01:26:06 PST ---
Created an attachment (id=21658)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21658)
Visio file that caused an exception


-- 
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 44594] ArrayIndexOutOfBoundsException in VisioTextExtractor

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44594





--- Comment #4 from Yury Batrakov <ba...@gmail.com>  2008-03-13 02:19:27 PST ---
This is duplicate to 44501, sorry


-- 
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 44594] ArrayIndexOutOfBoundsException in VisioTextExtractor

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44594





--- Comment #2 from Yury Batrakov <ba...@gmail.com>  2008-03-13 01:34:06 PST ---
Also I've got the following exception on file test3 (attached)
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
        at
org.apache.poi.hdgf.extractor.VisioTextExtractor.findText(VisioTextExtractor.java:78)
        at
org.apache.poi.hdgf.extractor.VisioTextExtractor.findText(VisioTextExtractor.java:68)
        at
org.apache.poi.hdgf.extractor.VisioTextExtractor.findText(VisioTextExtractor.java:68)
        at
org.apache.poi.hdgf.extractor.VisioTextExtractor.getAllText(VisioTextExtractor.java:60)
        at
org.apache.poi.hdgf.extractor.VisioTextExtractor.getText(VisioTextExtractor.java:94)
        at
org.apache.poi.hdgf.extractor.VisioTextExtractor.main(VisioTextExtractor.java:116)


-- 
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 44594] ArrayIndexOutOfBoundsException in VisioTextExtractor

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44594


Nick Burch <ni...@torchbox.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




--- Comment #5 from Nick Burch <ni...@torchbox.com>  2008-03-13 06:21:01 PST ---


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


-- 
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 44594] ArrayIndexOutOfBoundsException in VisioTextExtractor

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44594





--- Comment #3 from Yury Batrakov <ba...@gmail.com>  2008-03-13 01:34:44 PST ---
Created an attachment (id=21659)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21659)
File test3.vsd


-- 
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org