FireFrogGGG
Пользователь
- Сообщения
- 64
Разрешается выкладывание кода, файлов конфигураций, логов и т.д. только под BB-код CODE
- Плагин
- ZNPCsPlus
- Ядро сервера
- Paper
- Версия сервера
- 1.21
- Память сервера ОЗУ
- 4Gb
После перезапуска сервера с очень многих плагинов полились ошибки null. У других плагинов переустановка всё решила, но ZNPCsPlus работать не хочет. Вот ошибка:
Код:
[20:56:33] [Server thread/ERROR]: Error occurred while enabling ZNPCsPlus v1.0.8 (Is it up to date?)
java.lang.ExceptionInInitializerError: null
at io.github.znetworkw.znpcservers.configuration.ConfigurationConstants.<clinit>(ConfigurationConstants.java:9) ~[ZNPCsPlus-1.0.8 (1).jar:?]
at lol.pyr.znpcsplus.ZNPCsPlus.onEnable(ZNPCsPlus.java:142) ~[ZNPCsPlus-1.0.8 (1).jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:541) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_18_R2.CraftServer.enablePlugin(CraftServer.java:560) ~[paper-1.18.2.jar:git-Paper-388]
at org.bukkit.craftbukkit.v1_18_R2.CraftServer.enablePlugins(CraftServer.java:474) ~[paper-1.18.2.jar:git-Paper-388]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:665) ~[paper-1.18.2.jar:git-Paper-388]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:432) ~[paper-1.18.2.jar:git-Paper-388]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:316) ~[paper-1.18.2.jar:git-Paper-388]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1164) ~[paper-1.18.2.jar:git-Paper-388]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[paper-1.18.2.jar:git-Paper-388]
at java.lang.Thread.run(Thread.java:1570) ~[?:?]
Caused by: lol.pyr.znpcsplus.lib.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at path $
at lol.pyr.znpcsplus.lib.google.gson.Gson.fromJson(Gson.java:1238) ~[ZNPCsPlus-1.0.8 (1).jar:?]
at lol.pyr.znpcsplus.lib.google.gson.Gson.fromJson(Gson.java:1329) ~[ZNPCsPlus-1.0.8 (1).jar:?]
at lol.pyr.znpcsplus.lib.google.gson.Gson.fromJson(Gson.java:1300) ~[ZNPCsPlus-1.0.8 (1).jar:?]
at io.github.znetworkw.znpcservers.configuration.Configuration.onLoad(Configuration.java:54) ~[ZNPCsPlus-1.0.8 (1).jar:?]
at io.github.znetworkw.znpcservers.configuration.Configuration.<init>(Configuration.java:41) ~[ZNPCsPlus-1.0.8 (1).jar:?]
at io.github.znetworkw.znpcservers.configuration.Configuration.<init>(Configuration.java:33) ~[ZNPCsPlus-1.0.8 (1).jar:?]
at io.github.znetworkw.znpcservers.configuration.Configuration.<clinit>(Configuration.java:28) ~[ZNPCsPlus-1.0.8 (1).jar:?]
... 13 more
Caused by: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at path $
at lol.pyr.znpcsplus.lib.google.gson.internal.bind.JsonTreeReader.expect(JsonTreeReader.java:165) ~[ZNPCsPlus-1.0.8 (1).jar:?]
at lol.pyr.znpcsplus.lib.google.gson.internal.bind.JsonTreeReader.beginArray(JsonTreeReader.java:73) ~[ZNPCsPlus-1.0.8 (1).jar:?]
at lol.pyr.znpcsplus.lib.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:80) ~[ZNPCsPlus-1.0.8 (1).jar:?]
at lol.pyr.znpcsplus.lib.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61) ~[ZNPCsPlus-1.0.8 (1).jar:?]
at lol.pyr.znpcsplus.lib.google.gson.Gson.fromJson(Gson.java:1227) ~[ZNPCsPlus-1.0.8 (1).jar:?]
at lol.pyr.znpcsplus.lib.google.gson.Gson.fromJson(Gson.java:1329) ~[ZNPCsPlus-1.0.8 (1).jar:?]
at lol.pyr.znpcsplus.lib.google.gson.Gson.fromJson(Gson.java:1300) ~[ZNPCsPlus-1.0.8 (1).jar:?]
at io.github.znetworkw.znpcservers.configuration.Configuration.onLoad(Configuration.java:54) ~[ZNPCsPlus-1.0.8 (1).jar:?]
at io.github.znetworkw.znpcservers.configuration.Configuration.<init>(Configuration.java:41) ~[ZNPCsPlus-1.0.8 (1).jar:?]
at io.github.znetworkw.znpcservers.configuration.Configuration.<init>(Configuration.java:33) ~[ZNPCsPlus-1.0.8 (1).jar:?]
at io.github.znetworkw.znpcservers.configuration.Configuration.<clinit>(Configuration.java:28) ~[ZNPCsPlus-1.0.8 (1).jar:?]
... 13 more
[20:56:33] [Server thread/INFO]: [ZNPCsPlus] Disabling ZNPCsPlus v1.0.8
Последнее редактирование модератором: