- Priority: Normal
- Number: 957
- Type: Bug
- Status: New
- Age: 1622 Days
[11:09:43 ERROR]: Could not pass event BlockPistonExtendEvent to Prism v2.0.6-24 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) ~[spigot.jar:git-Spigot-26dfd01-ad2f806] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-26dfd01-ad2f806] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-26dfd01-ad2f806] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-26dfd01-ad2f806] at net.minecraft.server.v1_8_R2.BlockPiston.a(BlockPiston.java:345) [spigot.jar:git-Spigot-26dfd01-ad2f806] at net.minecraft.server.v1_8_R2.BlockPiston.a(BlockPiston.java:139) [spigot.jar:git-Spigot-26dfd01-ad2f806] at net.minecraft.server.v1_8_R2.WorldServer.a(WorldServer.java:1081) [spigot.jar:git-Spigot-26dfd01-ad2f806] at net.minecraft.server.v1_8_R2.WorldServer.ak(WorldServer.java:1067) [spigot.jar:git-Spigot-26dfd01-ad2f806] at net.minecraft.server.v1_8_R2.WorldServer.doTick(WorldServer.java:257) [spigot.jar:git-Spigot-26dfd01-ad2f806] at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:765) [spigot.jar:git-Spigot-26dfd01-ad2f806] at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:368) [spigot.jar:git-Spigot-26dfd01-ad2f806] at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:651) [spigot.jar:git-Spigot-26dfd01-ad2f806] at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:554) [spigot.jar:git-Spigot-26dfd01-ad2f806] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_75] Caused by: java.lang.NoSuchFieldError: gson at me.botsko.prism.actions.BlockShiftAction.save(BlockShiftAction.java:57) ~[?:?] at me.botsko.prism.actionlibs.RecordingQueue.addToQueue(RecordingQueue.java:34) ~[?:?] at me.botsko.prism.listeners.PrismBlockEvents.onPistonExtend(PrismBlockEvents.java:423) ~[?:?] at sun.reflect.GeneratedMethodAccessor81.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_75] at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_75] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) ~[spigot.jar:git-Spigot-26dfd01-ad2f806] ... 13 more
I get essentially the same problem on Prism 2.0.6-25 on Spigot 1.8 (API version 1.8-R0.1-SNAPSHOT) - For ease of reading, here's a link to the error in pastebin: http://pastebin.com/fPjWC4AH
I'm assuming this means that the version of Prism we're using was built for Spigot's 1.8.3 release, and we're likely still using the 1.8 version (not all my plugins functioned on 1.8.3, so was forced to stay at 1.8 for the time being). Also likely means this error will go away if we downgrade to a version built for pre-1.8.3 Spigot releases. The update in question that would cause this error being noted on this post: http://www.spigotmc.org/threads/bukkit-craftbukkit-spigot-1-8-3.53745/
In particular, quote from ThinkOfDeath: (assuming this only applies to 1.8.3+ Spigot builds)
For the developers out there there is one change that will affect a few NMS plugins and will be useful for Bukkit plugins. The Google Gson library has been moved out of org.bukkit.craftbukkit.libs and instead added to its normal location, as part of the Bukkit API. This means that plugins wishing to use Gson as an advanced JSON reading library may now do so without shading their own copy or using non-api methods.
I've confirmed that downgrading to dev build #21 when using Spigot 1.8 will resolve the block event errors, at least after extremely brief testing (loaded up and broke a few blocks, and checked logs)
Actually, I apologize for not mentioning that this error was created using Spigot 1.8.3.
Oh, sorry, I assumed you were using 1.8 since the NMS class references seem to be 1.8 still, although my NMS classes say v1_8_R1 instead of like yours being v1_8_R2, I was somewhat assuming both were 1.8 XD Maybe not. It may be worth copying the output of '/version' here so the devs can be sure what you're using. Maybe '/version prism' as well. Good luck!
[21:00:36] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-26dfd01-ad2f806 (MC: 1.8.3) (Implementing API version 1.8.3-R0.1-SNAPSHOT)
Creating a free account will let you immediately report issues on this project, as well as comment on existing issues, save your filters, and more!!