Home » jAlbum forums » Bug reports

This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 7 - Pages: 1 - Last Post: 20-Mar-2014 07:46 Last Post By: cecilhope Threads: [ Previous | Next ]
artdizz

Posts: 3
Registered: 03/25/12
help bug report java.lang.ArrayIndexOutOfBoundsException
Posted: 13-May-2012 01:21
 
  Click to reply to this thread Reply
An unexpected error occured. Please see detailed description below:

java.lang.ArrayIndexOutOfBoundsException: 95
at org.apache.sanselan.formats.tiff.photometricinterpreters.PhotometricInterpreterPalette.interpretPixel(PhotometricInterpreterPalette.java:45)
at org.apache.sanselan.formats.tiff.datareaders.DataReaderStrips.interpretStrip(DataReaderStrips.java:67)
at org.apache.sanselan.formats.tiff.datareaders.DataReaderStrips.readImageData(DataReaderStrips.java:99)
at org.apache.sanselan.formats.tiff.TiffImageParser.getBufferedImage(TiffImageParser.java:505)
at org.apache.sanselan.formats.tiff.TiffDirectory.getTiffImage(TiffDirectory.java:163)
at org.apache.sanselan.formats.tiff.TiffImageParser.getBufferedImage(TiffImageParser.java:441)
at org.apache.sanselan.Sanselan.getBufferedImage(Sanselan.java:1264)
at org.apache.sanselan.Sanselan.getBufferedImage(Sanselan.java:1231)
at se.datadosen.util.FileFilters.doLoadImage(FileFilters.java:534)
at se.datadosen.util.FileFilters.loadImage(FileFilters.java:470)
at se.datadosen.jalbum.AlbumBean$StandardImageProcessor.processImage(AlbumBean.java:4432)
at se.datadosen.jalbum.AlbumBean$StandardImageProcessor.processImages(AlbumBean.java:4359)
at se.datadosen.jalbum.AlbumBean$ImageProcessingTask.call(AlbumBean.java:4298)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
jGromit

Posts: 26,491
Registered: 01/31/06
Re: help bug report java.lang.ArrayIndexOutOfBoundsException
Posted: 13-May-2012 02:04   in response to: artdizz in response to: artdizz
 
  Click to reply to this thread Reply
You're going to have to give us more than that. When did this error occur? Are you trying to feed TIFF images into jAlbum? Have you installed the Java image processor addon for TIFF's? Are you using jAlbum's bundled Java, or pointing to your own version? What version are you running?
jGromit

Posts: 26,491
Registered: 01/31/06
Re: help bug report java.lang.ArrayIndexOutOfBoundsException
Posted: 13-May-2012 02:40   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Actually, I can short-circuit this. If you're trying to feed TIFF images into jAlbum, don't. The Java extension for TIFF has a lot of problems, and ultimately isn't reliable. Convert your images to JPG's (sRGB colorspace) in some other image-processing application before using them in jAlbum.
davidekholm

Posts: 18,884
Registered: 10/18/02
Re: help bug report java.lang.ArrayIndexOutOfBoundsException
Posted: 13-May-2012 09:27   in response to: artdizz in response to: artdizz
 
  Click to reply to this thread Reply
Please pass the image that causes that error to Apache Sanselan. It's their 3:rd party TIFF reading library that had that ArrayIndexutOfBoundsException (a bug)
artdizz

Posts: 3
Registered: 03/25/12
Re: help bug report java.lang.ArrayIndexOutOfBoundsException
Posted: 13-May-2012 14:23   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Attachment Bill.tif (101,3 KB)
Attachment Bomb_&_Man.tif (21,5 KB)
Attachment Mountain_&_Sunrise.tif (86,5 KB)
do not speak English, use the translator google. These files cause an error.

Edited by: artdizz on 13-May-2012 14:23
jGromit

Posts: 26,491
Registered: 01/31/06
Re: help bug report java.lang.ArrayIndexOutOfBoundsException
Posted: 13-May-2012 14:28   in response to: artdizz in response to: artdizz
 
  Click to reply to this thread Reply
The error is not in jAlbum. The error is in the Apache Sanselan library. You should report the bug to Apache Sanselan.

To use your images in jAlbum, convert them from TIFF to JPG before adding them to your album project.
artdizz

Posts: 3
Registered: 03/25/12
Re: help bug report java.lang.ArrayIndexOutOfBoundsException
Posted: 13-May-2012 14:38   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Thank you. So do it
cecilhope

Posts: 1
Registered: 03/20/14
Re: help bug report java.lang.ArrayIndexOutOfBoundsException
Posted: 20-Mar-2014 07:46   in response to: artdizz in response to: artdizz
 
  Click to reply to this thread Reply
I have the same error before. You would better not feed TIFF images in jAlbum. I have used a java image processing control to convert TIFF image in other formats and then applied them into jAlbum.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums