3.4 Разрешается выкладывание кода, файлов конфигураций, логов и т.д. только под BB-код CODE
- Плагин
- discordsrv
- Ядро сервера
- Paper
- Версия сервера
- 1.21
- Память сервера ОЗУ
- Больше 16Gb
в один момент дискордсрв взял и перестал работать, версия 1.21.5
вот что пишет в консоли когда пишу /discordsrv reload:
[13:33:37 ERROR]: [DiscordSRV] java.lang.reflect.InvocationTargetException
[13:33:37 ERROR]: [DiscordSRV] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:115)
[13:33:37 ERROR]: [DiscordSRV] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[13:33:37 ERROR]: [DiscordSRV] at DiscordSRV-Build-1.30.0.jar//github.scarsz.discordsrv.objects.managers.CommandManager.handle(CommandManager.java:107)
[13:33:37 ERROR]: [DiscordSRV] at DiscordSRV-Build-1.30.0.jar//github.scarsz.discordsrv.DiscordSRV.lambda$onCommand$55(DiscordSRV.java:1573)
[13:33:37 ERROR]: [DiscordSRV] at DiscordSRV-Build-1.30.0.jar//github.scarsz.discordsrv.DiscordSRV.onCommand(DiscordSRV.java:1598)
[13:33:37 ERROR]: [DiscordSRV] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
[13:33:37 ERROR]: [DiscordSRV] at io.papermc.paper.command.brigadier.bukkit.BukkitCommandNode$BukkitBrigCommand.run(BukkitCommandNode.java:83)
[13:33:37 ERROR]: [DiscordSRV] at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:30)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:13)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.commands.execution.CommandQueueEntry.execute(CommandQueueEntry.java:5)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:105)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.commands.Commands.executeCommandInContext(Commands.java:449)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.commands.Commands.performCommand(Commands.java:357)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.commands.Commands.performCommand(Commands.java:347)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.commands.Commands.performCommand(Commands.java:341)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.server.network.ServerGamePacketListenerImpl.performUnsignedChatCommand(ServerGamePacketListenerImpl.java:2269)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$12(ServerGamePacketListenerImpl.java:2242)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.server.TickTask.run(TickTask.java:18)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:155)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1446)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:175)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:129)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1426)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1420)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.util.thread.BlockableEventLoop.runAllTasks(BlockableEventLoop.java:118)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1381)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1262)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:308)
[13:33:37 ERROR]: [DiscordSRV] at java.base/java.lang.Thread.run(Thread.java:1583)
[13:33:37 ERROR]: [DiscordSRV] Caused by: java.lang.NullPointerException: Cannot invoke "github.scarsz.discordsrv.dependencies.jda.api.JDA.getGuilds()" because the return value of "github.scarsz.discordsrv.DiscordSRV.getJda()" is null
[13:33:37 ERROR]: [DiscordSRV] at DiscordSRV-Build-1.30.0.jar//github.scarsz.discordsrv.api.ApiManager.updateSlashCommands(ApiManager.java:185)
[13:33:37 ERROR]: [DiscordSRV] at DiscordSRV-Build-1.30.0.jar//github.scarsz.discordsrv.commands.CommandReload.execute(CommandReload.java:46)
[13:33:37 ERROR]: [DiscordSRV] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[13:33:37 ERROR]: [DiscordSRV] ... 31 more
вот что пишет в консоли когда пишу /discordsrv reload:
[13:33:37 ERROR]: [DiscordSRV] java.lang.reflect.InvocationTargetException
[13:33:37 ERROR]: [DiscordSRV] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:115)
[13:33:37 ERROR]: [DiscordSRV] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[13:33:37 ERROR]: [DiscordSRV] at DiscordSRV-Build-1.30.0.jar//github.scarsz.discordsrv.objects.managers.CommandManager.handle(CommandManager.java:107)
[13:33:37 ERROR]: [DiscordSRV] at DiscordSRV-Build-1.30.0.jar//github.scarsz.discordsrv.DiscordSRV.lambda$onCommand$55(DiscordSRV.java:1573)
[13:33:37 ERROR]: [DiscordSRV] at DiscordSRV-Build-1.30.0.jar//github.scarsz.discordsrv.DiscordSRV.onCommand(DiscordSRV.java:1598)
[13:33:37 ERROR]: [DiscordSRV] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
[13:33:37 ERROR]: [DiscordSRV] at io.papermc.paper.command.brigadier.bukkit.BukkitCommandNode$BukkitBrigCommand.run(BukkitCommandNode.java:83)
[13:33:37 ERROR]: [DiscordSRV] at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:30)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:13)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.commands.execution.CommandQueueEntry.execute(CommandQueueEntry.java:5)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:105)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.commands.Commands.executeCommandInContext(Commands.java:449)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.commands.Commands.performCommand(Commands.java:357)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.commands.Commands.performCommand(Commands.java:347)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.commands.Commands.performCommand(Commands.java:341)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.server.network.ServerGamePacketListenerImpl.performUnsignedChatCommand(ServerGamePacketListenerImpl.java:2269)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$12(ServerGamePacketListenerImpl.java:2242)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.server.TickTask.run(TickTask.java:18)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:155)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1446)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:175)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:129)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1426)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1420)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.util.thread.BlockableEventLoop.runAllTasks(BlockableEventLoop.java:118)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1381)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1262)
[13:33:37 ERROR]: [DiscordSRV] at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:308)
[13:33:37 ERROR]: [DiscordSRV] at java.base/java.lang.Thread.run(Thread.java:1583)
[13:33:37 ERROR]: [DiscordSRV] Caused by: java.lang.NullPointerException: Cannot invoke "github.scarsz.discordsrv.dependencies.jda.api.JDA.getGuilds()" because the return value of "github.scarsz.discordsrv.DiscordSRV.getJda()" is null
[13:33:37 ERROR]: [DiscordSRV] at DiscordSRV-Build-1.30.0.jar//github.scarsz.discordsrv.api.ApiManager.updateSlashCommands(ApiManager.java:185)
[13:33:37 ERROR]: [DiscordSRV] at DiscordSRV-Build-1.30.0.jar//github.scarsz.discordsrv.commands.CommandReload.execute(CommandReload.java:46)
[13:33:37 ERROR]: [DiscordSRV] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[13:33:37 ERROR]: [DiscordSRV] ... 31 more