Skip to content

java.util.concurrent.ConcurrentLinkedQueue cannot be cast to io.netty.channel.Channel #6

Description

Hi,

I have fully compiled and loaded your plugin on a 1.8.6 Spigot server. However, after the use of the /fp set or /fp multiset command, I get this error and results in no picture displayed on the item frames :

java.lang.ClassCastException: java.util.concurrent.ConcurrentLinkedQueue cannot be cast to io.netty.channel.Channel
at de.howaner.FramePicture.util.Utils.sendPacketFast(Utils.java:70) [Jackobo-Minecraft-Spigot-FramePicture.jar:?]
at de.howaner.FramePicture.util.PacketSender.run(PacketSender.java:19) [Jackobo-Minecraft-Spigot-FramePicture.jar:?]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) [minecraft_server.jar:git-Spigot-6a6b839-b0e81a4]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [minecraft_server.jar:git-Spigot-6a6b839-b0e81a4]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:726) [minecraft_server.jar:git-Spigot-6a6b839-b0e81a4]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:367) [minecraft_server.jar:git-Spigot-6a6b839-b0e81a4]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:657) [minecraft_server.jar:git-Spigot-6a6b839-b0e81a4]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:560) [minecraft_server.jar:git-Spigot-6a6b839-b0e81a4]
at java.lang.Thread.run(Thread.java:745) [?:1.7.0_75]

This line in the file Utils.java is the problem : "Channel channel = (Channel) field.get(netty);"

Have you a suggestion to solve this issue? I can test it too and send you a patch to add Spigot 1.8.6 support in your plugin if you want ;)

Here is the result after the use of the command : /fp multiset http://fc07.deviantart.net/fs70/f/2010/300/7/6/neko_girl_by_kaguyananbufan-d31m7re.jpg

2015-06-04_11 11 04

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions