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

Damjan Jovanovic updated SANSELAN-55:
-------------------------------------

    Attachment: stupidpic-analysis.ods

Byte-by-byte analysis of that file's EXIF section.
                
> 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-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

        

Reply via email to