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/04/08 21:29:18 UTC

DO NOT REPLY [Bug 44781] New: java.lang.IllegalArgumentException: Found a chunk with a negative length, which isn't allowed

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

           Summary: java.lang.IllegalArgumentException: Found a chunk with a
                    negative length, which isn't allowed
           Product: POI
           Version: unspecified
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: critical
          Priority: P1
         Component: POI Overall
        AssignedTo: dev@poi.apache.org
        ReportedBy: durgadeep@gmail.com


Created an attachment (id=21796)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21796)
Visio File That fails.

WARNING: NameOfAttachment : LAB-01.CMPE.142_MIPS_Lab_with_SPIM_.ppt
Needed 19 bytes to create the next chunk header, but only found 5 bytes,
ignoring rest of data
Needed 19 bytes to create the next chunk header, but only found 11 bytes,
ignoring rest of data
Needed 19 bytes to create the next chunk header, but only found 5 bytes,
ignoring rest of data
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:58)
        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:47)
        at
org.apache.poi.hdgf.extractor.VisioTextExtractor.<init>(VisioTextExtractor.java:51)
        at
com.sun.comms.iss.indexapi.converter.MSVisioConverter.convertToText(MSVisioConverter.java:112)
        at
com.sun.comms.iss.indexapi.converter.MSVisioConverter.getObject(MSVisioConverter.java:66)
        at
com.sun.comms.iss.indexapi.converter.ConverterBase.getAttachmentObject(ConverterBase.java:31)
        at
com.sun.comms.iss.indexapi.parser.CreateEmailDocument.parseEmailContent(CreateEmailDocument.java:416)
        at
com.sun.comms.iss.indexapi.parser.CreateEmailDocument.parseEmail(CreateEmailDocument.java:302)
        at
com.sun.comms.iss.indexapi.parser.CreateEmailDocument.parseEmailContent(CreateEmailDocument.java:450)
        at
com.sun.comms.iss.indexapi.parser.CreateEmailDocument.parseEmail(CreateEmailDocument.java:511)
        at
com.sun.comms.iss.indexapi.parser.CreateEmailDocument.parseEmail(CreateEmailDocument.java:278)
        at
com.sun.comms.iss.indexapi.parser.CreateEmailDocument.createFromMessageObject(CreateEmailDocument.java:86)
        at
com.sun.comms.iss.indexapi.crawler.EmailCrawler$FolderRunnable.run(EmailCrawler.java:276)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
Apr 8, 2008 12:27:52 PM com.sun.comms.iss.indexapi.converter.MSVisioConverter
getObject
WARNING: Unable to Index MS Visio Document : Found a chunk with a negative
length, which isn't allowed
Apr 8, 2008 12:27:52 PM com.sun.comms.iss.indexapi.converter.MSVisioConverter
getObject
WARNING: Unable to Index MS Visio Document : Found a chunk with a negative
length, which isn't allowed
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:58)
        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:47)
        at
org.apache.poi.hdgf.extractor.VisioTextExtractor.<init>(VisioTextExtractor.java:51)
        at
com.sun.comms.iss.indexapi.converter.MSVisioConverter.convertToText(MSVisioConverter.java:112)
        at
com.sun.comms.iss.indexapi.converter.MSVisioConverter.getObject(MSVisioConverter.java:66)
        at
com.sun.comms.iss.indexapi.converter.ConverterBase.getAttachmentObject(ConverterBase.java:31)
        at
com.sun.comms.iss.indexapi.parser.CreateEmailDocument.parseEmailContent(CreateEmailDocument.java:416)
        at
com.sun.comms.iss.indexapi.parser.CreateEmailDocument.parseEmail(CreateEmailDocument.java:302)
        at
com.sun.comms.iss.indexapi.parser.CreateEmailDocument.parseEmailContent(CreateEmailDocument.java:450)
        at
com.sun.comms.iss.indexapi.parser.CreateEmailDocument.parseEmail(CreateEmailDocument.java:511)
        at
com.sun.comms.iss.indexapi.parser.CreateEmailDocument.parseEmail(CreateEmailDocument.java:278)
        at
com.sun.comms.iss.indexapi.parser.CreateEmailDocument.createFromMessageObject(CreateEmailDocument.java:86)
        at
com.sun.comms.iss.indexapi.crawler.EmailCrawler$FolderRunnable.run(EmailCrawler.java:276)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)


-- 
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 44781] java.lang.IllegalArgumentException: Found a chunk with a negative length, which isn't allowed

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


Patrick Herber <pa...@ticino.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |patrick.herber@ticino.com




-- 
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 44781] java.lang.IllegalArgumentException: Found a chunk with a negative length, which isn't allowed

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

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

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

--- Comment #1 from Nick Burch <ni...@alfresco.com> 2010-06-03 07:15:14 EDT ---


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

-- 
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 44781] java.lang.IllegalArgumentException: Found a chunk with a negative length, which isn't allowed

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


sits <da...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david.sitsky@gmail.com


-- 
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