RemoteBukkit

RemoteBukkit

62.7k Downloads

Error in the BLOCK_PHYSICS

XxCoolGamesxX opened this issue ยท 4 comments

commented

What steps will reproduce the problem?
1.In-Game

What version of the product are you using?
RemoteBukkitPlugin-1.2.1

Do you have an error log of what happened?
Yes

Please provide any additional information below.

[WARNING] Could not properly handle event BLOCK_PHYSICS:
java.lang.IllegalAccessError: Synchronized code got accessed from another thread: me.escortkeel.remotebukkit.ConnectionHandler
at org.bukkit.event.Listener.onBlockPhysics(Listener:0)
at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at net.minecraft.server.World.k(World.java:510)
at net.minecraft.server.World.applyPhysics(World.java:496)
at net.minecraft.server.World.update(World.java:459)
at net.minecraft.server.World.setTypeId(World.java:434)
at org.bukkit.craftbukkit.block.CraftBlock.setTypeId(CraftBlock.java:92)
at org.bukkit.craftbukkit.block.CraftBlock.setType(CraftBlock.java:88)
at com.tommytony.war.volume.Volume.resetBlocks(Volume.java:270)
at com.tommytony.war.War.unloadWar(War.java:278)
at com.tommytony.war.War.onDisable(War.java:118)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:363)
at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:400)
at me.ryanclancy000.plugman.PlugManCommands.reloadPlugin(PlugManCommands.java:419)
at me.ryanclancy000.plugman.PlugMan.doCommand(PlugMan.java:145)
at me.ryanclancy000.plugman.PlugMan.onCommand(PlugMan.java:34)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:480)
at me.escortkeel.remotebukkit.ConnectionHandler.run(ConnectionHandler.java:61)
2012-06-18 17:44:59 [INFO] This error is logged only once: it could have occurred multiple times by now.
2012-06-18 17:44:59 [INFO] Please contact one of the authors of plugin 'RemoteBukkit': Keeley Hoek (escortkeel)

commented

Hi Again!

So this is my understanding of the very obscure chain of events leading up to the error:

Over RemoteBukkit, you executed a command which ordered pluginman to disable the war plugin. The war plugin ran its disable code and updated some blocks, which fired a physics event.

Correct so far?

~Keeley

commented

Hi XxCoolGamesxX!

I'll take a look at this now.

~Keeley

commented

Yes you are Correct.

commented

Fixed with plugin version 1.3.1 (http://dev.bukkit.org/server-mods/remotebukkit/files/20-plugin-v1-3-1/).

This is a very severe multithreading bug in the plugin. I'm very thankful for the report! :D

Thanks Again,
Keeley