Issue Type: Bug Bug
Affects Versions: 10-RC2
Assignee: Unassigned
Components: imagemosaic plugin
Created: 05/Sep/13 5:43 AM
Description:

When ImageMosaic is constructed from ImageMosaicDescriptor a NPE is thorwn because the method initReaderFromDescriptor does not initialize the granuleCatalog field from passed descriptor.

monospaced
Caused by: java.lang.NullPointerException: Argument "index" should not be null.
at org.geotools.util.Utilities.ensureNonNull(Utilities.java:683) ~[classes/:na]
at org.geotools.gce.imagemosaic.ImageMosaicReader.setGridGeometry(ImageMosaicReader.java:381) ~[classes/:na]
at org.geotools.gce.imagemosaic.ImageMosaicReader.setGridGeometry(ImageMosaicReader.java:418) ~[classes/:na]
at org.geotools.gce.imagemosaic.ImageMosaicReader.initReaderFromDescriptor(ImageMosaicReader.java:246) ~[classes/:na]
at org.geotools.gce.imagemosaic.ImageMosaicReader.<init>(ImageMosaicReader.java:205) ~[classes/:na]
at org.geotools.gce.imagemosaic.ImageMosaicFormat.getReader(ImageMosaicFormat.java:496) ~[classes/:na]
at org.geotools.gce.imagemosaic.ImageMosaicFormat.getReader(ImageMosaicFormat.java:106) ~[classes/:na]
monospaced

Project: GeoTools
Priority: Major Major
Reporter: Sebastian Graca
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
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to