SEServerExtender / EssentialsPlugin

Dedicated Essentials Plugin
GNU Lesser General Public License v3.0
18 stars 18 forks source link

Chat handlers crash #100

Open tdmike opened 8 years ago

tdmike commented 8 years ago

2016-06-15 19:16:58.5101|Error|System.NullReferenceException: Object reference not set to an instance of an object. at SEModAPIExtensions.API.ChatManager.SetupChatHandlers() |System.NullReferenceException: Object reference not set to an instance of an object. at SEModAPIExtensions.API.ChatManager.SetupChatHandlers()

I'm getting this error as soon as I start the server and it keeps repeating itself won't stop. It's a brand new server with the most recent versions of SESE and Essentials

rexxar-tc commented 8 years ago

That's a generic error that happens when the server fails to start. Unfortunately, it doesn't give us any information than "something's wrong"

tdmike commented 8 years ago

Should I post any logs or is there no way to fix it ?

k1r0ck commented 8 years ago

1) Did you install NewEssentials mod on your server? http://steamcommunity.com/sharedfiles/filedetails/?id=559202083

2) Delete everything in your server's mod forder.

3) Install the Latest releases of SESE and Essentials: SESE: https://github.com/SEServerExtender/SEServerExtender/releases/latest Essentials: https://github.com/SEServerExtender/EssentialsPlugin/releases/latest

4) Broken save (or are there any disabled CubeBlocks in the world)?

5) Broken / invalid config file (SE, Essentials)?

k1r0ck commented 8 years ago

Had the same problem today, solved by deleting current Sandbox.sbc file(from world save) and placing new one from backup.

tdmike commented 8 years ago

Like I stated above, it's a brand new world, updated SESE and Essentials, I will generate a new world tomorrow.

k1r0ck commented 8 years ago

Did you read the console output at the start? Probably, it will write something like that: "World '..' cant be loaded, it was created in newer version of the game"... and will continue to start without mods and world, with many many "yellow" errors.

rexxar-tc commented 8 years ago

The most common causes for this are when your world is corrupt in some way, or you have a non-public or dead mod in your mods list.

The server fails to load, but SESE doesn't handle that, so it keeps on going as if the server is running. Which, as you can imagine, results in a lot of bad things.