Using Radzen from Blazor from 2.6.3 till 2.6.8, there is no such exception, and app is working fine.
After upgrade to latest, Radzen for Blazor, 2.6.9, I got Exception:
[2020-05-07T12:49:55.045Z] Error: System.AggregateException: Exceptions were encountered while disposing components. (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.)
---> System.NullReferenceException: Object reference not set to an instance of an object.
at Radzen.Blazor.RadzenGridRow.RemoveComponent(IRadzenFormComponent component)
at Radzen.FormComponent1.Dispose() at Microsoft.AspNetCore.Components.Rendering.ComponentState.TryDisposeInBatch(RenderBatchBuilder batchBuilder, Exception& exception) --- End of inner exception stack trace --- ---> (Inner Exception #1) System.NullReferenceException: Object reference not set to an instance of an object. at Radzen.Blazor.RadzenGridRow.RemoveComponent(IRadzenFormComponent component) at Radzen.FormComponent1.Dispose()
at Microsoft.AspNetCore.Components.Rendering.ComponentState.TryDisposeInBatch(RenderBatchBuilder batchBuilder, Exception& exception)<---
---> (Inner Exception #2) System.NullReferenceException: Object reference not set to an instance of an object.
at Radzen.Blazor.RadzenGridRow.RemoveComponent(IRadzenFormComponent component)
at Radzen.FormComponent`1.Dispose()
at Microsoft.AspNetCore.Components.Rendering.ComponentState.TryDisposeInBatch(RenderBatchBuilder batchBuilder, Exception& exception)<---
---> (Inner Exception #3) System.NullReferenceException: Object reference not set to an instance of an object.
at Radzen.Blazor.RadzenGridRow.RemoveComponent(IRadzenFormComponent component)
at Radzen.FormComponent`1.Dispose()
at Microsoft.AspNetCore.Components.Rendering.ComponentState.TryDisposeInBatch(RenderBatchBuilder batchBuilder, Exception& exception)<---
---> (Inner Exception #4) System.NullReferenceException: Object reference not set to an instance of an object.
at Radzen.Blazor.RadzenGridRow.RemoveComponent(IRadzenFormComponent component)
at Radzen.FormComponent`1.Dispose()
at Microsoft.AspNetCore.Components.Rendering.ComponentState.TryDisposeInBatch(RenderBatchBuilder batchBuilder, Exception& exception)<---
---> (Inner Exception #5) System.NullReferenceException: Object reference not set to an instance of an object.
at Radzen.Blazor.RadzenGridRow.RemoveComponent(IRadzenFormComponent component)
at Radzen.FormComponent`1.Dispose()
at Microsoft.AspNetCore.Components.Rendering.ComponentState.TryDisposeInBatch(RenderBatchBuilder batchBuilder, Exception& exception)<---
---> (Inner Exception #6) System.NullReferenceException: Object reference not set to an instance of an object.
at Radzen.Blazor.RadzenGridRow.RemoveComponent(IRadzenFormComponent component)
at Radzen.FormComponent`1.Dispose()
at Microsoft.AspNetCore.Components.Rendering.ComponentState.TryDisposeInBatch(RenderBatchBuilder batchBuilder, Exception& exception)<---
---> (Inner Exception #7) System.NullReferenceException: Object reference not set to an instance of an object.
at Radzen.Blazor.RadzenGridRow.RemoveComponent(IRadzenFormComponent component)
at Radzen.FormComponent`1.Dispose()
at Microsoft.AspNetCore.Components.Rendering.ComponentState.TryDisposeInBatch(RenderBatchBuilder batchBuilder, Exception& exception)<---
I'm able to login into app, go to another .razor page, but when starting another .razor page I got this error. It doesn't matter what page I start as first/second, error is always there on "second" page.
Data shown on page are retrieved using JSON, if this helps.
VS 2019, 16.5.4 .net core 3.1.