Issue Type: Bug Bug
Affects Versions: 10.2
Assignee: Unassigned
Components: imagemosaic plugin
Created: 10/Dec/13 8:45 AM
Description:

When creating an ImageMosaic layer in GeoServer, I get the following exceptions:

2013-12-10 16:29:55,259 ERROR [imagemosaic.Utils] - Index: 0, Size: 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:604)
at java.util.ArrayList.get(ArrayList.java:382)
at org.geotools.gce.imagemosaic.properties.time.TimestampFileNameExtractor.setProperties(TimestampFileNameExtractor.java:85)
at org.geotools.gce.imagemosaic.CatalogManager.updateAttributesFromCollectors(CatalogManager.java:405)
at org.geotools.gce.imagemosaic.CatalogManager.updateCatalog(CatalogManager.java:364)
at org.geotools.gce.imagemosaic.ImageMosaicWalker$MosaicDirectoryWalker.handleFile(ImageMosaicWalker.java:547)
etc.

It appears that TimestampFileNameExtractor around line 82 attempts to access the dates list after determining that it is empty. it should probably fail mroe gracefully, perhaps by simply returning after the check on line 78 and leaving the property unset?

Project: GeoTools
Priority: Major Major
Reporter: Tuure Laurinolli
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to