I cannot figure this error out for the life of me. Maybe I am missing something somewhere.
I have built out the Login System 1 workflow and when I go to test the individual Login System 1 Workflow I get the following error:
An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.NullReferenceException: Object reference not set to an instance of an object.
at lambda_method(Closure , 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.Variable1.PopulateDefault(ActivityExecutor executor, ActivityInstance parentInstance, Location location)
at System.Activities.ActivityInstance.ResolveVariable(Variable variable, ActivityExecutor executor)
at System.Activities.ActivityInstance.ResolveVariables(ActivityExecutor executor)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
Hi
Kindly check once with the variable associated with the activity where this error occured
and this error occurs only when that variable has null value in it or is passed with no value
–so the workarounds would be
–kindly check with the variable been passed has any value and for that use a write line activity and try to print that value that value so that we can validate whether it has value or not by looking on to the output panel
–next check on the arguments been passed correctly to the invoked worklfow
–and if the variables are obtaind from config file kindly check once with spelling of those variables and values in the config file
–Then check whether that config variable is sent properly to the arguments of the invoked workflow
hope this would help you
Kindly try this and let know for any queries or clarification
I guess since I am so new to this I am not really following what your mentioning to do. I also don’t really understand what the error means because there are multiple variables in this workflow, and I don’t see what activity it is giving that error for to help me narrow down which variable isn’t correct.