Assign Activity - Object reference error
This worfkflow has been working great until recently I changed the URL of the map service it was referring to and now it is reporting this error:
/customer/servlet/servlet.FileDownload?file=00P6000000elu5TEAQ
/customer/servlet/servlet.FileDownload?file=00P6000000e88TuEAI
What do I need to do?
-
Hi Chad
can you post your actual workflow?
Without knowing more some possibilities are that:
- there are no features getting selected to set the extent with?
- you could also create the Envelope using Assign activity with New (myPoint.X-100, myPoint.Y-100, myPoint.X+100, myPoint.Y+100)
that is assuming that myPoint is not nothing.
Regards
Ralph Price
0 -
Likely a simple logic error and the new map service is not referencing the same thing, resulting in an empty object. The assign tries to manipulate it and fails because it isn't there. Check that your original map service layer IDs/names are identical to the new one, and trace the logic using the map service REST endpoint to see what would happen. You'll likely find the problem doing this. If not, as mentioned, post the full workflow to be reviewed.
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer