TAB: TAB breaks trying to convert to v3 (bossbar.yml) doesn't exist

Server version

Pufferfish-22 1.17.1

TAB version

3.2.0

Stack trace

12.12.2022 - 14:55:22 - [TAB v3.2.0] Failed to enable. Did you just invent a new way to break the plugin by misconfiguring it?
12.12.2022 - 14:55:22 - java.lang.IllegalStateException: Failed to convert configuration to v3: File bossbar.yml does not exist
12.12.2022 - 14:55:22 - 	at TAB-v3.2.0.jar//me.neznamy.tab.shared.config.Converter.convertToV3(Converter.java:73)
12.12.2022 - 14:55:22 - 	at TAB-v3.2.0.jar//me.neznamy.tab.shared.config.Configs.<init>(Configs.java:63)
12.12.2022 - 14:55:22 - 	at TAB-v3.2.0.jar//me.neznamy.tab.shared.TAB.load(TAB.java:154)
12.12.2022 - 14:55:22 - 	at TAB-v3.2.0.jar//me.neznamy.tab.shared.command.DisabledCommand.execute(DisabledCommand.java:29)
12.12.2022 - 14:55:22 - 	at TAB-v3.2.0.jar//me.neznamy.tab.platforms.bukkit.Main$TABCommand.onCommand(Main.java:115)
12.12.2022 - 14:55:22 - 	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
12.12.2022 - 14:55:22 - 	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159)
12.12.2022 - 14:55:22 - 	at org.bukkit.craftbukkit.v1_17_R1.CraftServer.dispatchCommand(CraftServer.java:869)
12.12.2022 - 14:55:22 - 	at net.minecraft.server.network.PlayerConnection.handleCommand(PlayerConnection.java:2263)
12.12.2022 - 14:55:22 - 	at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2074)
12.12.2022 - 14:55:22 - 	at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2055)
12.12.2022 - 14:55:22 - 	at net.minecraft.network.protocol.game.PacketPlayInChat.a(PacketPlayInChat.java:46)
12.12.2022 - 14:55:22 - 	at net.minecraft.network.protocol.game.PacketPlayInChat.a(PacketPlayInChat.java:6)
12.12.2022 - 14:55:22 - 	at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$ensureRunningOnSameThread$1(PlayerConnectionUtils.java:56)
12.12.2022 - 14:55:22 - 	at net.minecraft.server.TickTask.run(TickTask.java:18)
12.12.2022 - 14:55:22 - 	at net.minecraft.util.thread.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:149)
12.12.2022 - 14:55:22 - 	at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.executeTask(IAsyncTaskHandlerReentrant.java:23)
12.12.2022 - 14:55:22 - 	at net.minecraft.server.MinecraftServer.executeTask(MinecraftServer.java:1428)
12.12.2022 - 14:55:22 - 	at net.minecraft.server.MinecraftServer.executeTask(MinecraftServer.java:192)
12.12.2022 - 14:55:22 - 	at net.minecraft.util.thread.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:122)
12.12.2022 - 14:55:22 - 	at net.minecraft.server.MinecraftServer.bf(MinecraftServer.java:1406)
12.12.2022 - 14:55:22 - 	at net.minecraft.server.MinecraftServer.executeNext(MinecraftServer.java:1399)
12.12.2022 - 14:55:22 - 	at net.minecraft.util.thread.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:132)
12.12.2022 - 14:55:22 - 	at net.minecraft.server.MinecraftServer.sleepForTick(MinecraftServer.java:1377)
12.12.2022 - 14:55:22 - 	at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1288)
12.12.2022 - 14:55:22 - 	at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:321)
12.12.2022 - 14:55:22 - 	at java.base/java.lang.Thread.run(Thread.java:833)

Steps to reproduce (if known)

Step 1: Configure the plugin Step 2: Reload the plugin with /tab reload Step 3: Every now and then the plugin breaks and ‘groups.yml’ & ‘users.yml’ are cleaned.

Additional info

This also happens in 3.1.5 I don’t know why it tries to convert to v3 if it’s already v3

Checklist

  • I am running latest version of the plugin
  • I have included a paste of the error
  • I ticked all of the boxes without actually reading them
  • I have read the Compatibility wiki page and am not trying to run the plugin on an unsupported server version / platform

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 19 (9 by maintainers)

Commits related to this issue

Most upvoted comments

@LcyDev , @bumpyJake or anyone else having this issue, can you open a ticket on discord? I want to make progress on this using debug jars.

I will need working steps to reproduce it. It sounds like something made the config file inaccessible or moved it, are you using some server panel that could cause it?