Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
423 views
in Technique[技术] by (71.8m points)

java - Error occurred while enabling plugin v1.0 (Is it up to date?)

I bought a custom plugin for my server. But atm it doesn't work because some reasons. The developer got his holidays and I want to try to fix it on my own.

So the console give me following error:

[17:17:08 WARN]: [ZolrahFactionsCore] Default system encoding may have misread config.yml from plugin jar
[17:17:08 ERROR]: Error occurred while enabling ZolrahFactionsCore v1.0 (Is it up to date?)
java.lang.NullPointerException
        at org.bukkit.ChatColor.translateAlternateColorCodes(ChatColor.java:324) ~[server.jar:git-Hyperion-7f1b6c1]
        at com.zolrah.factionscore.lang.Chat.color(Chat.java:11) ~[?:?]
        at com.zolrah.factionscore.lang.Lang.<init>(Lang.java:18) ~[?:?]
        at com.zolrah.factionscore.Core.onEnable(Core.java:51) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[server.jar:git-Hyperion-7f1b6c1]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332) [server.jar:git-Hyperion-7f1b6c1]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [server.jar:git-Hyperion-7f1b6c1]
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:359) [server.jar:git-Hyperion-7f1b6c1]
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:318) [server.jar:git-Hyperion-7f1b6c1]
        at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:403) [server.jar:git-Hyperion-7f1b6c1]
        at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:367) [server.jar:git-Hyperion-7f1b6c1]
        at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:322) [server.jar:git-Hyperion-7f1b6c1]
        at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:283) [server.jar:git-Hyperion-7f1b6c1]
        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:558) [server.jar:git-Hyperion-7f1b6c1]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_271]

I went over the config file and there isn't a syntax error. I also checked it via web yml-checker. Can someone help me out where the error could be?

question from:https://stackoverflow.com/questions/65861712/error-occurred-while-enabling-plugin-v1-0-is-it-up-to-date

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...