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

Error. Any idea what is wrong? #369

Open
Warmixik opened this issue Dec 20, 2024 · 0 comments
Open

Error. Any idea what is wrong? #369

Warmixik opened this issue Dec 20, 2024 · 0 comments

Comments

@Warmixik
Copy link

It is happening after I try to type "/skins"

Dec 20 18:52:22: 18:52:22 [EROR] (cssharp:Core) Error invoking callback
Dec 20 18:52:22: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
Dec 20 18:52:22: ---> System.NullReferenceException: Object reference not set to an instance of an object.
Dec 20 18:52:22: at MenuManager.Misc.GetCurrentPlayerMenu(CCSPlayerController player) in C:\Users\NickFox\source\repos\CSSharp\MenuManager\MenuManagerCore\Misc.cs:line 47
Dec 20 18:52:22: at MenuManager.MenuInstance.Open(CCSPlayerController player) in C:\Users\NickFox\source\repos\CSSharp\MenuManager\MenuManagerCore\MenuInstance.cs:line 53
Dec 20 18:52:22: at WeaponPaints.WeaponPaints.<>c__DisplayClass5_0.b__14(CCSPlayerController player, CommandInfo _) in /home/runner/work/cs2-WeaponPaints/cs2-WeaponPaints/Commands.cs:line 403
Dec 20 18:52:22: at CounterStrikeSharp.API.Core.Commands.CommandManager.HandleCommandInternal(Int32 playerSlot, IntPtr commandInfo) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Commands/CommandManager.cs:line 164
Dec 20 18:52:22: at InvokeStub_Action2.Invoke(Object, Span1)
Dec 20 18:52:22: at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Dec 20 18:52:22: --- End of inner exception stack trace ---
Dec 20 18:52:22: at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
Dec 20 18:52:22: at System.Delegate.DynamicInvokeImpl(Object[] args)
Dec 20 18:52:22: at CounterStrikeSharp.API.Core.FunctionReference.b__18_0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 100

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

No branches or pull requests

1 participant