You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried the demo/DemoApp/JSONDemo.cs and got the below error:
[11:03:38 ERR] Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Operator '==' cannot be applied to operands of type 'System.Text.Json.JsonElement' and '<null>'
at CallSite.Target(Closure, CallSite, Object, Object)
at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
Troubleshoot
Trying to troubleshoot, I found that the issue comes from RulesEngine.HelperFunctions.Utils.CreateAbstractClassType when it try to compare the JsonValueKind with null
if (input == null)
{
return typeof(object);
}
The text was updated successfully, but these errors were encountered:
Version:
v5.0.3
Issue
I tried the
demo/DemoApp/JSONDemo.cs
and got the below error:Troubleshoot
Trying to troubleshoot, I found that the issue comes from
RulesEngine.HelperFunctions.Utils.CreateAbstractClassType
when it try to compare theJsonValueKind
with nullThe text was updated successfully, but these errors were encountered: