[ 
https://issues.apache.org/jira/browse/IMAGING-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16104936#comment-16104936
 ] 

Venkataraman K commented on IMAGING-113:
----------------------------------------

Hello. I am new to apache jira. I have faced this issue and would like to get 
the fix downloaded. Can someone help me in downloading this fix ? 
It is asking me to validate using fisheye and i am not sure how to do it.

Thanks in advance

> Cannot read multipage tiff
> --------------------------
>
>                 Key: IMAGING-113
>                 URL: https://issues.apache.org/jira/browse/IMAGING-113
>             Project: Commons Imaging
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Adrian Costil
>              Labels: multipage, tiff
>             Fix For: 1.0
>
>
> I get the error below when I'm trying to read a multipage tiff file as a list 
> of images
>                       final List<BufferedImage> images = 
> Imaging.getAllBufferedImages(new File(imageLocation));
> line 589 of TiffImageParser
>         Rectangle subImage = checkForSubImage(params); //if the params is 
> null it will crash
> java.lang.NullPointerException
>       at 
> org.apache.commons.imaging.formats.tiff.TiffImageParser.getIntegerParameter(TiffImageParser.java:513)
>       at 
> org.apache.commons.imaging.formats.tiff.TiffImageParser.checkForSubImage(TiffImageParser.java:531)
>       at 
> org.apache.commons.imaging.formats.tiff.TiffImageParser.getBufferedImage(TiffImageParser.java:589)
>       at 
> org.apache.commons.imaging.formats.tiff.TiffDirectory.getTiffImage(TiffDirectory.java:163)
>       at 
> org.apache.commons.imaging.formats.tiff.TiffImageParser.getAllBufferedImages(TiffImageParser.java:499)
>       at 
> org.apache.commons.imaging.Imaging.getAllBufferedImages(Imaging.java:1210)
>       at 
> org.apache.commons.imaging.Imaging.getAllBufferedImages(Imaging.java:1202)
>       at TestWriteTiffImages.main(TestWriteTiffImages.java:30)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to