Piston problem?

Discussion in 'Bukkit Help' started by wachnlurn, Sep 5, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    wachnlurn

    Im getting this in the log, i think it was the cause of a server crash last night. After this spammed the log there was a java heap error. ran out of memory. Can anyone kindly tell me what this means and is there any way to protect against it?
    Code:
    2011-09-04 03:19:22 [SEVERE] Could not pass event BLOCK_PISTON_EXTEND to Essentials
    java.lang.ClassCastException: org.bukkit.material.MaterialData cannot be cast to org.bukkit.material.PistonBaseMaterial
        at org.bukkit.event.block.BlockPistonEvent.getDirection(BlockPistonEvent.java:41)
        at org.bukkit.event.block.BlockPistonExtendEvent.getBlocks(BlockPistonExtendEvent.java:37)
        at com.earth2me.essentials.signs.SignBlockListener.onBlockPistonExtend(SignBlockListener.java:196)
        at org.bukkit.plugin.java.JavaPluginLoader$43.execute(JavaPluginLoader.java:540)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.BlockPiston.g(BlockPiston.java:70)
        at net.minecraft.server.BlockPiston.doPhysics(BlockPiston.java:47)
        at net.minecraft.server.World.k(World.java:459)
        at net.minecraft.server.World.applyPhysics(World.java:435)
        at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
        at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
        at net.minecraft.server.World.k(World.java:459)
        at net.minecraft.server.World.applyPhysics(World.java:435)
        at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
        at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
        at net.minecraft.server.World.k(World.java:459)
        at net.minecraft.server.World.applyPhysics(World.java:439)
        at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
        at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
        at net.minecraft.server.World.k(World.java:459)
        at net.minecraft.server.World.applyPhysics(World.java:439)
        at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
        at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
        at net.minecraft.server.World.k(World.java:459)
        at net.minecraft.server.World.applyPhysics(World.java:434)
        at net.minecraft.server.BlockButton.interact(BlockButton.java:154)
        at net.minecraft.server.BlockButton.b(BlockButton.java:125)
        at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:76)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:478)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:140)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-09-04 03:19:22 [SEVERE] Could not pass event BLOCK_PISTON_EXTEND to Factions
    java.lang.ClassCastException: org.bukkit.material.MaterialData cannot be cast to org.bukkit.material.PistonBaseMaterial
        at org.bukkit.event.block.BlockPistonEvent.getDirection(BlockPistonEvent.java:41)
        at com.massivecraft.factions.listeners.FactionsBlockListener.onBlockPistonExtend(FactionsBlockListener.java:74)
        at org.bukkit.plugin.java.JavaPluginLoader$43.execute(JavaPluginLoader.java:540)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.BlockPiston.g(BlockPiston.java:70)
        at net.minecraft.server.BlockPiston.doPhysics(BlockPiston.java:47)
        at net.minecraft.server.World.k(World.java:459)
        at net.minecraft.server.World.applyPhysics(World.java:435)
        at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
        at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
        at net.minecraft.server.World.k(World.java:459)
        at net.minecraft.server.World.applyPhysics(World.java:435)
        at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
        at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
        at net.minecraft.server.World.k(World.java:459)
        at net.minecraft.server.World.applyPhysics(World.java:439)
        at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
        at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
        at net.minecraft.server.World.k(World.java:459)
        at net.minecraft.server.World.applyPhysics(World.java:439)
        at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
        at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
        at net.minecraft.server.World.k(World.java:459)
        at net.minecraft.server.World.applyPhysics(World.java:434)
        at net.minecraft.server.BlockButton.interact(BlockButton.java:154)
        at net.minecraft.server.BlockButton.b(BlockButton.java:125)
        at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:76)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:478)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:140)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-09-04 03:19:22 [SEVERE] Could not pass event BLOCK_PISTON_EXTEND to EssentialsProtect
    java.lang.ClassCastException: org.bukkit.material.MaterialData cannot be cast to org.bukkit.material.PistonBaseMaterial
        at org.bukkit.event.block.BlockPistonEvent.getDirection(BlockPistonEvent.java:41)
        at org.bukkit.event.block.BlockPistonExtendEvent.getBlocks(BlockPistonExtendEvent.java:37)
        at com.earth2me.essentials.protect.EssentialsProtectBlockListener.onBlockPistonExtend(EssentialsProtectBlockListener.java:332)
        at org.bukkit.plugin.java.JavaPluginLoader$43.execute(JavaPluginLoader.java:540)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.BlockPiston.g(BlockPiston.java:70)
        at net.minecraft.server.BlockPiston.doPhysics(BlockPiston.java:47)
        at net.minecraft.server.World.k(World.java:459)
        at net.minecraft.server.World.applyPhysics(World.java:435)
        at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
        at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
        at net.minecraft.server.World.k(World.java:459)
        at net.minecraft.server.World.applyPhysics(World.java:435)
        at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
        at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
        at net.minecraft.server.World.k(World.java:459)
        at net.minecraft.server.World.applyPhysics(World.java:439)
        at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
        at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
        at net.minecraft.server.World.k(World.java:459)
        at net.minecraft.server.World.applyPhysics(World.java:439)
        at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
        at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
        at net.minecraft.server.World.k(World.java:459)
        at net.minecraft.server.World.applyPhysics(World.java:434)
        at net.minecraft.server.BlockButton.interact(BlockButton.java:154)
        at net.minecraft.server.BlockButton.b(BlockButton.java:125)
        at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:76)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:478)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:140)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-09-04 03:19:22 [SEVERE] Could not pass event BLOCK_PISTON_EXTEND to LWC
    java.lang.ClassCastException: org.bukkit.material.MaterialData cannot be cast to org.bukkit.material.PistonBaseMaterial
        at org.bukkit.event.block.BlockPistonEvent.getDirection(BlockPistonEvent.java:41)
        at com.griefcraft.listeners.LWCBlockListener.onBlockPistonExtend(LWCBlockListener.java:159)
        at org.bukkit.plugin.java.JavaPluginLoader$43.execute(JavaPluginLoader.java:540)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.BlockPiston.g(BlockPiston.java:70)
        at net.minecraft.server.BlockPiston.doPhysics(BlockPiston.java:47)
        at net.minecraft.server.World.k(World.java:459)
        at net.minecraft.server.World.applyPhysics(World.java:435)
        at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
        at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
        at net.minecraft.server.World.k(World.java:459)
        at net.minecraft.server.World.applyPhysics(World.java:435)
        at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
        at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
        at net.minecraft.server.World.k(World.java:459)
        at net.minecraft.server.World.applyPhysics(World.java:439)
        at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
        at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
        at net.minecraft.server.World.k(World.java:459)
        at net.minecraft.server.World.applyPhysics(World.java:439)
        at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:49)
        at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:286)
        at net.minecraft.server.World.k(World.java:459)
        at net.minecraft.server.World.applyPhysics(World.java:434)
        at net.minecraft.server.BlockButton.interact(BlockButton.java:154)
        at net.minecraft.server.BlockButton.b(BlockButton.java:125)
        at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:76)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:478)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:140)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  2. Offline

    matter123

    yeah don't use Essentials its old bloated and why in the world is it listening for pistons
     
    Pencil and sddddgjd like this.
  3. Offline

    wachnlurn

    ok, understood, but it has the same error for Factions and LWC?
     
  4. Offline

    GamerZone

    essentials is good. Maybe it is a corrupted chunk or item or something...
     
  5. Offline

    wachnlurn

    well i got rid of essentials and got CommandBook, now im trying to diagnose why the prefixes in perm 3.x dont work anymore -.-
    and it looks like i cant just install essentialschat again, i think its dependant on essentials
     
  6. Offline

    sddddgjd

    Install iChat, or mChat,they're far superior to essentialschat

    @matter123
    I'm putting that in my signature!
     
  7. Offline

    wachnlurn

    i installed mchat trying to configure it now to work with Factions...this may take a while :p
     
  8. Offline

    Pencil

    Typicall for a new Member. No idea what they are talking about buut ofc they say Essentials is good because they have soo much knowledge :) You just like that it gives you everthing, why would you are about lags or bugs XD
     
  9. Offline

    GamerZone

    Yes i am a new 'member' but i have been using bukkit for months now and i just stuck to essentials because i have never had any problems with it and for me, it is very simple and easy to use.
     
  10. Offline

    Pencil

    It's not very simple and easy to use, in fact it has a GIANT config and especially newer users don't understand it fully... Essentials is simply too bulky, it takes away alot of ressources and gives you ALOT of commands that you don't need. Most experienced users use an alternative, simply because of that. Besides, I know tons of people that have have had issues with essentials but that doesn't mean that you have to have problems with it.

    Also, you say you never tried anything else, why don't you go and try for example Commandbook? You will see most of the needed commands are there, so you wont actually notice a difference there, just your ram usage will go down XD
     
  11. Offline

    ElgarL

    Essentials is a GERAT plugin, so long as you are going to use the majority of it's features. I myself use it all, bar Essentials Protect.
    Never had issue with it and NEVER been affected by a single bug.
     
  12. Offline

    KHobbits

    @matter123
    @sddddgjd
    That's an easy one, essentials listens to pistons, the same reason any plugin listens for pistons, to stop pistons breaking objects that store data.
    In this case, to prevent the destruction of signs, like those trade ones, which contain player items.
    Essentials is rather modular, if you don't want ess protect, remove it, same goes for most the other 'bloat'. You'll find most the code is bloatless (probably due to the fact development has changed hands a few times :p).
     
Thread Status:
Not open for further replies.

Share This Page