Revision 1087 org.gvsig.raster/trunk/org.gvsig.raster/org.gvsig.raster.fmap/src/main/java/org/gvsig/raster/fmap/layers/DefaultFLyrRaster.java

View differences:

DefaultFLyrRaster.java
453 453
	 * @throws FilePaletteException 
454 454
	 */
455 455
	private void loadEnhancedOrColorTable(RasterFilterList filterList) throws FilterTypeException, FilterManagerException, FilePaletteException {
456
		String colorTableName = configuration.getValueString("loadlayer_usecolortable", (String) null);
456
		String colorTableName = null;
457
		if(configuration != null)
458
			colorTableName = configuration.getValueString("loadlayer_usecolortable", (String) null);
457 459

  
458 460
		String palettesPath = System.getProperty("user.home") +
459 461
		File.separator +
......
2123 2125
		render                         = null;
2124 2126
	}
2125 2127

  
2128
	public void setDataStore(DataStore dataStore, String domain)
2129
			throws LoadLayerException {
2130
		setDataStore(dataStore);
2131
	}
2132

  
2126 2133
}

Also available in: Unified diff