Minecraft 1.7.9 unsupported #5


  • New
  • Defect
Open
  • rautamiekka created this issue Jul 25, 2015

    What steps will reproduce the problem?
    1. Use Spigot 1.7.9-R0.3 build >=1523 with any version of the plugin; 1.2.0, 2.0.0 (not tested in practise after Server start, and the start failed due to old table), 2.0.1 tested.
    2. Only tested with MySQL 5.6.x; no matter how many tickets you create and receive a notification for them and try to §info§ on them, you receive an internal server error, which is always a §NullPointerException§, and the tickets aren't in the table at all and the §AUTO_INCREMENT§ stays at 1.

    What is the expected output? What do you see instead?
    Check below.

    What version of the product are you using?
    Check above.

    Do you have an error log of what happened?
    This is the whole copypaste from console, with steps added by me:

    1) [05:15:17 INFO]: rautamiekka issued server command: /ticket
    2) [05:15:19 INFO]: rautamiekka issued server command: /ticket view
    3) [05:15:22 INFO]: rautamiekka issued server command: /ticket view all
    4) [05:15:57 INFO]: rautamiekka issued server command: /report Testing Test 0
    5) [05:16:08 INFO]: rautamiekka issued server command: /ticket info 1
    6) [05:16:08 ERROR]: null
    org.bukkit.command.CommandException: Unhandled exception executing command 'ticket' in plugin SimpleTicketManager v2.0.1
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot.jar:git-Spigot-1523]
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) ~[spigot.jar:git-Spigot-1523]
            at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServer.java:769) ~[spigot.jar:git-Spigot-1523]
            at net.minecraft.server.v1_7_R3.PlayerConnection.handleCommand(PlayerConnection.java:1014) [spigot.jar:git-Spigot-1523]
            at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:845) [spigot.jar:git-Spigot-1523]
            at net.minecraft.server.v1_7_R3.PacketPlayInChat.a(PacketPlayInChat.java:28) [spigot.jar:git-Spigot-1523]
            at net.minecraft.server.v1_7_R3.PacketPlayInChat.handle(PacketPlayInChat.java:65) [spigot.jar:git-Spigot-1523]
            at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:184) [spigot.jar:git-Spigot-1523]
            at net.minecraft.server.v1_7_R3.ServerConnection.c(ServerConnection.java:81) [spigot.jar:git-Spigot-1523]
            at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:720) [spigot.jar:git-Spigot-1523]
            at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:283) [spigot.jar:git-Spigot-1523]
            at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:583) [spigot.jar:git-Spigot-1523]
            at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:489) [spigot.jar:git-Spigot-1523]
            at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [spigot.jar:git-Spigot-1523]
    Caused by: java.lang.NullPointerException
            at uk.co.joshuawoolley.simpleticketmanager.ticketsystem.TicketManager.checkMessages(TicketManager.java:742) ~[?:?]
            at uk.co.joshuawoolley.simpleticketmanager.ticketsystem.TicketManager.printTicketInfo(TicketManager.java:340) ~[?:?]
            at uk.co.joshuawoolley.simpleticketmanager.command.CommandHandler.onCommand(CommandHandler.java:113) ~[?:?]
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot.jar:git-Spigot-1523]
            ... 13 more
    


    1) Testing the plugin.
    2) Checking the syntax, which also is broken, it just tells you to run the same command, only to get the same text again.
    3) Checking for all tickets, none returned.
    4) Making a testing report, numbered 1st. This can be repeated all the way to the table's integer limit with ever-increasing number returned. The numbering resets everytime the Mc Server is rebooted.
    5) Trying to view the newly created ticket
    6) This is the complaint in console, with your chat saying an internal server error occurred.

    Here's the boot time complaint after, just in case, letting it recreate the table and not touch it at all:

    [05:41:19] [Server thread/ERROR]: Error occurred while enabling SimpleTicketManager v2.0.1 (Is it up to date?)
    java.lang.NoSuchMethodError: org.bukkit.scheduler.BukkitScheduler.runTaskTimerAsynchronously(Lorg/bukkit/plugin/Plugin;Lorg/bukkit/scheduler/BukkitRunnable;JJ)Lorg/bukkit/scheduler/BukkitTask;
        at uk.co.joshuawoolley.simpleticketmanager.ticketsystem.TicketManager.startTask(TicketManager.java:160) ~[?:?]
        at uk.co.joshuawoolley.simpleticketmanager.SimpleTicketManager.onEnable(SimpleTicketManager.java:79) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) ~[spigot.jar:git-Spigot-1523]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:324) [spigot.jar:git-Spigot-1523]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot.jar:git-Spigot-1523]
        at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugin(CraftServer.java:478) [spigot.jar:git-Spigot-1523]
        at org.bukkit.craftbukkit.v1_7_R3.CraftServer.enablePlugins(CraftServer.java:396) [spigot.jar:git-Spigot-1523]
        at net.minecraft.server.v1_7_R3.MinecraftServer.n(MinecraftServer.java:359) [spigot.jar:git-Spigot-1523]
        at net.minecraft.server.v1_7_R3.MinecraftServer.g(MinecraftServer.java:333) [spigot.jar:git-Spigot-1523]
        at net.minecraft.server.v1_7_R3.MinecraftServer.a(MinecraftServer.java:289) [spigot.jar:git-Spigot-1523]
        at net.minecraft.server.v1_7_R3.DedicatedServer.init(DedicatedServer.java:193) [spigot.jar:git-Spigot-1523]
        at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:457) [spigot.jar:git-Spigot-1523]
        at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [spigot.jar:git-Spigot-1523]
    

    Please provide any additional information below.

    • Everything are hosted on same computer:
      • Oracle Java SE Development Kit 8u45 x64, using the default HotSpot VM
      • Ubuntu Server 12.04.5 x64, Minecraft Servers running under their own, §root§less accounts
      • Percona Server 5.6.25-73.1 x64, equivalent to Oracle MySQL 5.6.25 x64 but better
    • We're glad to test the plugin to make it compatible with 1.7.9, and preferably 1.7.10 to which we're planning to upgrade.
  • rautamiekka added the tags New Defect Jul 25, 2015
  • Forge_User_03260748 posted a comment Jul 26, 2015

    So you had existing tables from a old version of the plugin?

  • rautamiekka posted a comment Jul 26, 2015

    <<reply 2616813>>

    Yeah, but deleting it didn't help, like you can see.

  • Forge_User_03260748 posted a comment Jul 26, 2015

    @rautamiekka: Go

    Did you have a fresh messages.yml file? That's the reason for the NullPointerException.

    As for the second error I will look in to whether that method does exist in 1.7.9 or not. But there are at least 3 servers or more running 1.7.10 with no issues at all.

  • rautamiekka posted a comment Jul 26, 2015

    <<reply 2616961>>

    Also tested by renaming the folder that contains the config. In fact, I renamed it after installing 2.0.1.

  • Forge_User_03260748 posted a comment Jul 26, 2015

    @rautamiekka: Go

    I've tested it on 1.7.9 build 1543 and there are a lot of the Bukkit functions that I use are missing in that build. Meaning the plugin will just not work on 1.7.9 at all.

    I then tested it on 1.7.10 build 1646 and everything works fine and as expected.

    So unfortunately if you want to use my plugin, you will have to update to at least 1.7.10

  • rautamiekka posted a comment Jul 26, 2015

    <<reply 2616977>>

    Ok, I'll see about that.


To post a comment, please login or register a new account.