Select to view content in your preferred language

the execute method of custom geoprocessing tool cannot be invoked

1750
2
10-26-2012 07:08 AM
PeishengZhao
New Contributor
I use Java to create a custom geoprocessing tool and deploy it into ArcGIS 10.0. The user input interface can be showed and no error report. After click "OK", nothing is done. It seems the execute method is not invoked. Any idea about it?
0 Kudos
2 Replies
DougCowie
New Contributor
I'm having the same problem, does anyone have any ideas? It seems that the method is not called at all, no matter how many breakpoints either in the method or on entry/exit they're never hit.
0 Kudos
DougCowie
New Contributor
Its because the tools are being run in background mode! The execute method is only run in foreground mode, go to geoprocessing options and disable it.
This is the standard setup for Arc 10 by the looks of it.
0 Kudos