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/27 09:08:24 UTC

DO NOT REPLY [Bug 44687] New: Unable to Index a Visio Document.

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: dev@poi.apache.org
        ReportedBy: durgadeep@gmail.com


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


DO NOT REPLY [Bug 44687] Unable to Index a Visio Document.

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


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

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




--- Comment #1 from Nick Burch <ni...@torchbox.com>  2008-03-27 04:58:54 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