ylboerner / Pathfinder

A frontend for the Firely .NET SDK FHIRPath engine.
2 stars 0 forks source link

Returning to Pathfinder tab after a while gave critical error #8

Open wardweistra opened 2 years ago

wardweistra commented 2 years ago

image

The reload did lose my resource and FHIRPath expressions (which wasn't an issue in this case)

crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
      Unhandled exception rendering component: Invocation of operator '=' failed: Arg_IndexOutOfRangeException
System.InvalidOperationException: Invocation of operator '=' failed: Arg_IndexOutOfRangeException
   at Hl7.FhirPath.Expressions.InvokeeFactory.<>c__DisplayClass17_0.<Invoke>b__0(Closure ctx, IEnumerable`1 _)
   at Hl7.FhirPath.Expressions.SymbolTableInit.runWhere(Closure ctx, IEnumerable`1 arguments)+MoveNext()
   at System.Collections.Generic.List`1[[Hl7.Fhir.ElementModel.ITypedElement, Hl7.Fhir.ElementModel, Version=3.8.0.0, Culture=neutral, PublicKeyToken=d706911480550fc3]]..ctor(IEnumerable`1 )
   at System.Linq.Enumerable.ToList[ITypedElement](IEnumerable`1 )
   at Pathfinder.Services.CompilationService.Compile(String fhirPathInput, String resourceInput)
   at Pathfinder.Pages.Index.OnInputChanged()
   at Microsoft.AspNetCore.Components.EventCallbackWorkItem.InvokeAsync[Object](MulticastDelegate , Object )
   at Microsoft.AspNetCore.Components.EventCallbackWorkItem.InvokeAsync(Object )
   at Microsoft.AspNetCore.Components.ComponentBase.Microsoft.AspNetCore.Components.IHandleEvent.HandleEventAsync(EventCallbackWorkItem callback, Object arg)
   at Microsoft.AspNetCore.Components.EventCallback`1[[System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].InvokeAsync(String )
   at MudBlazor.MudBaseInput`1.<SetTextAsync>d__102[[System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
   at MudBlazor.MudBaseInput`1.<SetValueAsync>d__155[[System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
   at MudBlazor.MudInput`1.<UpdateValuePropertyAsync>d__65[[System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
   at MudBlazor.MudBaseInput`1.<SetTextAsync>d__102[[System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task , ComponentState )