Soledge / Moocraft-SMP

Information regarding Moocraft SMP minecraft server
2 stars 0 forks source link

LimitedCreative Stack Error #5

Closed Soledge closed 11 years ago

Soledge commented 11 years ago

[SEVERE] Could not pass event BlockPlaceEvent to LimitedCreative v2.0-SNAPSHOT-73285de3c7 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:39) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464) at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:107) at net.minecraft.server.v1_5_R2.ItemBlock.processBlockPlace(ItemBlock.java:85) at net.minecraft.server.v1_5_R2.ItemDoor.place(ItemDoor.java:89) at net.minecraft.server.v1_5_R2.ItemDoor.interactWith(ItemDoor.java:35) at net.minecraft.server.v1_5_R2.ItemStack.placeItem(ItemStack.java:79) at net.minecraft.server.v1_5_R2.PlayerInteractManager.interact(PlayerInteractManager.java:391) at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:632) at net.minecraft.server.v1_5_R2.Packet15Place.handle(SourceFile:58) at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:180) at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110) at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35) at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:67) at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:582) at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:229) at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:471) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:403) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: javax.persistence.OptimisticLockException: Data has changed. updated [0] rows sql[update block_state set cdate=? where x=? and y=? and z=? and world=? and gm=? and player=? and cdate=? and source=?] bind[null] at com.avaje.ebeaninternal.server.persist.dml.DmlHandler.checkRowCount(DmlHandler.java:123) at com.avaje.ebeaninternal.server.persist.dml.UpdateHandler.execute(UpdateHandler.java:106) at com.avaje.ebeaninternal.server.persist.dml.DmlBeanPersister.execute(DmlBeanPersister.java:105) at com.avaje.ebeaninternal.server.persist.dml.DmlBeanPersister.update(DmlBeanPersister.java:85) at com.avaje.ebeaninternal.server.persist.DefaultPersistExecute.executeUpdateBean(DefaultPersistExecute.java:110) at com.avaje.ebeaninternal.server.core.PersistRequestBean.executeNow(PersistRequestBean.java:531) at com.avaje.ebeaninternal.server.core.PersistRequestBean.executeOrQueue(PersistRequestBean.java:557) at com.avaje.ebeaninternal.server.persist.DefaultPersister.update(DefaultPersister.java:430) at com.avaje.ebeaninternal.server.persist.DefaultPersister.saveEnhanced(DefaultPersister.java:343) at com.avaje.ebeaninternal.server.persist.DefaultPersister.saveRecurse(DefaultPersister.java:315) at com.avaje.ebeaninternal.server.persist.DefaultPersister.save(DefaultPersister.java:282) at com.avaje.ebeaninternal.server.core.DefaultServer.save(DefaultServer.java:1577) at com.avaje.ebeaninternal.server.core.DefaultServer.save(DefaultServer.java:1567) at de.jaschastarke.minecraft.limitedcreative.blockstate.BlockListener.onBlockPlace(BlockListener.java:57) at sun.reflect.GeneratedMethodAccessor210.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 21 more

Soledge commented 11 years ago

