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

Fix AttachCustomWheelEventHandler error in frontend. #48

Conversation

aaasoft
Copy link
Contributor

@aaasoft aaasoft commented Jul 10, 2024

blazor.server.js:1 Uncaught (in promise) Error: System.ArgumentException: The assembly 'XtermBlazor' does not contain a public invokable method with [JSInvokableAttribute("AttachCustomWheelEventHandler")].
at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.GetCachedMethodInfo(:5001/AssemblyKey assemblyKey, String methodIdentifier)
at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.InvokeSynchronously(:5001/JSRuntime jsRuntime, DotNetInvocationInfo& callInfo, IDotNetObjectReference objectReference, String argsJson)
at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.BeginInvokeDotNet(:5001/JSRuntime jsRuntime, DotNetInvocationInfo invocationInfo, String argsJson)
at y.endInvokeDotNetFromJS (blazor.server.js:1:3502)
at Xt._invokeClientMethod (blazor.server.js:1:61001)
at Xt._processIncomingData (blazor.server.js:1:58476)
at Xt.connection.onreceive (blazor.server.js:1:52117)
at s.onmessage (blazor.server.js:1:80262)

blazor.server.js:1 Uncaught (in promise) Error: System.ArgumentException: The assembly 'XtermBlazor' does not contain a public invokable method with [JSInvokableAttribute("AttachCustomWheelEventHandler")].
   at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.GetCachedMethodInfo(:5001/AssemblyKey assemblyKey, String methodIdentifier)
   at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.InvokeSynchronously(:5001/JSRuntime jsRuntime, DotNetInvocationInfo& callInfo, IDotNetObjectReference objectReference, String argsJson)
   at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.BeginInvokeDotNet(:5001/JSRuntime jsRuntime, DotNetInvocationInfo invocationInfo, String argsJson)
    at y.endInvokeDotNetFromJS (blazor.server.js:1:3502)
    at Xt._invokeClientMethod (blazor.server.js:1:61001)
    at Xt._processIncomingData (blazor.server.js:1:58476)
    at Xt.connection.onreceive (blazor.server.js:1:52117)
    at s.onmessage (blazor.server.js:1:80262)
@BattlefieldDuck
Copy link
Owner

@aaasoft thanks for fixing this!

@BattlefieldDuck BattlefieldDuck merged commit cd3f28a into BattlefieldDuck:main Jul 10, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants