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 . 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?

  • >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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.