MrNaikito / towny

Automatically exported from code.google.com/p/towny
0 stars 1 forks source link

Towny Chat - Random Crash #1565

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Server did it's scheduled restart
2. Received errors for Towny Chat upon server start
3. Towny Chat found nonoperational 

What is the expected output? :
Towny chat formatting per settings

What do you see instead? :
Vanilla chat

What is your Towny version number? :
0.82.1.0

What is your TownyChat version number? :
v0.36

What is your Bukkit version number? :
b2624

What operating system? :
Windows 7

Please use pastebin.com to link the following files:
- Your full server startup from server.log,
http://pastebin.com/DYtWRBMs

- Your towny config.yml,
http://pastebin.com/etMP00dz

- Your townyperms.yml,
http://pastebin.com/hyg9i13M

- Your permissions file.
http://pastebin.com/3tHgAnUA

In the case of chat-issues please link your:
- Chatconfig.yml
http://pastebin.com/JkTwkg0N

- Channels.yml
http://pastebin.com/cH64fnei

Skipping these files is not an option. It is the easiest way to diagnose an
issue ticket properly. If you do skip this step then your ticket will most
likely be deleted and you will be asked to resubmit.

Original issue reported on code.google.com by serendi...@gmail.com on 5 Feb 2013 at 9:48

GoogleCodeExporter commented 9 years ago
Possible corruption in the Channel, townyperms or ChatConfig file. I deleted 
all jars, reinstalled fresh ones and deleted the afore mentioned files to force 
them to regenerate. This seems to have fixed the error for now.

Original comment by serendi...@gmail.com on 5 Feb 2013 at 4:20

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Disabled the jar after updating the formatting and I got this error:

2013-02-05 10:36:51 [SEVERE] Error occurred while enabling TownyChat v0.36 (Is 
it up to date?)
java.lang.NullPointerException
at com.palmergames.bukkit.TownyChat.Chat.onEnable(Chat.java:80)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at 
org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
at 
org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugin(CraftServer.java:282)
at 
org.bukkit.craftbukkit.v1_4_R1.CraftServer.enablePlugins(CraftServer.java:264)
at org.bukkit.craftbukkit.v1_4_R1.CraftServer.reload(CraftServer.java:596)
at org.bukkit.Bukkit.reload(Bukkit.java:184)
at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:23)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186)
at 
org.bukkit.craftbukkit.v1_4_R1.CraftServer.dispatchCommand(CraftServer.java:514)
at 
net.minecraft.server.v1_4_R1.PlayerConnection.handleCommand(PlayerConnection.jav
a:980)
at net.minecraft.server.v1_4_R1.PlayerConnection.chat(PlayerConnection.java:898)
at net.minecraft.server.v1_4_R1.PlayerConnection.a(PlayerConnection.java:853)
at net.minecraft.server.v1_4_R1.Packet3Chat.handle(Packet3Chat.java:44)
at net.minecraft.server.v1_4_R1.NetworkManager.b(NetworkManager.java:290)
at net.minecraft.server.v1_4_R1.PlayerConnection.d(PlayerConnection.java:113)
at net.minecraft.server.v1_4_R1.ServerConnection.b(SourceFile:39)
at net.minecraft.server.v1_4_R1.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:598)
at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224)
at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:494)
at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)

Formatting works as intended, mute function disabled. I see no conflict in-game 
just in the console.

Original comment by serendi...@gmail.com on 5 Feb 2013 at 4:39

GoogleCodeExporter commented 9 years ago

Original comment by LlmD...@gmail.com on 5 Feb 2013 at 5:02

GoogleCodeExporter commented 9 years ago
You corrupted your ChatConfig.yml
More specifically the worlds section at the bottom. You have remove the world 
name node.

  worlds:
    'world':
      global: '{channelTag} {worldname}{townytagoverride}{townycolor}{permprefix}{group} {townyprefix}{modplayername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
      town: '{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
      nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
      default: '{channelTag} {permprefix}{playername}{permsuffix}&f:{msgcolour} {msg}'

Original comment by Elg...@palmergames.com on 7 Feb 2013 at 10:26

GoogleCodeExporter commented 9 years ago
The config was regenerated, but the errors are still showing on reloads or 
start ups. It isn't causing server crashes though.

Original comment by serendi...@gmail.com on 8 Feb 2013 at 1:09

GoogleCodeExporter commented 9 years ago
The /reload command isn't really safe to use. It could be breaking another 
plugin which is in turn causing TC to error.

Original comment by LlmD...@gmail.com on 8 Feb 2013 at 3:29

GoogleCodeExporter commented 9 years ago

Original comment by LlmD...@gmail.com on 20 Mar 2013 at 4:32