commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damjan Jovanovic (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SANSELAN-55) ArrayIndexOutOfBounds exception throwing when get metadata
Date Sat, 26 Nov 2011 09:23:40 GMT

     [ https://issues.apache.org/jira/browse/SANSELAN-55?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Damjan Jovanovic resolved SANSELAN-55.
--------------------------------------

    Resolution: Fixed

Patch committed to revision 1206412, resolving fixed.

                
> ArrayIndexOutOfBounds exception throwing when get metadata
> ----------------------------------------------------------
>
>                 Key: SANSELAN-55
>                 URL: https://issues.apache.org/jira/browse/SANSELAN-55
>             Project: Commons Sanselan
>          Issue Type: Bug
>    Affects Versions: 0.94-incubator
>         Environment: Ubuntu 11.04/Liftweb/SBT
>            Reporter: Chka Davaadorj
>             Fix For: 0.94-incubator
>
>         Attachments: stupidpic-analysis.ods, stupidpic.jpg, tiff-handle-bad-offsets.patch,
tiff-patch.txt
>
>
> This is the executed script: Sanselan.getMetadata(new File(filePath))
> But, this throws following exception:
> Caught and thrown by:
> Message: java.lang.ArrayIndexOutOfBoundsException
> 	java.lang.System.arraycopy(Native Method)
> 	org.apache.sanselan.common.byteSources.ByteSourceArray.getBlock(ByteSourceArray.java:52)
> 	org.apache.sanselan.formats.tiff.TiffField.fillInValue(TiffField.java:309)
> 	org.apache.sanselan.formats.tiff.TiffReader.readDirectory(TiffReader.java:195)
> 	org.apache.sanselan.formats.tiff.TiffReader.readDirectory(TiffReader.java:110)
> 	org.apache.sanselan.formats.tiff.TiffReader.readDirectories(TiffReader.java:101)
> 	org.apache.sanselan.formats.tiff.TiffReader.read(TiffReader.java:448)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message