laptop and a wrench

Bug

Setting a parameter in a script tool but not using it in the script crashes the geoprocessing service.

Last Published: August 25, 2014 ArcGIS Server (.NET)
Bug ID Number NIM088713
SubmittedFebruary 1, 2013
Last ModifiedApril 2, 2025
Applies toArcGIS Server (.NET)
Version found10.0
Operating SystemWindows OS
Operating System Version2008 R2
Version Fixed10.1
StatusFixed

Additional Information

fixed in 10.1

Workaround

Provide an if statement:Ex. # Import arcpy moduleimport arcpyInShape = r"<a href="file:C:/Project/data.shp" target="_blank">C:\Project\data.shp</a>"outFL = "Output_FeatureLayer"output = arcpy.GetParameter(0)if output == 1: arcpy.MakeFeatureLayer_management(InShape,outFL, "", "", "") arcpy.AddMessage("Valid features exist") arcpy.SetParameterAsText(1,outFL)else: arcpy.AddMessage("No valid output feature layer")

Steps to Reproduce

Bug ID: NIM088713

Software:

  • ArcGIS Server (.NET)

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options