Need help with THPS Pro unhandled exception error [SOLVED]

This is a forum for THUG Pro.
troxy
Posts: 3
Joined: Fri Oct 28, 2016 7:53 pm

Need help with THPS Pro unhandled exception error [SOLVED]

Postby troxy » Fri Oct 28, 2016 7:57 pm

In installed THUG2 and THUG Pro.

When I run the launcher I get this error. If I click continue and click gamepad binding the error occurs again. I am running as admin.

Any help would be appreciated.

Image
Last edited by troxy on Fri Oct 28, 2016 11:13 pm, edited 1 time in total.

troxy
Posts: 3
Joined: Fri Oct 28, 2016 7:53 pm

Re: Need help with THPS Pro unhandled exception error

Postby troxy » Fri Oct 28, 2016 10:45 pm

Details from the error:

Code: Select all

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 UGP.USBDeviceInfo.GetUSBDevices()
   at UGP.DevicePoller.BuildDeviceList()
   at UGP.DevicePoller..ctor(Int32 padStep, Boolean paused)
   at UGP.FormBLauncher.ProLauncher_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.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at UGP.FormBLauncher.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
THUGProLauncher
    Assembly Version: 1.7.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Ryan/AppData/Local/THUG%20Pro/THUGProLauncher.exe
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8686 (QFE.050727-8600)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5491 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5495 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.DirectX.DirectInput
    Assembly Version: 1.0.2902.0
    Win32 Version: 5.04.00.2904
    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.DirectInput/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.DirectInput.dll
----------------------------------------
System.Management
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.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:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

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.

troxy
Posts: 3
Joined: Fri Oct 28, 2016 7:53 pm

Re: Need help with THPS Pro unhandled exception error

Postby troxy » Fri Oct 28, 2016 11:13 pm

Found the damn issue. There was a device in one of my fucking USB ports that was causing the .NET code in THUG Pro to bomb.

User avatar
Skater1014
VIP
Posts: 170
Joined: Fri Apr 01, 2016 7:53 pm
Location: 'Murica!
Contact:

Re: Need help with THPS Pro unhandled exception error

Postby Skater1014 » Sat Oct 29, 2016 1:10 pm

troxy wrote:Found the damn issue. There was a device in one of my fucking USB ports that was causing the .NET code in THUG Pro to bomb.

The launcher can be very finnicky. Especially the newer one that came with the latest update.
I already had to temporarily restore the old launcher to fix my triggers.
(I'm using the current launcher again but I'm not gonna even touch anything in control settings since it might mess things up again.)

gpto666
Posts: 2
Joined: Wed Nov 02, 2016 4:06 am

Re: Need help with THPS Pro unhandled exception error [SOLVED]

Postby gpto666 » Wed Nov 02, 2016 4:09 am

that does that with my launcher too , in the past i was playing with my old controller no problem but now , my mouse is causing the error so i cannot play with my controller ,cant click lauch thug pro in the launcher if i unplug my usb mouse and i dont have another, plx fix this :)

%.gone.
Global Moderator
Posts: 368
Joined: Sun Mar 07, 2010 5:12 pm

Re: Need help with THPS Pro unhandled exception error [SOLVED]

Postby %.gone. » Wed Nov 02, 2016 11:00 am

I already had to temporarily restore the old launcher to fix my triggers.
(I'm using the current launcher again but I'm not gonna even touch anything in control settings since it might mess things up again.)

Perhaps if you reported bugs instead of using hack methods to get old versions running things would get fixed.
Shits broken, fix it. Isn't a bug report either. With the exception of these two here and most likely a few others with their same issue preventing the device list from being built the polling of the launcher is now spot on. If it isn't then report the issue.
Usb gathering is needed to determine if your controllers are xinput. Without it you'll bitch that my controller doesn't work at all when in fact it's that this game was created before xinput and doesn't split triggers.


Return to “THUG Pro”

Who is online

Users browsing this forum: No registered users and 3 guests