What is the meaning of this error

Hi

I am trying to execute a C# Code and getting this error

RemoteException wrapping System.NullReferenceException: Object reference not set to an instance of an object.
at Namespace_ff42.Main_Expressions.Main_Expressions_TypedDataContext1_ForReadOnly.__Expr117Get()
at Namespace_ff42.Main_Expressions.Main_Expressions_TypedDataContext1_ForReadOnly.ValueType___Expr117Get()
at Namespace_ff42.Main_Expressions.InvokeExpression(Int32 expressionId,
IList1 locations, ActivityContext activityContext) at System.Activities.Expressions.CompiledExpressionInvoker.InvokeExpression(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.RuntimeArgument.TryPopulateValue(LocationEnvironment targetEnvironment, ActivityInstance targetActivityInstance, ActivityExecutor executor, Object argumentValueOverride, Location resultLocation, Boolean skipFastPath) 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)

@Riya_Bansal

The error says that some variable or argument you are using is null…you did not assign any value to it…please check

Cheers

Hi @Riya_Bansal

I think you haven’t pass the data to the variables and doesn’t pass the arguments properly. In these cases only you will get this type of error.

Please check the pass data to variables and pass the arguments properly!

I hope it helps!!

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