Updated Studio from 2019.10.2 to 2019.10.3 Community and now I have a null reference error on my Custom Library

ExecStop.zip (71.5 KB)

Sure, here’s the generated report by DiagTool.

Thank you, we are looking into it.
Could you also share the library?

OdysseyLibrary2.1.0.44.nupkg (193.7 KB)

Ok.

Hi Alex,

Really appreciate your help on this, I am at a lost on what’s going.

Here is what I did so far to hit this error:

  1. After the studio update I opened the Library Project on Studio 2019.10.3 and republished it even without changing anything, it published successfully without errors.

  2. I then opened my main process project on Studio 2019.10.3 and then updated the OdysseyLibrary2 package to the newly published version.

  3. After the package update I immediately get this error as seen on the attached screenshot

Thanks,
Can you share the library project itself (the one that you want to compile) and the RPAHelperLibrary depdency?

Hi Alex,

I dug a little dipper and did a trial and error, to see which activity in my library is causing this error.

I created a new blank Library Project and I tried to re-create 1 functionality workflow for testing which is my application login workflow.

So one by one I add an activity and publish the library and update it on my main test process project, everything was fine until I added a UiPath.Core.Activities.SelectItem activity and then I hit the same validation error message.

Can you test this on your end? If this is the activity that maybe is causing this because my OdysseyLibrary is full of this activity and maybe that is why I am getting the validation error.

1 Like

Hi,

We managed to reproduce this issue.
Thank you for your feedback.

1 Like

Hi Alex,

Thank you, hope this get fixed soon.

For those who have the same issue as I have, you can replace the Select Item Activity with Select Multi Item Activity.

1 Like

This is a pretty big game-stopper. I recently ran into this issue and thanks @jeffreyhermosa for escalating this.

@alexg do you know if there is a timeline when this will be fixed. And, if this is something that can be resolved through a simple activity package update, or is it going to need to be an Orchestrator update. It is a major headache for us to get IT to make an update to Orchestrator and Studio.

Thanks for this. I will pass this on.

@ClaytonM It should be fixed in Studio 2019.10.4, are you using 2019.10.3 or 2019.10.4 ?

I think 2019.10.3
I’ll see if we can get our team to bump up a version.

Thanks.

@ClaytonM If you can’t bump up version there is also the possibility to switch the compiler with the following flag: “UseLegacyLibraryCompiler”.
You can find more details here: About Libraries

1 Like

I was linked over to this post from the one I made, and I upgraded to 19.10.4 from 19.10.3 and the issue has been resolved for me

wow, thanks. I had the same issue , i replaced as u suggested and it worked. Thanks again.Do you know if anyone from uipath team are working on this issue?

They said, it should have already been fixed in 2020 version

Hi,
My process is throwing the same error all of sudden even though I havent upgraded UiPath Studio. I am using UiPath Studio 2019.10.3 Enterprise version.
I tried replacing Select Item to Select Multiple Items but still didnt fix.
Any idea what could be the issue.
@alexg @jeffreyhermosa

I’m encountering the same exception with a custom library: substituting activities doesn’t resolve it either. Does anyone have other troubleshooting suggestions? Thanks!

@Mox I dont have solution for this but i presumed the issue is in custom library package, creating local workflow and not referring to library did fix for me.
Create workflow local in your project and remove referencing from custom library. Let me know how it goes.

I’m having this issue with a custom library I created a couple days ago. We are on Orchestrator 2020.10.4 but my Studio hasn’t been upgraded yet and is 2019.10.3

Within this library I have 3 custom activities. 2 of the activities work fine, the one that doesn’t is the only one that uses the Select Item activity.

I have a test project where the 1 problem custom activity is literally the only activity in the workflow and it generates the error. I just switch both Select Item activities to Select Multiple Items, republished, updated the package in the test project, and no longer get the error.

Is the issue within Studio itself, or in either the UiPath.System.Activities or UiPath.UiAutomation.Activities dependencies? If the problem is in those dependencies then it means to update the custom library we’ll also have to update any projects that use the custom libraries. The overlap between library sub-dependencies and project top-level dependencies is a real pain.

Did you publish the library without use of ANY Select Item activities, then go to the projects that use the library and update to the new package version?