BetterJoy icon indicating copy to clipboard operation
BetterJoy copied to clipboard

[BUG]

Open ameer510 opened this issue 5 years ago • 5 comments

Error on startup and not entering my Pro Controller

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at BetterJoyForCemu.Controller.OutputControllerXbox360..ctor() at BetterJoyForCemu.Joycon..ctor(IntPtr handle_, Boolean imu, Boolean localize, Single alpha, Boolean left, String path, String serialNum, Int32 id, Boolean isPro, Boolean isSnes, Boolean thirdParty) at BetterJoyForCemu.JoyconManager.CheckForNewControllers() at BetterJoyForCemu.Program.Start() at BetterJoyForCemu.MainForm.MainForm_Load(Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Form.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Form.WmShowWindow(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.4250.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

BetterJoyForCemu Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Users/Owner/Desktop/BetterJoy_v6.4a_x64%20(1)/BetterJoyForCemu.exe

System Assembly Version: 4.0.0.0 Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Net.Http Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll

System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

System.ServiceProcess Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceProcess/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll

Nefarius.ViGEm.Client Assembly Version: 1.16.150.0 Win32 Version: 1.16.150 CodeBase: file:///C:/Users/Owner/Desktop/BetterJoy_v6.4a_x64%20(1)/Nefarius.ViGEm.Client.DLL

System.Numerics Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

WindowsInput Assembly Version: 6.1.0.0 Win32 Version: 6.1.0.0 CodeBase: file:///C:/Users/Owner/Desktop/BetterJoy_v6.4a_x64%20(1)/WindowsInput.DLL

************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.

For example:

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box. Bug1 Bug2

ameer510 avatar Nov 29 '20 07:11 ameer510

have you installed vigembus drivers?

typecasto avatar Dec 19 '20 21:12 typecasto

have you installed vigembus drivers? Yes, I installed it. What do I do next to make it work, or how do I remove it.

Garess avatar Sep 18 '22 10:09 Garess

This also happening to me if you manage to fix it let me know how you did it.

That-Nuggetz avatar Sep 30 '22 13:09 That-Nuggetz

Same

mrh0 avatar Feb 14 '23 21:02 mrh0

I had the same issue. After restarting my pc for the install it started and I just had to reinstall the driver and relaunch Betterjoy and it fixed the problem.

Obramm avatar May 13 '23 15:05 Obramm