The type initializer for [...] threw an exception

Please post here to get help with RPMod (only!)
Post Reply
User avatar
Jel'a Vra
Lost One
Posts: 88
Joined: Fri Dec 06, 2013 9:51 am

The type initializer for [...] threw an exception

Post by Jel'a Vra »

Hi,
today, after a sudden crash of my PC (blue screen) while I was connected to the server, I got this error upon launching RPMod launcher after the PC restarted:
Error.jpg
Error2.jpg
I tried to do the following:
  • Reboot PC
  • Reinstall RPMod
  • Reinstall C++ and .Net Framework
Despite all these attempts, I still get this error.
On a side note, I can still launch the game with RPMod and manually connect to the server (by using the console), but when I try to refresh the servers list from the game, I get no results.

Help
Image
Species: Zabrak | Homeworld: Iridonia | Birthdate: 310.22 | Initiated: 321.15 | Mentor: Des Anaro | Padawan: Cerez Kay | Skin: Link
User avatar
Evanin Dawnstar
Lost One
Posts: 766
Joined: Sat May 03, 2014 2:43 pm
Location: Balamak.

Re: The type initializer for [...] threw an exception

Post by Evanin Dawnstar »

Is the options settings still set to how it should?
| Evanin J. Dawnstar | Dantooine | Forty-Seven |
| Mentors: Bo Iiln/Shaok Panek |
"As one grows older, they realize the futility in trying to avoid responsibility as a child." Image

>> Updated Skin Link <<

User avatar
Jel'a Vra
Lost One
Posts: 88
Joined: Fri Dec 06, 2013 9:51 am

Re: The type initializer for [...] threw an exception

Post by Jel'a Vra »

Yes, that's untouched
Image
Species: Zabrak | Homeworld: Iridonia | Birthdate: 310.22 | Initiated: 321.15 | Mentor: Des Anaro | Padawan: Cerez Kay | Skin: Link
User avatar
Tweek Etimau
Lost One
Posts: 80
Joined: Mon Sep 08, 2014 12:15 am
Location: Rodia

Re: The type initializer for [...] threw an exception

Post by Tweek Etimau »

I have same problem. But have not had pc issues. This only happens when trying to download new content or patches.
Image
Average times online. Monday, Tuesday, Friday and Saturday from 21:00-02:00. Sunday and Monday all day. GST
User avatar
Soh Raun
Jedi Master
Posts: 2459
Joined: Tue Aug 23, 2005 5:15 am
Contact:

Re: The type initializer for [...] threw an exception

Post by Soh Raun »

Hmm, this error message doesn't really provide enough information to understand what's going on (I will work on improving error reporting in future versions).

Things you might want to try:
  • Extract the RPMod-Launcher.pk3 file manually (in your "GameData/rpmod" folder) using a tool like 7-zip, overwriting any existing file during the process.
  • Backup and delete the user.config file in the "%LOCALAPPDATA%\FC_Prod\RPMod-Launcher.exe_StrongName_vcaink4zkoafixp4jj54iqq1e4qvbvrc\0.5.0.0" folder (the %LOCALAPPDATA% part will be automatically replaced with the appropriate location in Windows Explorer).
This should ensure that you start with fresh configuration files.

Let me know if this helped or not. :)
- Soh.
Image
User avatar
Jel'a Vra
Lost One
Posts: 88
Joined: Fri Dec 06, 2013 9:51 am

Re: The type initializer for [...] threw an exception

Post by Jel'a Vra »

Awesome, that fixed it perfectly :D

Thank you Soh!
Image
Species: Zabrak | Homeworld: Iridonia | Birthdate: 310.22 | Initiated: 321.15 | Mentor: Des Anaro | Padawan: Cerez Kay | Skin: Link
User avatar
Kira Alde
Exiled
Posts: 183
Joined: Tue Apr 11, 2017 8:16 am
Location: Yavin IV

Re: The type initializer for [...] threw an exception

Post by Kira Alde »

I wanted to revive this topic as it suddenly became an issue for myself, the solution given by Soh works.
Perhaps a topic dedicated to this should be posted in the Information section for future reference.

Eighteen | New Alderaan | Masterless

Post Reply