Hi
I’m really not clear about the orchestrator, as just started to rebuild my local program under the environment.
I’ve just run my program with the orchestrator, which worked perfectly on my local, but doesn’t work with that.
And found much error log, mostly announced as “Object reference not set to an instance of an object.”
Should i rebuild my local cord to adopt the orchestrator or change some configuration?
Would someone pls advise me to adopt local code to the orchestrator enviroment generally.
If your code is working on your local machine without any issue, it should be fine… We don’t really need to do any changes to run it via the orchestrator. The best way to troubleshoot is,
Try executing the code in your local machine again, but in debug mode, step by step. use some breakpoints to pause the execution at some point. Then do a step by step execution until the entire program comes to an end. This way, if it throws such an error, you will be able to locate from where it is occurring and why…
Hi Lahiru.Fernando
Thanks for your comment!
I’m wondering why it does’nt work with orchestrator but works locally…
Now I will try step by step using brake points and find issues respectively.
Pls let me ask if I found further problem.
At the time you registered to the orchestrator, there is a link where you should create a tenant for your self. It’s more like a separate work environment for you…
Hi, Im now debugging my code step by step under orchestrator environment, and found some program work with “flowchart” but doesn’t work with “sequence”.Is “sequence” blocking logic is not permitted under orchestrator generally ? Actually, when running code with using “sequence”, the error above noted.
I could not found such a specification in their documents…
Usually flowcharts are used for working on business logic with decision node as you may know already. But still, you can add sequence activities within flowchart activities to perform various sequential activities… Wonder why that’s happening…
However, still if it’s working under flowchart activity, you can use it without any issue…
Let me know if you need any further support it this… would be glad to help
Thanks for helpful comment!
I will try different approach or investigate configuration of orchestrator.
If have further question, let me ask here again.
Really thanks for your corporation and kindness.
Hi this must be configuration issue i guess… as i ignored whole program and
added writeline “brake” at the initial line and run through orchestrator, but it doesn’t work and Job detrails announced as follows:
Process: hogehoge
Environment: foo
Robot: Robot for JP
Info: Execution error : System.NullReferenceException: Object reference not set to an instance of an object.
at System.Activities.Statements.Throw.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
Ignored whole program in “Main.xaml” and added simple program “opening Memo”
with start process activity(“C:\Windows\system32\notepad.exe”) at initial line in the same sequence block.
→ it doesn’t work
Deleted a.xaml, b.xaml and c.xaml individually and took same steps as 1)
→ it doesn’t work
Deleted a.xaml, b.xaml and c.xaml, and screenshots individually and took same steps as 1)
→ it doesn’t work
Deleted a.xaml, b.xaml and c.xaml, and .screenshots all together (* dialog comes up like "if you want to delete ‘thumbs.db’ or not " related to .screenshots and actually choose “skip”) and deleted whole procedure in main.xaml and added simple program “opening Memo”
with start process activity(“C:\Windows\system32\notepad.exe”).
→ it works
Deleted a.xaml, b.xaml and c.xaml, and .screenshots all together (* actually dialog if you delete ‘thumbs.db’ related to .screenshots and choose skip) and deleted whole procedure in main.xaml and took same steps as 1)
→ it works
Didn’t deleted any files but deleted whole procedure in main.xaml and added simple program “opening Memo” with start process activity(“C:\Windows\system32\notepad.exe”).
→ it doesn’t work
So I guess this is the issue regarding to relation between file references or something…
But actually I dont get it and need some help,
thanks