Pryaxis / TShock

☕️⚡️TShock provides Terraria servers with server-side characters, anti-cheat, and community management tools.
GNU General Public License v3.0
2.43k stars 382 forks source link

[TShock for v1.3.1.1] InvalidOperationException (Debian Jessie 8.5 with Mono JIT compiler version 3.2.8) #1229

Closed ghost closed 8 years ago

ghost commented 8 years ago

Today I was trying to run TShock under debian jessie with mono, and I got this error message:

[Server API] Error Startup aborted due to an exception in the Server API initialization:
System.InvalidOperationException: Plugin "TShock" has thrown an exception during initialization. ---> System.Exception: Fatal TShock initialization exception. See inner exception for details. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at TShockAPI.TShock.OnConfigRead (TShockAPI.ConfigFile file) [0x00000] in <filename unknown>:0
  at TShockAPI.ConfigFile.Read (System.IO.Stream stream) [0x00000] in <filename unknown>:0
  at TShockAPI.ConfigFile.Read (System.String path) [0x00000] in <filename unknown>:0
  at TShockAPI.FileTools.SetupConfig () [0x00000] in <filename unknown>:0
  at TShockAPI.TShock.Initialize () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at TShockAPI.TShock.Initialize () [0x00000] in <filename unknown>:0
  at TerrariaApi.Server.PluginContainer.Initialize () [0x00000] in <filename unknown>:0
  at TerrariaApi.Server.ServerApi.LoadPlugins () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at TerrariaApi.Server.ServerApi.LoadPlugins () [0x00000] in <filename unknown>:0
  at TerrariaApi.Server.ServerApi.Initialize (System.String[] commandLineArgs, Terraria.Main game) [0x00000] in <filename unknown>:0
  at Terraria.ProgramServer.InnerStart (System.String[] args) [0x00000] in <filename unknown>:0

Can anyone help, please?

QuiCM commented 8 years ago

https://tshock.co/xf/index.php?threads/ultimate-guide-how-to-get-help-common-quick-fixes.3857/