DriveBackupV2

DriveBackupV2

46.6k Downloads

I foun a little error

thiagogebrimm opened this issue ยท 1 comments

commented

Describe the bug

[16:33:46 ERROR]: Could not pass event PlayerJoinEvent to DriveBackupV2 v1.5.3
java.lang.NullPointerException: Cannot invoke "ratismal.drivebackup.util.Version.isAfter(ratismal.drivebackup.util.Version)" because "ratismal.drivebackup.plugin.updater.UpdateChecker.latestVersion" is null
        at ratismal.drivebackup.plugin.updater.UpdateChecker.isUpdateAvailable(UpdateChecker.java:91) ~[DriveBackupV2.jar:?]
        at ratismal.drivebackup.handler.listeners.PlayerListener.onPlayerJoin(PlayerListener.java:24) ~[DriveBackupV2.jar:?]
        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor46.execute(Unknown Source) ~[?:?]
        at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.17.1.jar:git-Purpur-1415]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.17.1.jar:git-Purpur-1415]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.17.1.jar:git-Purpur-1415]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[patched_1.17.1.jar:git-Purpur-1415]
        at net.minecraft.server.players.PlayerList.postChunkLoadJoin(PlayerList.java:360) ~[patched_1.17.1.jar:git-Purpur-1415]
        at net.minecraft.server.players.PlayerList.lambda$placeNewPlayer$1(PlayerList.java:302) ~[patched_1.17.1.jar:git-Purpur-1415]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.tick(ServerGamePacketListenerImpl.java:322) ~[app:?]
        at net.minecraft.network.Connection.tick(Connection.java:555) ~[app:?]
        at net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:201) ~[app:?]
        at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1678) ~[patched_1.17.1.jar:git-Purpur-1415]
        at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:528) ~[patched_1.17.1.jar:git-Purpur-1415]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1504) ~[patched_1.17.1.jar:git-Purpur-1415]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1297) ~[patched_1.17.1.jar:git-Purpur-1415]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:322) ~[patched_1.17.1.jar:git-Purpur-1415]
        at java.lang.Thread.run(Thread.java:831) ~[?:?]

To Reproduce

Error in the console

Screenshots / Videos

No response

Server and Plugin Versions

Server version 1.17.1 and plugin version 1.5.3

Additional Context

No response

commented

This issue is already known and fixed in the master branch and will be included in v1.5.4