Quantcast
Channel: UiPath Community Forum - Topics tagged error
Viewing all articles
Browse latest Browse all 4384

Execution Error: System.ArgumentNullException with Invalid L-value expression

$
0
0

I am receiving the following error when I try to run my workflow
image

My workflow was running smoothly until I suddenly started getting this error, and I can’t figure out where it is originating from. I checked the studio logs and saw it mentioned an invalid L-value expression relating to one of my variables. I had not used this variable in the workflow, and I determined it was not needed, so I deleted it. However, when I run the workflow, I am still getting the same error referencing that deleted variable.

Any help is greatly appreciated. Thanks!

From the Studio Logs:

[ERROR] [UiPath.Studio.exe] [1] System.InvalidOperationException: GetExpressionTree failed to get an expression tree because the VisualBasic expression text or the LocationReferenceEnvironment visible to it has been altered since it was cached. The compile error message is : Compiler error(s) encountered processing expression “RIC_Fund”.Invalid L-value expression.:Reference expressions cannot end with Conversion. The provided expression’s type must exactly match the type T of VisualBasicReference or LambdaReference…
at Microsoft.VisualBasic.Activities.VisualBasicReference1.GetExpressionTree() at UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerWrapper.VariableExists(ITextExpression expression, Variable variableToLookFor) in D:\a\1\s\Studio\UiPath.Studio.Plugin.Workflow\WorkflowHandling\DesignerWrapper.cs:line 2008, HResult -2146233079 12:12:45.1747 => [ERROR] [UiPath.Studio.exe] [1] System.InvalidOperationException: GetExpressionTree failed to get an expression tree because the VisualBasic expression text or the LocationReferenceEnvironment visible to it has been altered since it was cached. The compile error message is : Compiler error(s) encountered processing expression "RIC_Fund".Invalid L-value expression.:Reference expressions cannot end with Conversion. The provided expression's type must exactly match the type T of VisualBasicReference<T> or LambdaReference<T>.. at Microsoft.VisualBasic.Activities.VisualBasicReference1.GetExpressionTree()

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>