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 2011/09/26 12:05:36 UTC

DO NOT REPLY [Bug 51890] New: ArrayIndexOutOfBounds ExceptionPicture.fillRawImageContent

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

             Bug #: 51890
           Summary: ArrayIndexOutOfBounds
                    ExceptionPicture.fillRawImageContent
           Product: POI
           Version: 3.8-dev
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HWPF
        AssignedTo: dev@poi.apache.org
        ReportedBy: pablo.queixalos@polyspot.com
    Classification: Unclassified


Created attachment 27596
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27596
Attachment throwing this ArrayIndexOutOfBoundsException

tested with r1174868 (through Tika)

java.lang.ArrayIndexOutOfBoundsException
    at java.lang.System.arraycopy(Native Method)
    at
org.apache.poi.hwpf.usermodel.Picture.fillRawImageContent(Picture.java:363)
    at org.apache.poi.hwpf.usermodel.Picture.getRawContent(Picture.java:203)
    at org.apache.poi.hwpf.usermodel.Picture.fillImageContent(Picture.java:372)
    at org.apache.poi.hwpf.usermodel.Picture.getContent(Picture.java:191)
    at
org.apache.poi.hwpf.usermodel.Picture.suggestPictureType(Picture.java:330)
    at
org.apache.poi.hwpf.usermodel.Picture.suggestFileExtension(Picture.java:315)
    at
org.apache.poi.hwpf.usermodel.Picture.suggestFullFileName(Picture.java:150)
    at
org.apache.tika.parser.microsoft.WordExtractor$PicturesSource.<init>(WordExtractor.java:504)
    at
org.apache.tika.parser.microsoft.WordExtractor$PicturesSource.<init>(WordExtractor.java:488)
    at
org.apache.tika.parser.microsoft.WordExtractor.parse(WordExtractor.java:81)
    at
org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:200)

-- 
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 51890] ArrayIndexOutOfBounds ExceptionPicture.fillRawImageContent

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

Sergey Vladimirov <vl...@gmail.com> changed:

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

--- Comment #2 from Sergey Vladimirov <vl...@gmail.com> 2011-09-30 13:26:26 UTC ---


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

-- 
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 51890] ArrayIndexOutOfBounds ExceptionPicture.fillRawImageContent

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

pqueixalos <pa...@polyspot.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|                            |All

--- Comment #1 from pqueixalos <pa...@polyspot.com> 2011-09-26 10:08:29 UTC ---
Sorry, tested revision was : r1175705

(In reply to comment #0)
> Created attachment 27596 [details]
> Attachment throwing this ArrayIndexOutOfBoundsException
> 
> tested with r1174868 (through Tika)
> 
> java.lang.ArrayIndexOutOfBoundsException
>     at java.lang.System.arraycopy(Native Method)
>     at
> org.apache.poi.hwpf.usermodel.Picture.fillRawImageContent(Picture.java:363)
>     at org.apache.poi.hwpf.usermodel.Picture.getRawContent(Picture.java:203)
>     at org.apache.poi.hwpf.usermodel.Picture.fillImageContent(Picture.java:372)
>     at org.apache.poi.hwpf.usermodel.Picture.getContent(Picture.java:191)
>     at
> org.apache.poi.hwpf.usermodel.Picture.suggestPictureType(Picture.java:330)
>     at
> org.apache.poi.hwpf.usermodel.Picture.suggestFileExtension(Picture.java:315)
>     at
> org.apache.poi.hwpf.usermodel.Picture.suggestFullFileName(Picture.java:150)
>     at
> org.apache.tika.parser.microsoft.WordExtractor$PicturesSource.<init>(WordExtractor.java:504)
>     at
> org.apache.tika.parser.microsoft.WordExtractor$PicturesSource.<init>(WordExtractor.java:488)
>     at
> org.apache.tika.parser.microsoft.WordExtractor.parse(WordExtractor.java:81)
>     at
> org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:200)

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