Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin breaks with 1.12 due to the removal of configuration.file.FileConfiguration.load #40

Closed
johnfriedrich opened this issue May 16, 2017 · 7 comments

Comments

@johnfriedrich
Copy link

Just a small heads up.

@wargamer
Copy link
Owner

Do you happen to have a link explaining why this has happened? I can't seem to easily find it.

@k-jiang
Copy link

k-jiang commented Jun 10, 2017

same issue here:

[01:35:42] [Server thread/INFO]: [SignShop] Enabling SignShop v2.11.1
[01:35:42] [Server thread/ERROR]: Error occurred while enabling SignShop v2.11.1 (Is it up to date?)
java.lang.NoSuchMethodError: org.bukkit.configuration.file.FileConfiguration.load(Ljava/io/InputStream;)V
	at org.wargamer2010.signshop.configuration.configUtil.loadYMLFromJar(configUtil.java:197) ~[?:?]
	at org.wargamer2010.signshop.configuration.configUtil.loadYMLFromJar(configUtil.java:188) ~[?:?]
	at org.wargamer2010.signshop.configuration.SignShopConfig.initConfig(SignShopConfig.java:239) ~[?:?]
	at org.wargamer2010.signshop.configuration.SignShopConfig.init(SignShopConfig.java:102) ~[?:?]
	at org.wargamer2010.signshop.SignShop.onEnable(SignShop.java:99) ~[?:?]
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:402) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
	at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:377) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
	at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:327) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
	at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:421) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
	at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:382) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
	at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:337) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
	at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
	at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:544) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]

Those guys in Spigotmc decided to remove some old API. I guess you probably just need to re-build it with the new bukkit API.

@wargamer
Copy link
Owner

Should be fixed with this commit: 1502e58
Version 2.11.2 with that commit included will be available as soon as it's approved, please let me know if that indeed fixes this specific issue.

@BenCodez
Copy link

@wargamer seems like it works.

@k-jiang
Copy link

k-jiang commented Jun 11, 2017

Confirmed here, it is working.

@weaves7
Copy link
Collaborator

weaves7 commented Mar 26, 2020

Fixed in version 2.11.2

@weaves7 weaves7 closed this as completed Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants