Bankcraft problem

Dieses Thema im Forum "Server Plugins" wurde erstellt von Basti07711, 18. Juli 2013.

  1. Basti07711
    Offline

    Basti07711 Ehem. Teammitglied

    Registriert seit:
    2. August 2012
    Beiträge:
    714
    Ort:
    Hinter dir
    Minecraft:
    Basti07711
    Hi Leute,
    heute morgen viel mir auf, das unser Bankplugin (Bankcraft) einen Fheler hat. Die Schilder gehen nicht und die Commands auch nicht.
    In der KOnsole stehen 3 Fehler:
    Nr.1:
    Code (Text):
    1. 2013-07-18 13:17:32 [SEVERE] Could not pass event PlayerInteractEvent to Bankcraft v2.1
    2. org.bukkit.event.EventException
    3.         at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
    4.         at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    5.         at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    6.         at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    7.         at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:192)
    8.         at net.minecraft.server.v1_6_R2.PlayerInteractManager.interact(PlayerInteractManager.java:373)
    9.         at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:630)
    10.         at net.minecraft.server.v1_6_R2.Packet15Place.handle(SourceFile:58)
    11.         at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296)
    12.         at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:118)
    13.         at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37)
    14.         at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:30)
    15.         at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590)
    16.         at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226)
    17.         at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486)
    18.         at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419)
    19.         at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
    20. Caused by: java.lang.NullPointerException
    21.         at de.hotmail.gurkilein.bankcraft.database.mysql.SignMysqlInterface.getType(SignMysqlInterface.java:33)
    22.         at de.hotmail.gurkilein.bankcraft.MinecraftPlayerListener.onklick(MinecraftPlayerListener.java:30)
    23.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    24.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    25.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    26.         at java.lang.reflect.Method.invoke(Method.java:601)
    27.         at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
    28.         ... 16 more
    29.  
    Nr.2:
    Code (Text):
    1. 2013-07-18 13:17:33 [WARNING] [Bankcraft] Task #48 for Bankcraft v2.1 generated an exception
    2. java.lang.NullPointerException
    3.         at de.hotmail.gurkilein.bankcraft.database.mysql.SignMysqlInterface.getLocations(SignMysqlInterface.java:186)
    4.         at de.hotmail.gurkilein.bankcraft.SignHandler.getSigns(SignHandler.java:183)
    5.         at de.hotmail.gurkilein.bankcraft.InterestGrantingTask.run(InterestGrantingTask.java:28)
    6.         at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftTask.run(CraftTask.java:53)
    7.         at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
    8.         at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:522)
    9.         at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226)
    10.         at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486)
    11.         at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419)
    12.         at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
    13.  
    Nr.3:
    Code (Text):
    1. 2013-07-18 13:17:38 [INFO] Basti07711 issued server command: /bank status(g)
    2. 2013-07-18 13:17:38 [SEVERE] null
    3. org.bukkit.command.CommandException: Unhandled exception executing command 'bank' in plugin Bankcraft v2.1
    4.         at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
    5.         at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189)
    6.         at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchCommand(CraftServer.java:523)
    7.         at net.minecraft.server.v1_6_R2.PlayerConnection.handleCommand(PlayerConnection.java:964)
    8.         at net.minecraft.server.v1_6_R2.PlayerConnection.chat(PlayerConnection.java:882)
    9.         at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:839)
    10.         at net.minecraft.server.v1_6_R2.Packet3Chat.handle(SourceFile:49)
    11.         at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296)
    12.         at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:118)
    13.         at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37)
    14.         at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:30)
    15.         at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590)
    16.         at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226)
    17.         at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486)
    18.         at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419)
    19.         at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
    20. Caused by: java.lang.NullPointerException
    21.         at de.hotmail.gurkilein.bankcraft.database.mysql.ExperienceMysqlInterface.hasAccount(ExperienceMysqlInterface.java:30)
    22.         at de.hotmail.gurkilein.bankcraft.database.mysql.ExperienceMysqlInterface.getBalance(ExperienceMysqlInterface.java:66)
    23.         at de.hotmail.gurkilein.bankcraft.database.mysql.ExperienceMysqlInterface.getBalance(ExperienceMysqlInterface.java:1)
    24.         at de.hotmail.gurkilein.bankcraft.ConfigurationHandler.printMessage(ConfigurationHandler.java:49)
    25.         at de.hotmail.gurkilein.bankcraft.banking.InteractionHandler.interact(InteractionHandler.java:120)
    26.         at de.hotmail.gurkilein.bankcraft.banking.InteractionHandler.interact(InteractionHandler.java:77)
    27.         at de.hotmail.gurkilein.bankcraft.banking.InteractionHandler.interact(InteractionHandler.java:211)
    28.         at de.hotmail.gurkilein.bankcraft.MinecraftCommandListener.onCommand(MinecraftCommandListener.java:115)
    29.         at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    30.         ... 15 more
    31.  
    Gestern hat noch alles geklappt. Das Plugin ist für die 1.6.2 und ich nutze auch die CraftBukkit 1.6.2. Was stimmt damit nicht?
     
    #1
  2. Wolfi15
    Offline

    Wolfi15

    Registriert seit:
    4. November 2011
    Beiträge:
    599
    Minecraft:
    Wolfi15
    Neuste Version nutzen
    laut log benutz du V2.1 die neuste ist glaube schon V2.4 oder V2.2
     
    #2
  3. games6471
    Online

    games6471

    Also ich sehe, dass der NPE immer zustande kommt, wenn er auf die Verbindungsvariable zugreift.

    Hast du irgendeinen Reload gemacht? Haben sich deine MySQL-Daten verändert? Gibt es sogar schon einen Fehler beim Starten des Plugins?
     
    #3
  4. Basti07711
    Offline

    Basti07711 Ehem. Teammitglied

    Registriert seit:
    2. August 2012
    Beiträge:
    714
    Ort:
    Hinter dir
    Minecraft:
    Basti07711
    ich habe die Config.yml mach angesehen und ja, eine MySQL-Datei hat sich verändert. Ich habe die wieder richtig geschrieben und jetzt geht es wieder. Danke
     
    #4