More: 15:48:52 [WARNING] [Server] The main thread failed to respond after 10 seconds 15:48:52 [WARNING] [Server] Probable Plugin cause: 'LimitedCreative' 15:48:52 [WARNING] [Server] What follows is the stack trace of the main thread 15:48:52 [WARNING] [Server] at org.sqlite.NativeDB.step(Native Method) 15:48:52 [WARNING] [Server] at org.sqlite.DB.execute(DB.java:328) 15:48:52 [WARNING] [Server] at org.sqlite.PrepStmt.executeQuery(PrepStmt.java:75) 15:48:52 [WARNING] [Server] at com.avaje.ebeaninternal.server.lib.sql.ExtendedPreparedStatement.executeQuery(ExtendedPreparedStatement.java:150) 15:48:52 [WARNING] [Server] at com.avaje.ebeaninternal.server.query.CQuery.prepareBindExecuteQuery(CQuery.java:416) 15:48:52 [WARNING] [Server] at com.avaje.ebeaninternal.server.query.CQueryEngine.find(CQueryEngine.java:275) 15:48:52 [WARNING] [Server] at com.avaje.ebeaninternal.server.query.DefaultOrmQueryEngine.findId(DefaultOrmQueryEngine.java:154) 15:48:52 [WARNING] [Server] at com.avaje.ebeaninternal.server.core.OrmQueryRequest.findId(OrmQueryRequest.java:310) 15:48:52 [WARNING] [Server] at com.avaje.ebeaninternal.server.core.DefaultServer.findId(DefaultServer.java:1214) 15:48:52 [WARNING] [Server] at com.avaje.ebeaninternal.server.core.DefaultServer.find(DefaultServer.java:1118) 15:48:52 [WARNING] [Server] at com.avaje.ebeaninternal.server.core.DefaultServer.find(DefaultServer.java:1105) 15:48:52 [WARNING] [Server] at de.jaschastarke.minecraft.limitedcreative.blockstate.BlockListener.onBlockBreak(BlockListener.java:26) 15:48:52 [WARNING] [Server] at sun.reflect.GeneratedMethodAccessor158.invoke(Unknown Source) 15:48:52 [WARNING] [Server] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 15:48:52 [WARNING] [Server] at java.lang.reflect.Method.invoke(Method.java:601) 15:48:52 [WARNING] [Server] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) 15:48:52 [WARNING] [Server] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 15:48:52 [WARNING] [Server] at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:39) 15:48:52 [WARNING] [Server] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479) 15:48:52 [WARNING] [Server] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464) 15:48:52 [WARNING] [Server] at net.minecraft.server.v1_5_R2.PlayerInteractManager.breakBlock(PlayerInteractManager.java:276) 15:48:52 [WARNING] [Server] at net.minecraft.server.v1_5_R2.PlayerInteractManager.dig(PlayerInteractManager.java:125) 15:48:52 [WARNING] [Server] at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:542) 15:48:52 [WARNING] [Server] at net.minecraft.server.v1_5_R2.Packet14BlockDig.handle(SourceFile:46) 15:48:52 [WARNING] [Server] at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:180) 15:48:52 [WARNING] [Server] at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110) 15:48:52 [WARNING] [Server] at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35) 15:48:52 [WARNING] [Server] at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:67) 15:48:52 [WARNING] [Server] at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:582) 15:48:52 [WARNING] [Server] at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:229) 15:48:52 [WARNING] [Server] at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:471) 15:48:52 [WARNING] [Server] at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:403) 15:48:52 [WARNING] [Server] at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573)

Soledge commented 11 years ago

Downgraded to previous version found here : http://dev.bukkit.org/server-mods/limited-creative/files/39-v2-0-4/

Also, latest rcomments have assigned this conclusion:

Possible Apr 20, 2013 at 03:26 - 0 likes Like First thanks for all the Feedback. I'm sorry that I haven't responded for 2 weeks, but I got other Projects currently, that are more important than supporting a plugin for a game I'm not playing.

About my motivation: Most plugin developers are running their own servers and have a demand to be filled which no other plugin currently fits in. I created a server month ago, saw a gap for limiting creative players, so I started the plugin. But as the only players on the server was me and my gf, there was never a real usage of the plugin (she was op to for sure). Also we stopped playing MC on such an lonely server last year. So the last motivation to program on this plugin, is that I'm a hobby-programmer, which like to develop with java sometime. But the other day I've got better to do ;) If someone knows a midsized german survival server not using offline-mode, where I could find a home, my motivation would rise

About the errors

The SQLite/"Could not pass event BlockPlaceEvent"/"The main thread is still stuck"-Errors are caused by the latest experimental feature "Block-GameMode", more precisely the bukkit-buildin-database-connection (ebean server). As my motivation (see above) is currently not high enough to replace the whole implementation to get this feature work, you have to disable this experimental feature via config/ingame-commands. The message "ebean.properties not found" won't disappear upon disabling the feature, but this message doesn't harm the server. Just create an empty file "ebean.properties" in the bukkit directory (where server.properties file exists) and the message will stop appearing.

Soledge commented 11 years ago

Possible has Updated the plugin removing the feature. LimitedCreative now works again as it should... for the moment.