Issue Type: Bug Bug
Affects Versions: 10.1
Assignee: Unassigned
Components: imagemosaic plugin
Created: 19/Nov/13 5:08 AM
Description:

In commit 18c21177c7dbdce1a4e298b598afe3743e12cada, a 'TypeName' property has been added to the configuration of image mosaics. From the code, it seems to be mandatory if a shape file is not used. Not setting it in my mosaic.properties file results in a NullPointerException.

Line 450 of org.geotools.gce.imagemosaic.Utils:

//
+		// typename, is mandatory when we don't use shapeiles
+		//              
+		if (!ignoreSome || !ignorePropertiesSet.contains(Prop.TYPENAME)) {
+			String typeName = properties.getProperty(Prop.TYPENAME, null);
+			retValue.setTypeName(typeName);
 		}

Can the exception handling be improved, and can this documentation:
http://docs.geoserver.org/latest/en/user/tutorials/image_mosaic_plugin/imagemosaic.html
be updated to at least mention the TypeName property?

Project: GeoTools
Priority: Major Major
Reporter: Jeroen Dries
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
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to