Critical wont load on 1.9 #17


  • New
  • Defect
Open
Assigned to _ForgeUser9653087
  • _ForgeUser10370576 created this issue Mar 5, 2016

    What version of MC is your server running?
    1.9

    What version of Java is your server running?
    (7u79-2.5.6-0ubuntu1.14.04.1)

    What version of Knapsacks are you encountering issues with?
    1.9 ver

    What issue are your having?
    wont load

    Please list all potential steps that will reproduce the problem?
    1.
    2.
    3.
    4.
    5.

    What is the expected output? What do you see instead?

    Do you have an error log of what happened? If so, please use the "**Attach**" link and attach the error log

    To better aide in the diagnosis of the issue, from your console, use "**ks debug**" and perform some in game functions related to the issue at hand. Then use "**ks debug**" again to turn it off.  "**Attach**" the server log of the debug.

    Please provide any additional information below.

  • _ForgeUser10370576 added the tags New Defect Mar 5, 2016
  • _ForgeUser12302784 posted a comment Mar 7, 2016

    This seems to be related to the deprecation/change of getOnlinePlayers().

    Once this initial call has failed, all other Knapsacks calls fail with "Couldn't get UUID for player".

    [11:38:44] [Server thread/ERROR]: Error occurred while enabling Knapsack v1.0.28(MC:Bukkit/Spigot_1.8.x) (Is it up to date?) java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player; at me.zrocweb.knapsacks.Knapsacks.grabOnlinePlayers(Knapsacks.java:774) [?:?] at me.zrocweb.knapsacks.Knapsacks.doLoadReloadTasks(Knapsacks.java:640) [?:?] at me.zrocweb.knapsacks.Knapsacks.onEnable(Knapsacks.java:460) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:291) [spigot.jar:git-Spigot-f32adba-bf43ca6] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigot.jar:git-Spigot-f32adba-bf43ca6] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot.jar:git-Spigot-f32adba-bf43ca6] at org.bukkit.craftbukkit.v1_9_R1.CraftServer.loadPlugin(CraftServer.java:361) [spigot.jar:git-Spigot-f32adba-bf43ca6] at org.bukkit.craftbukkit.v1_9_R1.CraftServer.enablePlugins(CraftServer.java:321) [spigot.jar:git-Spigot-f32adba-bf43ca6] at net.minecraft.server.v1_9_R1.MinecraftServer.t(MinecraftServer.java:411) [spigot.jar:git-Spigot-f32adba-bf43ca6] at net.minecraft.server.v1_9_R1.MinecraftServer.l(MinecraftServer.java:376) [spigot.jar:git-Spigot-f32adba-bf43ca6] at net.minecraft.server.v1_9_R1.MinecraftServer.a(MinecraftServer.java:331) [spigot.jar:git-Spigot-f32adba-bf43ca6] at net.minecraft.server.v1_9_R1.DedicatedServer.init(DedicatedServer.java:269) [spigot.jar:git-Spigot-f32adba-bf43ca6] at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:527) [spigot.jar:git-Spigot-f32adba-bf43ca6] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_65]

  • onoitsu2 posted a comment Mar 27, 2017

    I also would love for this to function on 1.9+ because of that failure it also cannot be used on anything newer than 1.8 :( This is the best backpack like plugin out there, all of the others require you wear the backpack and use a "key" which is absolutely dumb and annoying to do taking up one of your slots on you bar to use it. Yours permitting a simple right clicking on the pack anywhere in the inventory to open it is the best thing I've found. Looks like I won't be upgrading to 1.1 (dumb roll over of numbering) nor 1.9, because of this plugin not functioning on either. This is a vital necessity for MC to be enjoyable, without having to make runs to town constantly to dump goods off.

     

    1.1 Log below

    [17:00:48] [Server thread/INFO]: [Knapsack] Enabling Knapsack v1.0.28(MC:Bukkit/Spigot_1.8.x)
    [17:00:48] [Server thread/INFO]: [Knapsacks]: Building Configurations...!
    [17:00:48] [Server thread/INFO]: -----------------------------------------------------
    [17:00:48] [Server thread/WARN]: [Knapsacks]: Server is in off-line mode.  UUIDs for player Knapsacks may not be compatabile!
    [17:00:48] [Server thread/INFO]: -----------------------------------------------------
    [17:00:48] [Server thread/INFO]: [Knapsacks]: Starting Metric Builds...
    [17:00:48] [Server thread/INFO]: [Knapsacks]: MAX Player Knapsacks: 45
    [17:00:48] [Server thread/INFO]: [Knapsacks]: Sack Maxes are: Enabled
    [17:00:48] [Server thread/INFO]: [Knapsacks]: Chest Protection is: Disabled
    [17:00:48] [Server thread/INFO]: [Knapsacks]: Allowing Knapsack Right-Clicking: 'Yes'
    [17:00:48] [Server thread/INFO]: [Knapsacks]: Right-Click Behavior will: 'Do Normal Action'
    [17:00:48] [Server thread/INFO]: [Knapsacks]: AFill Realism: Fill while Flying: 'No'
    [17:00:48] [Server thread/INFO]: [Knapsacks]: AFill Realism: Fill while Sprinting: 'Yes'
    [17:00:48] [Server thread/INFO]: [Knapsacks]: AFill Realism: Fill while Riding Animals: 'Yes'
    [17:00:48] [Server thread/INFO]: [Knapsacks]: AFill Realism: Fill while Riding MineCarts: 'Yes'
    [17:00:48] [Server thread/INFO]: [Knapsacks]: AFill Realism: Fill while Riding Boats: 'Yes'
    [17:00:48] [Server thread/INFO]: [Knapsacks]: Knapsack Recovery System is: 'ON'
    [17:00:48] [Server thread/INFO]: [Knapsacks]: Knapsack Recovery Min Age: 0 days
    [17:00:48] [Server thread/INFO]: [Knapsacks]: Knapsack Recovery Max Age: 28 days
    [17:00:48] [Server thread/INFO]: [Knapsacks]: Connecting to Knapsacks SQL...
    [17:00:48] [Server thread/INFO]: [Knapsacks]: Knapsack Owners SQL Initialized...
    [17:00:48] [Server thread/INFO]: [Knapsacks]: Knapsack Linkage SQL Initialized...
    [17:00:48] [Server thread/INFO]: [Knapsacks]: Knapsack Swap SQL Initialized...
    [17:00:48] [Server thread/INFO]: [Knapsacks]: Owners Table Up-to-date (AutoFills-1.0.12)
    [17:00:48] [Server thread/INFO]: [Knapsacks]: Owners Table Up-to-date (AFPrefs-1.0.12)
    [17:00:48] [Server thread/INFO]: [Knapsacks]: Owners Table Up-to-date (AgeExempt-1.0.22)
    [17:00:48] [Server thread/INFO]: [Knapsacks]: Owners Table Up-to-date (OldPName-1.0.22)
    [17:00:48] [Server thread/INFO]: [Knapsacks]: Owners Table Up-to-date (OldPNameDate-1.0.22)
    [17:00:48] [Server thread/INFO]: [Knapsacks]: Compiling Recipe Materials List...
    [17:00:48] [Server thread/INFO]: [Knapsacks]: Compiling Knapsack Recipes...
    [17:00:48] [Server thread/INFO]: [Knapsacks]: Generating Player Lists...
    [17:00:48] [Server thread/ERROR]: Error occurred while enabling Knapsack v1.0.28(MC:Bukkit/Spigot_1.8.x) (Is it up to date?)
    java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player;
    	at me.zrocweb.knapsacks.Knapsacks.grabOnlinePlayers(Knapsacks.java:774) ~[?:?]
    	at me.zrocweb.knapsacks.Knapsacks.doLoadReloadTasks(Knapsacks.java:640) ~[?:?]
    	at me.zrocweb.knapsacks.Knapsacks.onEnable(Knapsacks.java:460) ~[?:?]
    	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:271) ~[spigot_server.jar:git-Spigot-625bc00-d09304e]
    	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [spigot_server.jar:git-Spigot-625bc00-d09304e]
    	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot_server.jar:git-Spigot-625bc00-d09304e]
    	at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugin(CraftServer.java:376) [spigot_server.jar:git-Spigot-625bc00-d09304e]
    	at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugins(CraftServer.java:326) [spigot_server.jar:git-Spigot-625bc00-d09304e]
    	at net.minecraft.server.v1_11_R1.MinecraftServer.t(MinecraftServer.java:421) [spigot_server.jar:git-Spigot-625bc00-d09304e]
    	at net.minecraft.server.v1_11_R1.MinecraftServer.l(MinecraftServer.java:382) [spigot_server.jar:git-Spigot-625bc00-d09304e]
    	at net.minecraft.server.v1_11_R1.MinecraftServer.a(MinecraftServer.java:337) [spigot_server.jar:git-Spigot-625bc00-d09304e]
    	at net.minecraft.server.v1_11_R1.DedicatedServer.init(DedicatedServer.java:272) [spigot_server.jar:git-Spigot-625bc00-d09304e]
    	at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:544) [spigot_server.jar:git-Spigot-625bc00-d09304e]
    	at java.lang.Thread.run(Unknown Source) [?:1.8.0_77]

     


    Edited Mar 27, 2017

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