MaximumADHD / Rbx2Source

A utility tool that automatically assembles Roblox assets into geometry data, which is then compiled into the Source Engine.
73 stars 34 forks source link

unable to cast object of type 'system.int32' to type 'system.string' error #38

Closed XxSuperLuigi350xX closed 5 years ago

XxSuperLuigi350xX commented 5 years ago

every time i try to open up the application i get this error "unable to cast object of type 'system.int32' to type 'system.string"

MaximumADHD commented 5 years ago

Can you send a screenshot of the error message that pops up?

XxSuperLuigi350xX commented 5 years ago

yea Rbx2Source_v2 51_6_10_2019_5_36_26_PM

XxSuperLuigi350xX commented 5 years ago

did u get it

MaximumADHD commented 5 years ago

Sorry, let me be a little more clear. Can you show me what it says in the logs? Click on the details button in the bottom left there.

XxSuperLuigi350xX commented 5 years ago

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

** Exception Text ** System.InvalidCastException: Unable to cast object of type 'System.Int32' to type 'System.String'. at Rbx2Source.Resources.Settings.GetSetting[T](String key) at Rbx2Source.Rbx2Source.Rbx2Source_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.Form.WmShowWindow(Message& m) at System.Windows.Forms.Form.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: 4.0.0.0 Win32 Version: 4.7.3416.0 built by: NET472REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

Rbx2Source Assembly Version: 2.0.0.0 Win32 Version: 2.0.0.0 CodeBase: file:///C:/Users/angel/AppData/Local/Temp/Rar$EXa8936.14508/Rbx2Source-master/Rbx2Source.exe

System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_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 Assembly Version: 4.0.0.0 Win32 Version: 4.7.3416.0 built by: NET472REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

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

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

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

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

Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.7.3056.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

Newtonsoft.Json Assembly Version: 12.0.0.0 Win32 Version: 12.0.1.22727 CodeBase: file:///C:/Users/angel/AppData/Local/Temp/Rar$EXa8936.14508/Rbx2Source-master/Newtonsoft.Json.DLL

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

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

System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.7.3260.0 built by: NET472REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.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."

XxSuperLuigi350xX commented 5 years ago

dose that help?

XxSuperLuigi350xX commented 5 years ago

hello?

MaximumADHD commented 5 years ago

Yes this helps a lot. Please be patient, as this isn’t this isn’t the only project I am actively maintaining.

XxSuperLuigi350xX commented 5 years ago

alr thank you i can wait just take ur time

XxSuperLuigi350xX commented 5 years ago

hows everything going so far

MaximumADHD commented 5 years ago

Will be taking care of this today.

MaximumADHD commented 5 years ago

Apologies, I got caught up in some other things today. It’s on my radar though.

XxSuperLuigi350xX commented 5 years ago

ok

MaximumADHD commented 5 years ago

Just made an update to the program. Let me know if you're still seeing these errors.

XxSuperLuigi350xX commented 5 years ago

it works great thank you so much