GSuite Integration unable to run - Object reference not set to an instance of an object

Hi,

I am doing the Integration Service training to learn how to set up connectors and triggers. However, my process was unable to run, even with the provided solution process. It always got the same “object reference not set to an instance of an object” error when the process checks if “UiPathEventConnector.Length > 0”.

Any ideas?

  • Process: IntegrationsExercice_Completed
  • Package: IntegrationsExercice_Completed
  • Package version: 1.0.12
  • State:Faulted
  • Raw message:

Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object. at Namespace_e606.Main_Expressions.Main_Expressions_TypedDataContext1_ForReadOnly.__Expr0Get()
at Namespace_e606.Main_Expressions.Main_Expressions_TypedDataContext1_ForReadOnly.ValueType___Expr0Get()
at Namespace_e606.Main_Expressions.InvokeExpression(Int32 expressionId, IList1 locations, ActivityContext activityContext) at Microsoft.VisualBasic.Activities.VisualBasicValue1.Execute(CodeActivityContext context)
at System.Activities.CodeActivity1.InternalExecuteInResolutionContext(CodeActivityContext context) at System.Activities.Runtime.ActivityExecutor.ExecuteInResolutionContext[T](ActivityInstance parentInstance, Activity1 expressionActivity)
at System.Activities.InArgument1.TryPopulateValue(LocationEnvironment targetEnvironment, ActivityInstance activityInstance, ActivityExecutor executor) at System.Activities.ActivityInstance.InternalTryPopulateArgumentValueOrScheduleExpression(RuntimeArgument argument, Int32 nextArgumentIndex, ActivityExecutor executor, IDictionary2 argumentValueOverrides, Location resultLocation, Boolean isDynamicUpdate)
at System.Activities.ActivityInstance.ResolveArguments(ActivityExecutor executor, IDictionary`2 argumentValueOverrides, Location resultLocation, Int32 startIndex)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

1 Like

@Ellie.Smith

Did you setup the connection in orchestrator? And referring to the same connection?

As per error either connection is null

Cheers

1 Like

Yes, I have, see this connection and trigger settings in orchestrator

1 Like

@Ellie.Smith

Did you select it in the activity?

Cheers

1 Like

Have you selected that in the activity you are using.

1 Like