Object reference error while publishing the code

I am trying to publish the code to orchestrator, while publishing i am getting some error like,
object reference not set to instance of an object. but the code is working fine when i am executing manually. can anyone please me with that.

Thanks,
Ananthaeswar.

  • It will publish all workflows in that folder, so you might have problems with the other files.
  • Also, if you publish in the newer Studio version the publish.json file gets changed and won’t work in the older Studio version.
  • Another thing is to check in the publish.json file to make sure the Main .xaml file is the same name as the main you want to publish. Close Studio before editing this file.

Hope any of these help.

I’ve seen this error before but can’t remember why I got it.

Regards.

1 Like