Looking for Assistance #72


  • Other
  • Started
Open
Assigned to axeldios
  • _ForgeUser9004319 created this issue Aug 8, 2014

    I am running Cauldron 1.1199.01.146 as of 8/8/2014 and have installed the latest version of the Protection Stones Plugin (1.9i) and WorldGuard5.9. I recognize this error might not be related to your plugin at all. So I have sent a ticket to the Cauldron team as well.

    The problem I am having is this, when the server is restarted, protection regions created by PS are gone. A quick /region info confirms this. This is not true for all dimensions, only Dim0. Atleast Dim7 is not affected though it has occurred to me that perhaps this is only happening in loaded chunks. Once the block is removed and placed again, the protected region will appear again until the next server restart.

    This has apparently been occurring the whole time but was only noticed roughly a day or two ago. I updated to the latest version of cauldron to see if that might fix the problem and it persisted just the same.

    I am wondering if anyone has experienced similar problems with Protection Stones.

    Also, this error log pops up on my console. Sorry, I know it's kind of a garbled mess.

    08.08 10:50:11 [Server] INFO ... 17 more
    08.08 10:50:11 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:328) ~[JavaPluginLoader$1.class:git-Cauldron-MCPC-Plus-1.7.10-1.1199.01.146]
    08.08 10:50:11 [Server] INFO at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_55]
    08.08 10:50:11 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_55]
    08.08 10:50:11 [Server] INFO at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source) ~[?:?]
    08.08 10:50:11 [Server] INFO at com.axeldios.ProtectionStones.ProtectionStonesBlockListener.onBlockPlace(ProtectionStonesBlockListener.java:327) ~[?:?]
    08.08 10:50:11 [Server] INFO at com.axeldios.ProtectionStones.ProtectionStonesBlockListener.saveRegionCheck(ProtectionStonesBlockListener.java:408) ~[?:?]
    08.08 10:50:11 [Server] INFO at com.sk89q.worldguard.protection.managers.RegionManager.save(RegionManager.java:69) ~[?:?]
    08.08 10:50:11 [Server] INFO at com.sk89q.worldguard.protection.databases.AbstractProtectionDatabase.save(AbstractProtectionDatabase.java:43) ~[?:?]
    08.08 10:50:11 [Server] INFO at com.sk89q.worldguard.protection.databases.YAMLDatabase.save(YAMLDatabase.java:240) ~[?:?]
    08.08 10:50:11 [Server] INFO at com.sk89q.worldguard.protection.databases.YAMLDatabase.getFlagData(YAMLDatabase.java:268) ~[?:?]
    08.08 10:50:11 [Server] INFO at com.sk89q.worldguard.protection.databases.YAMLDatabase.addMarshalledFlag(YAMLDatabase.java:280) ~[?:?]
    08.08 10:50:11 [Server] INFO at com.sk89q.worldguard.protection.flags.LocationFlag.marshal(LocationFlag.java:1) ~[?:?]
    08.08 10:50:11 [Server] INFO at com.sk89q.worldguard.protection.flags.LocationFlag.marshal(LocationFlag.java:132) ~[?:?]
    08.08 10:50:11 [Server] INFO at com.sk89q.worldedit.bukkit.BukkitWorld.getName(BukkitWorld.java:268) ~[?:?]
    08.08 10:50:11 [Server] INFO Caused by: java.lang.NullPointerException
    08.08 10:50:11 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.7.0_55]
    08.08 10:50:11 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:663) [MinecraftServer.class:?] 08.08 10:50:11 [Server] INFO at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:803) [MinecraftServer.class:?]
    08.08 10:50:11 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:422) [lt.class:?]
    08.08 10:50:11 [Server] INFO at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:973) [MinecraftServer.class:?]
    08.08 10:50:11 [Server] INFO at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:173) [nc.class:?]
    08.08 10:50:11 [Server] INFO at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:244) [ej.class:?]
    08.08 10:50:11 [Server] INFO at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:9) [jo.class:?]
    08.08 10:50:11 [Server] INFO at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:60) [jo.class:?]
    08.08 10:50:11 [Server] INFO at net.minecraft.network.NetHandlerPlayServer.func_147346_a(NetHandlerPlayServer.java:872) [nh.class:?]
    08.08 10:50:11 [Server] INFO at net.minecraft.server.management.ItemInWorldManager.func_73078_a(ItemInWorldManager.java:489) [mx.class:?]
    08.08 10:50:11 [Server] INFO at net.minecraft.item.ItemStack.func_77943_a(ItemStack.java:209) [add.class:?]
    08.08 10:50:11 [Server] INFO at org.bukkit.craftbukkit.v1_7_R4.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:145) [CraftEventFactory.class:git-Cauldron-MCPC-Plus-1.7.10-1.1199.01.146]
    08.08 10:50:11 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [SimplePluginManager.class:git-Cauldron-MCPC-Plus-1.7.10-1.1199.01.146]
    08.08 10:50:11 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [SimplePluginManager.class:git-Cauldron-MCPC-Plus-1.7.10-1.1199.01.146]
    08.08 10:50:11 [Server] INFO at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) ~[TimedRegisteredListener.class:git-Cauldron-MCPC-Plus-1.7.10-1.1199.01.146]
    08.08 10:50:11 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[RegisteredListener.class:git-Cauldron-MCPC-Plus-1.7.10-1.1199.01.146]
    08.08 10:50:11 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330) ~[JavaPluginLoader$1.class:git-Cauldron-MCPC-Plus-1.7.10-1.1199.01.146]
    08.08 10:50:11 [Server] INFO org.bukkit.event.EventException
    08.08 10:50:11 [Server] ERROR Could not pass event BlockPlaceEvent to ProtectionStones v1.9i

  • _ForgeUser9004319 added the tags New Other Aug 8, 2014
  • AxelDios removed a tag New Aug 10, 2014
  • AxelDios added a tag Started Aug 10, 2014
  • _ForgeUser9004319 posted a comment Aug 24, 2014

    I should have probably posted this a while ago too. This error pops up when placing a protection stone. In game, the protection region is created and remains until restart. I've kind of narrowed it down to being a potential problem with changing the world name. But I can't see where in any plugin configurations to fix this.

    24.08 13:11:17 [Server] WARN ... 18 more
    24.08 13:11:17 [Server] WARN at com.sk89q.minecraft.util.commands.CommandsManager.invokeMethod(CommandsManager.java:533)
    24.08 13:11:17 [Server] WARN at java.lang.reflect.Method.invoke(Unknown Source)
    24.08 13:11:17 [Server] WARN at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    24.08 13:11:17 [Server] WARN at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    24.08 13:11:17 [Server] WARN at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    24.08 13:11:17 [Server] WARN at com.sk89q.worldguard.bukkit.commands.RegionCommands.redefine(RegionCommands.java:506)
    24.08 13:11:17 [Server] WARN at com.sk89q.worldguard.bukkit.commands.RegionCommands.commitChanges(RegionCommands.java:294)
    24.08 13:11:17 [Server] WARN at com.sk89q.worldguard.bukkit.commands.RegionCommands.commitChanges(RegionCommands.java:317)
    24.08 13:11:17 [Server] WARN at com.sk89q.worldguard.protection.managers.RegionManager.save(RegionManager.java:69)
    24.08 13:11:17 [Server] WARN at com.sk89q.worldguard.protection.databases.AbstractProtectionDatabase.save(AbstractProtectionDatabase.java:43)
    24.08 13:11:17 [Server] WARN at com.sk89q.worldguard.protection.databases.YAMLDatabase.save(YAMLDatabase.java:240)
    24.08 13:11:17 [Server] WARN at com.sk89q.worldguard.protection.databases.YAMLDatabase.getFlagData(YAMLDatabase.java:268)
    24.08 13:11:17 [Server] WARN at com.sk89q.worldguard.protection.databases.YAMLDatabase.addMarshalledFlag(YAMLDatabase.java:280)
    24.08 13:11:17 [Server] WARN at com.sk89q.worldguard.protection.flags.LocationFlag.marshal(LocationFlag.java:1)
    24.08 13:11:17 [Server] WARN at com.sk89q.worldguard.protection.flags.LocationFlag.marshal(LocationFlag.java:132)
    24.08 13:11:17 [Server] WARN at com.sk89q.worldedit.bukkit.BukkitWorld.getName(BukkitWorld.java:268)
    24.08 13:11:17 [Server] WARN Caused by: java.lang.NullPointerException
    24.08 13:11:17 [Server] WARN at java.lang.Thread.run(Unknown Source)
    24.08 13:11:17 [Server] WARN at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:663)
    24.08 13:11:17 [Server] WARN at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:803)
    24.08 13:11:17 [Server] WARN at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:422)
    24.08 13:11:17 [Server] WARN at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:973)
    24.08 13:11:17 [Server] WARN at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:173)
    24.08 13:11:17 [Server] WARN at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:244)
    24.08 13:11:17 [Server] WARN at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(C01PacketChatMessage.java:53)
    24.08 13:11:17 [Server] WARN at net.minecraft.network.play.client.C01PacketChatMessage.func_148833_a(C01PacketChatMessage.java:38)
    24.08 13:11:17 [Server] WARN at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:1129)
    24.08 13:11:17 [Server] WARN at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:1347)
    24.08 13:11:17 [Server] WARN at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServer.java:715)
    24.08 13:11:17 [Server] WARN at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180)
    24.08 13:11:17 [Server] WARN at com.sk89q.bukkit.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:52)
    24.08 13:11:17 [Server] WARN at com.sk89q.worldguard.bukkit.WorldGuardPlugin.onCommand(WorldGuardPlugin.java:226)
    24.08 13:11:17 [Server] WARN at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:409)
    24.08 13:11:17 [Server] WARN at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:475)
    24.08 13:11:17 [Server] WARN at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:520)
    24.08 13:11:17 [Server] WARN at com.sk89q.minecraft.util.commands.CommandsManager.invokeMethod(CommandsManager.java:543)
    24.08 13:11:17 [Server] WARN com.sk89q.minecraft.util.commands.WrappedCommandException: java.lang.NullPointerException

  • _ForgeUser9004319 posted a comment Aug 28, 2014

    I actually figured this out on my own just recently. The problem occurred when I changed the world name and was actually related to WorldGuard, not ProtectionStones. There was an instance of the old world's name in one of the regions which was throwing a null pointer exception that was only present in Dim0. This explains why this error didn't occur in other dimensions.


To post a comment, please login or register a new account.