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!

1
Vote

I'm in the process of identifying the source of a number of errors in  our logs and am finding a lot of JSInterop errors from the chart e.g.


Microsoft.JSInterop.JSException: 'An exception occurred executing JS interop: The JSON value could not be converted to System.Boolean. Path: $ | LineNumber: 0 | BytePositionInLine: 4.. See InnerException for more details.'

JsonException: The JSON value could not be converted to System.Boolean. Path: $ | LineNumber: 0 | BytePositionInLine: 4.

InvalidOperationException: Cannot get the value of a token type 'Null' as a boolean.

This exception was originally thrown at this call stack:

    System.Text.Json.ThrowHelper.ThrowInvalidOperationException_ExpectedBoolean(System.Text.Json.JsonTokenType) in ThrowHelper.cs

    System.Text.Json.Utf8JsonReader.GetBoolean() in Utf8JsonReader.TryGet.cs

    System.Text.Json.Serialization.JsonConverter.TryRead(ref System.Text.Json.Utf8JsonReader, System.Type, System.Text.Json.JsonSerializerOptions, ref System.Text.Json.ReadStack, out T, out bool) in JsonConverterOfT.cs

    System.Text.Json.Serialization.JsonConverter.ReadCore(ref System.Text.Json.Utf8JsonReader, System.Text.Json.JsonSerializerOptions, ref System.Text.Json.ReadStack) in JsonConverterOfT.ReadCore.cs




This one seems to original from 'ZoomToolkit':


Empty


You'll need to capture 'JSInterop' exceptions for this detail:

Empty



This is happening on a chart with these zoom settings (also hooked to 'OnZooming'), where the zoom factor is changed externally to the control:

Empty