funniray / Mixer

Mixer plugin for Nukkit, Bukkit, Sponge and Forge
https://www.funniray.com
4 stars 0 forks source link

help #3

Closed Artistic-Waffle closed 6 years ago

Artistic-Waffle commented 6 years ago

22:30:52 [ALERT] java.lang.RuntimeException: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.List at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:439) at cn.nukkit.Server.enablePlugin(Server.java:670) at cn.nukkit.Server.enablePlugins(Server.java:659) at cn.nukkit.Server.(Server.java:503) at cn.nukkit.Nukkit.main(Nukkit.java:99) Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.List at cn.nukkit.utils.ConfigSection.getList(ConfigSection.java:369) at cn.nukkit.utils.ConfigSection.getList(ConfigSection.java:358) at cn.nukkit.utils.ConfigSection.getStringList(ConfigSection.java:390) at cn.nukkit.utils.Config.getStringList(Config.java:358) at pro.kdray.funniray.mixer.MixerNukkit.onEnable(MixerNukkit.java:37) at cn.nukkit.plugin.PluginBase.setEnabled(PluginBase.java:89) at cn.nukkit.plugin.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:113) at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:435) ... 4 more

22:30:52 [INFO] Disabling Mixer v1.0.0 22:30:52 [ALERT] java.lang.NullPointerException at pro.kdray.funniray.mixer.MixerNukkit.onDisable(MixerNukkit.java:73) at cn.nukkit.plugin.PluginBase.setEnabled(PluginBase.java:91) at cn.nukkit.plugin.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:128) at cn.nukkit.plugin.PluginManager.disablePlugin(PluginManager.java:509) at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:441) at cn.nukkit.Server.enablePlugin(Server.java:670) at cn.nukkit.Server.enablePlugins(Server.java:659) at cn.nukkit.Server.(Server.java:503) at cn.nukkit.Nukkit.main(Nukkit.java:99)

funniray commented 6 years ago

I've been developing on Forge and not testing on Nukkit, give me a bit and I'll fix it in the next version. Thanks for reporting this to me!

funniray commented 6 years ago

Wait, can I confirm that you are using the default config, right?

Artistic-Waffle commented 6 years ago

Yes with a normal server nothing be changed

On Tue, Apr 17, 2018, 9:53 AM funniray notifications@github.com wrote:

Wait, can I confirm that you are using the default config, right?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/funniray/Mixer/issues/3#issuecomment-382000679, or mute the thread https://github.com/notifications/unsubscribe-auth/AeDeagicWIO5CsAlQ6BAw7WLHXObgEpcks5tpfPagaJpZM4TXiej .

Artistic-Waffle commented 6 years ago

Still same error

funniray commented 6 years ago

Try again with the newest version, it should be fixed

Artistic-Waffle commented 6 years ago

nope

Artistic-Waffle commented 6 years ago

21:20:53 [ALERT] java.lang.RuntimeException: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.List at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:439) at cn.nukkit.Server.enablePlugin(Server.java:670) at cn.nukkit.Server.enablePlugins(Server.java:659) at cn.nukkit.Server.(Server.java:503) at cn.nukkit.Nukkit.main(Nukkit.java:99) Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.List at cn.nukkit.utils.ConfigSection.getList(ConfigSection.java:369) at cn.nukkit.utils.ConfigSection.getList(ConfigSection.java:358) at cn.nukkit.utils.ConfigSection.getStringList(ConfigSection.java:390) at cn.nukkit.utils.Config.getStringList(Config.java:358) at pro.kdray.funniray.mixer.MixerNukkit.onEnable(MixerNukkit.java:72) at cn.nukkit.plugin.PluginBase.setEnabled(PluginBase.java:89) at cn.nukkit.plugin.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:113) at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:435) ... 4 more

the disable part fix but not the enabling

funniray commented 6 years ago

Hmm, try deleting your config and trying again. I'm going to investigate more when I get home

funniray commented 6 years ago

Okay, I got the config working for sure now however I'm unable to use Nukkit until the rewrite comes out due to Mixer not using log4j.

funniray commented 6 years ago

The rewrite uses log4j, so just wait for Mixer's rewrite to become stable and we'll be good