Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InvalidOperationException when using web component menu item bindings in sample app #40

Closed
danroth27 opened this issue May 6, 2021 · 0 comments
Labels
area:blazor A blazor-specific issue bug A bug closed:done Work is finished

Comments

@danroth27
Copy link
Member

Repro steps:

  • Run the FluentUIServerSample
  • Browse to the web component bindings
  • Try out the menu item bindings

Error in browser console:

Error: System.InvalidOperationException: There was an error parsing the event arguments. EventId: '9'.
 ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.AspNetCore.Components.Web.WebEventData.DeserializeChangeEventArgs(String eventArgsJson)
   at Microsoft.AspNetCore.Components.Web.WebEventData.ParseEventArgsJson(UInt64 eventHandlerId, String eventArgsType, String eventArgsJson)
   --- End of inner exception stack trace ---
   at Microsoft.AspNetCore.Components.Web.WebEventData.ParseEventArgsJson(UInt64 eventHandlerId, String eventArgsType, String eventArgsJson)
   at Microsoft.AspNetCore.Components.Web.WebEventData.Parse(WebEventDescriptor eventDescriptor, String eventArgsJson)
   at Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost.DispatchEvent(String eventDescriptorJson, String eventArgsJson)
@EisenbergEffect EisenbergEffect added area:blazor A blazor-specific issue bug A bug status:needs-investigation Needs additional investigation labels May 26, 2021
@EisenbergEffect EisenbergEffect added closed:done Work is finished and removed status:needs-investigation Needs additional investigation labels Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:blazor A blazor-specific issue bug A bug closed:done Work is finished
Projects
None yet
Development

No branches or pull requests

2 participants