Unable to save the raster file after Geo processing task done

171
0
12-06-2018 08:57 PM
Siva_SankaraReddy_T
New Contributor II

Hi, 

unable to save the raster file after Geo processing task done.

i used below code used for this task.

// access raster or data file after task is done

void process(GeoprocessingResult geoprocessingResult) { final GeoprocessingRaster geoprocessingRaster = (GeoprocessingRaster) geoprocessingResult.getOutputs().get("Hotspot_Raster"); ListenableFuture<Void> fetchRasterFuture = geoprocessingRaster.fetchFileAsync("<fileNameWithPath>"); fetchRasterFuture.addDoneListener(() -> { // file now available at <fileNameWithPath> }); }

Above code working in version 100.1. But using same code in version 100.2 and 100.4. Raster is not getting saved(download) and  their is no error/warning  also.

kindly help me.

Tags (1)
0 Kudos
0 Replies