Problem/Bug SignColors v0.6 error in console

Discussion in 'Bukkit Help' started by maks244, Mar 11, 2017.

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

    maks244

    So this is the error that appears in the console every 10 seconds in the console when someone's on the server.

    Code:
    [16:25:57 ERROR]: Could not pass event BlockPlaceEvent to SignColors v0.6
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-1.8.7-R0.1-SNAPSHOT-latest.jar:git-Spigot-f928e7a-994b2aa]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.8.7-R0.1-SNAPSHOT-latest.jar:git-Spigot-f928e7a-994b2aa]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.8.7-R0.1-SNAPSHOT-latest.jar:git-Spigot-f928e7a-994b2aa]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.8.7-R0.1-SNAPSHOT-latest.jar:git-Spigot-f928e7a-994b2aa]
        at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:126) [spigot-1.8.7-R0.1-SNAPSHOT-latest.jar:git-Spigot-f928e7a-994b2aa]
        at net.minecraft.server.v1_8_R3.ItemStack.placeItem(ItemStack.java:157) [spigot-1.8.7-R0.1-SNAPSHOT-latest.jar:git-Spigot-f928e7a-994b2aa]
        at net.minecraft.server.v1_8_R3.PlayerInteractManager.interact(PlayerInteractManager.java:503) [spigot-1.8.7-R0.1-SNAPSHOT-latest.jar:git-Spigot-f928e7a-994b2aa]
        at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:736) [spigot-1.8.7-R0.1-SNAPSHOT-latest.jar:git-Spigot-f928e7a-994b2aa]
        at net.minecraft.server.v1_8_R3.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:52) [spigot-1.8.7-R0.1-SNAPSHOT-latest.jar:git-Spigot-f928e7a-994b2aa]
        at net.minecraft.server.v1_8_R3.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:1) [spigot-1.8.7-R0.1-SNAPSHOT-latest.jar:git-Spigot-f928e7a-994b2aa]
        at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.8.7-R0.1-SNAPSHOT-latest.jar:git-Spigot-f928e7a-994b2aa]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_101]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_101]
        at net.minecraft.server.v1_8_R3.SystemUtils.a(SystemUtils.java:19) [spigot-1.8.7-R0.1-SNAPSHOT-latest.jar:git-Spigot-f928e7a-994b2aa]
        at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:718) [spigot-1.8.7-R0.1-SNAPSHOT-latest.jar:git-Spigot-f928e7a-994b2aa]
        at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:367) [spigot-1.8.7-R0.1-SNAPSHOT-latest.jar:git-Spigot-f928e7a-994b2aa]
        at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:657) [spigot-1.8.7-R0.1-SNAPSHOT-latest.jar:git-Spigot-f928e7a-994b2aa]
        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:560) [spigot-1.8.7-R0.1-SNAPSHOT-latest.jar:git-Spigot-f928e7a-994b2aa]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
    Caused by: java.lang.NoSuchMethodError: org.bukkit.inventory.PlayerInventory.getItemInMainHand()Lorg/bukkit/inventory/ItemStack;
        at de.codehat.signcolors.listener.ColoredSignListener.onLastSignFix(ColoredSignListener.java:57) ~[?:?]
        at sun.reflect.GeneratedMethodAccessor621.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.8.7-R0.1-SNAPSHOT-latest.jar:git-Spigot-f928e7a-994b2aa]
        ... 18 more
     
    Last edited by a moderator: Mar 11, 2017
  2. Offline

    Zombie_Striker

    @maks244
    The issue is that you are using 1.8 server. For most new plugins, 1.8 is no longer supported. If you are on 1.8 because of the combat change in 1.9, there are tons of plugins out there that revert the system to pre-1.9 while being lightweight. Not only that, but there are a lot of other reason why not to be on 1.8 anymore. Please read this thread and update your server.

    There is no other way around this. Either remove your plugin or update your server.
     
  3. Offline

    maks244

    Update my server? geez. The plugins are not going to work if I update to 1.9 right? or will they. If I would need to update all of my plugins then that would take like 2 months...
     
  4. Offline

    ipodtouch0218

    They will work, as long as they don't use NMS code. If you are using a plugin that wasn't from a request, most would use Relfection, so you'd be fine. The error you are getting is directly related to the 1.9 Main Hand and Off-Hand.
    Code:
    java.lang.NoSuchMethodError: org.bukkit.inventory.PlayerInventory.getItemInMainHand()
     
  5. Offline

    maks244

    dude, I don't even know what NMS code is. but ok I'll try to update my server to 1.9
    EDIT: 1.9 or 1.9.4? will they work the same but with less bugs?
     
  6. Offline

    Zombie_Striker

    @maks244
    Most plugins are forward compatible, because spigot normally adds things instead of removing them, so none of your plugins should break. Even if you do run into problems, all you need to do is change a few imports from "....1.8_r1...." to "...1.X_...."
     
    ipodtouch0218 likes this.
  7. Offline

    maks244

    changed it to 1.9.4 and literally everything is broken... i hope that i have a backup of my server
    EDIT: my hosting site is now broken too
     
  8. Offline

    ipodtouch0218

  9. Offline

    Zombie_Striker

    @maks244
    Don't go back just yet. We still can help you. If you post your console, will be able to address any errors you get. If you can, post the full error log by copying the text from the "<server>/logs/recent.txt" file.

    As for your server, what did you do to update your server? How exactly is it broken?
     
  10. Offline

    maks244

    I didn't have a backup so I changed the engine back to 1.8.7 and everything started working again.
    I changed the engine through my hosting site wich I did before with no problems.
    When I joined the server my permissions plugin (group manager) was broken (you would get no permissions at all)
    All of the text in the chat, signs, fonts, were just blocks like this: http://imgur.com/a/cs2Tk
    But instead of this happening on the main screen it happened on my server.
    My teleporting signs were broken.
    All of my skins from the citizens plugin were gone.
    My hub items that when clicked you would get a menu didn't work.
    My holograms disappeared.
    Probably a lot of other things were broken too but I just wanted to go back to not mess up anything.

    My 1.8.7 (working) log: http://pastebin.com/9UEYvq30

    My 1.9.4 (broken) log: http://pastebin.com/xs8sL5rt
    once again, my hosting website froze for 5 minutes
    EDIT: after refreshing the site what took 10 minutes the console was blank what never happened before.

    I know that i already have a lot of errors in my working 1.8.7 version
     
  11. Online

    timtower Administrator Administrator Moderator

    Locked
    Offline mode is not supported by Bukkit
     
Thread Status:
Not open for further replies.

Share This Page