Replies: 1 comment 1 reply
-
This is probably caused by the Trimmer feature that is automatically applied to a WASM project during publishing. Could you try disabling it to test this idea? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In a Component I have 10 tabs , when I resize the page ,Tabs at the end disappear and the Tabs Drop down does not appear because of following Error. This happens only when I deploy the application. In dev it works fine
Any suggestions would be appreciated
blazor.webassembly.js:1
Uncaught (in promise) Error: System.NotSupportedException: DeserializeNoConstructor, JsonConstructorAttribute, Microsoft.FluentUI.AspNetCore.Components.OverflowItem Path: $[0] | LineNumber: 0 | BytePositionInLine: 2.
---> System.NotSupportedException: DeserializeNoConstructor, JsonConstructorAttribute, Microsoft.FluentUI.AspNetCore.Components.OverflowItem
Exception_EndOfInnerExceptionStack
at System.Text.Json.ThrowHelper.ThrowNotSupportedException(ReadStack& , Utf8Jso…SupportedException)
at System.Text.Json.ThrowHelper.ThrowNotSupportedException_DeserializeNoConstructor(Type , Utf8JsonReader& , ReadStack&)
at System.Text.Json.Serialization.Converters.ObjectDefaultConverter
1[[Microsoft.FluentUI.AspNetCore.Components.OverflowItem, Microsoft.FluentUI.AspNetCore.Components, Version=4.10.3.24302, Culture=neutral, PublicKeyToken=null]].OnTryRead(Utf8JsonReader& , Ty…k& , OverflowItem&) at System.Text.Json.Serialization.JsonConverter
1[[Microsoft.FluentUI.AspNetCore.Components.OverflowItem, Microsoft.FluentUI.AspNetCore.Components, Version=4.10.3.24302, Culture=neutral, PublicKeyToken=null]].TryRead(Utf8JsonReader& , Ty…owItem& , Boolean&)at System.Text.Json.Serialization.JsonCollectionConverter
2[[Microsoft.FluentUI.AspNetCore.Components.OverflowItem[], Microsoft.FluentUI.AspNetCore.Components, Version=4.10.3.24302, Culture=neutral, PublicKeyToken=null],[Microsoft.FluentUI.AspNetCore.Components.OverflowItem, Microsoft.FluentUI.AspNetCore.Components, Version=4.10.3.24302, Culture=neutral, PublicKeyToken=null]].OnTryRead(Utf8JsonReader& , Ty… , OverflowItem[]&) at System.Text.Json.Serialization.JsonConverter
1[[Microsoft.FluentUI.AspNetCore.Components.OverflowItem[], Microsoft.FluentUI.AspNetCore.Components, Version=4.10.3.24302, Culture=neutral, PublicKeyToken=null]].TryRead(Utf8JsonReader& , Ty…Item[]& , Boolean&)at System.Text.Json.Serialization.JsonConverter
1[[Microsoft.FluentUI.AspNetCore.Components.OverflowItem[], Microsoft.FluentUI.AspNetCore.Components, Version=4.10.3.24302, Culture=neutral, PublicKeyToken=null]].ReadCore(Utf8JsonReader& , Js…tions , ReadStack&) at System.Text.Json.Serialization.Metadata.JsonTypeInfo
1[[Microsoft.FluentUI.AspNetCore.Components.OverflowItem[], Microsoft.FluentUI.AspNetCore.Components, Version=4.10.3.24302, Culture=neutral, PublicKeyToken=null]].Deserialize(Utf8JsonReader& , ReadStack&)at System.Text.Json.JsonSerializer.ReadFromSpan[OverflowItem[]](ReadOnlySpan
1 , Jso…nfo
1 , Nullable1) at System.Text.Json.JsonSerializer.ReadFromSpan[OverflowItem[]](ReadOnlySpan
1 , JsonTypeInfo`1)at System.Text.Json.JsonSerializer.Deserialize[OverflowItem[]](String , JsonSerializerOptions)
at Microsoft.FluentUI.AspNetCore.Components.FluentTabs.OverflowRaisedAsync(String value)
at b.endInvokeDotNetFromJS (blazor.webassembly.js:1:3136)
at Object.gn [as endInvokeDotNetFromJS] (blazor.webassembly.js:1:58943)
at dotnet.runtime.8.0.1…pnb5yx8.js:3:178446
at Ll (dotnet.runtime.8.0.1…pnb5yx8.js:3:179280)
at dotnet.native.wasm:0x1889b
at dotnet.native.wasm:0x14d73
at dotnet.native.wasm:0x817f
at dotnet.native.wasm:0x17596
at dotnet.native.wasm:0x17d87
at dotnet.native.wasm:0x1dd70c
Beta Was this translation helpful? Give feedback.
All reactions