Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

2
Votes

Uncaught (in promise) Error: System.NullReferenceException: Object reference not set to an instance of an object.

   at Syncfusion.Blazor.DocumentEditor.Internal.TextProperties.UpdateSelectionCharacterFormat(SelectionCharacterFormat format, SelectionParagraphFormat paragraphFormat)

   at Syncfusion.Blazor.DocumentEditor.SfDocumentEditorContainer.SelectionChange(SelectionInfo args)

   at Syncfusion.Blazor.DocumentEditor.SfDocumentEditor.OnSelectionChangeInternal(SelectionInfo args)

   at Syncfusion.Blazor.DocumentEditor.Internal.DocumentEditorJSInteropAdaptor.OnSelectionChange(SelectionInfo args)

   at InvokeStub_DocumentEditorJSInteropAdaptor.OnSelectionChange(Object, Span`1)

   at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

--- End of stack trace from previous location ---

   at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.InvokeSynchronously(JSRuntime jsRuntime, DotNetInvocationInfo& callInfo, IDotNetObjectReference objectReference, String argsJson)

   at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.BeginInvokeDotNet(JSRuntime jsRuntime, DotNetInvocationInfo invocationInfo, String argsJson)

    at y.endInvokeDotNetFromJS (https://localhost:7179/_framework/blazor.server.js:1:3502)

    at Yt._invokeClientMethod (https://localhost:7179/_framework/blazor.server.js:1:61041)

    at Yt._processIncomingData (https://localhost:7179/_framework/blazor.server.js:1:58516)

    at Yt.connection.onreceive (https://localhost:7179/_framework/blazor.server.js:1:52157)

    at s.onmessage (https://localhost:7179/_framework/blazor.server.js:1:80302)

and 

System.NullReferenceException: Object reference not set to an instance of an object. at Syncfusion.Blazor.DocumentEditor.Internal.TextProperties.UpdateStyles() at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state) at Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.PostAs



this exception not happen everytime but usually when i start the page or save page from onsave method and again come back to it correct itself when load one or two time