New SAP Activities - Exception While Publishing

@loginerror @LevKushnir @Pablito
Dear All,

Good day!

We have used new sap activities to develop library activities (i.e- Click tool bar and Select menu item activities )

We are using those library activities in the artifact, but while publishing the artifact we are getting error message “ Null Reference Exception”.

Please look into the below step by step flow

We have used the below mentioned versions in a separate workflow and also as a library into another workflow. Kindly look into the test results for both below.

UiPath.System.Activities - 20.4.0

UiPath.UiAutomation.Activities - 20.4.2

Case1- Publish new sap activities as a separate workflow – Success

Case2 – Publish new sap activities as a library into another workflow - Failed

We have used below mentioned activities to create the new library

In artifact we have used above developed library and tested.

As soon as i try to publish/analyze the project we are getting ‘Null Reference Exception’ .
Note –

While publishing the above new sap activities in a separate workflow, we are not facing any issue. But at the same time if we are using the new sap activities as a library into the other artifact , we are facing above exception.

Best Regards,


@LevKushnir @ovi @Palaniyappan

Can you anyone help me on this issue

@Naveen.Ch which Studio version are you using? Also, can you please share the error in plain text? The screenshot is unclear. Thank you

HI @gheorghestan,

Thank you for your response.
Studio version - 2019.10.3
Error message -
Process.xaml: System.NullReferenceException: Object reference not set to an instance of an object.
at Test_Naveen_lib.ClickTollBar.GetImplementation()
at System.Activities.Activity.OnInternalCacheMetadata(Boolean createEmptyBindings)
at System.Activities.Activity.InternalCacheMetadata(Boolean createEmptyBindings, IList1& validationErrors) at System.Activities.ActivityUtilities.ProcessActivity(ChildActivity childActivity, ChildActivity& nextActivity, Stack1& activitiesRemaining, ActivityCallStack parentChain, IList1& validationErrors, ProcessActivityTreeOptions options, ProcessActivityCallback callback) at System.Activities.ActivityUtilities.ProcessActivityTreeCore(ChildActivity currentActivity, ActivityCallStack parentChain, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList1& validationErrors)
at System.Activities.ActivityUtilities.CacheRootMetadata(Activity activity, LocationReferenceEnvironment hostEnvironment, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList`1& validationErrors)
at System.Activities.Validation.ActivityValidationServices.InternalActivityValidationServices.InternalValidate()
at System.Activities.Validation.ActivityValidationServices.Validate(Activity toValidate, ValidationSettings settings)
at System.Activities.Presentation.Validation.ValidationService.CoreValidationWork(ValidationReason reason, CancellationToken cancellationToken)

@loginerror @gheorghestan

Please respond on this link

@Naveen.Ch we have replicated the error, and we have opened up an internal issue for tracking it. We will keep you posted on the progress.

BR, Gheorghe

1 Like

hi @gheorghestan

Thank you for the info.

When we can expect the solution for this issue.

Best Regards,
Naveen chaganti

HI @Naveen.Ch

To fix the issue that occurred on 19.10.3, the following steps are required:

  • upgrade to Studio 19.10.5 (latest 19.10 patch as of today);
  • publish the library again
  • update the library dependency inside the project

After doing so, publishing the process was successful.

We have just successfully tested it

Best regards, Lev

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.