Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am trying to run a geo processing task using Java Script API for Arcgis. I have created a simple buffer task, published using Arcgis server (synchronous) and used the same (almost) code as the view shed example "http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/demos/geoprocessor/gp_viewshed.html" . The view shed runs fine, but it fails with my REST service with the following error. "Server Error - Object reference not set to an instance of an object. Code: 500" .

I have browsed a lot and did some changes with respect but nothing seems to work. Has anyone experienced this?

Any help in this regard would be highly appreciated.. thank you very much...

share|improve this question
>there was a bug where the Rest API could not return geometry for true curves. It was fixed in service pack 1 for 9.3. –  Mapperz Sep 8 '11 at 14:08
It's difficult to pinpoint the issue (malformed request, etc) if you don't post code. –  Gady Sep 8 '11 at 21:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.