You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Emmanuel Bourg (Updated) (JIRA)" <ji...@apache.org> on 2011/12/20 11:39:30 UTC
[jira] [Updated] (SANSELAN-55) ArrayIndexOutOfBounds exception
throwing when get metadata
[ https://issues.apache.org/jira/browse/SANSELAN-55?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Bourg updated SANSELAN-55:
-----------------------------------
Fix Version/s: (was: 0.94-incubator)
1.0
> 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: 1.0
>
> 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