FastCraft

FastCraft

138k Downloads

LocaleTextProvider.broadenLocale(Locale) error

BenWoodworth opened this issue ยท 1 comments

commented

v3.0.0-beta

https://www.spigotmc.org/threads/fastcraft.133803/page-42#post-3704799

``` 28.02 21:55:27 [Server] ERROR --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - git-Paper-121 (MC: 1.15.2) --- 28.02 21:55:27 [Server] ERROR The server has not responded for 10 seconds! Creating thread dump 28.02 21:55:27 [Server] ERROR ------------------------------ 28.02 21:55:27 [Server] ERROR Server thread dump (Look for plugins here before reporting to Paper!): 28.02 21:55:27 [Server] ERROR ------------------------------ 28.02 21:55:27 [Server] ERROR Current Thread: Server thread 28.02 21:55:27 [Server] ERROR PID: 23 | Suspended: false | Native: false | State: RUNNABLE 28.02 21:55:27 [Server] ERROR Stack: 28.02 21:55:27 [Server] ERROR java.lang.String.intern(Native Method) 28.02 21:55:27 [Server] ERROR java.util.Locale.convertOldISOCodes(Locale.java:2221) 28.02 21:55:27 [Server] ERROR java.util.Locale.(Locale.java:650) 28.02 21:55:27 [Server] ERROR java.util.Locale.(Locale.java:701) 28.02 21:55:27 [Server] ERROR net.benwoodworth.fastcraft.lib.localeconfig.api.LocaleTextProvider.broadenLocale(LocaleTextProvider.java:25) 28.02 21:55:27 [Server] ERROR net.benwoodworth.fastcraft.lib.localeconfig.api.LocaleTextProvider.getText(LocaleTextProvider.java:62) 28.02 21:55:27 [Server] ERROR net.benwoodworth.fastcraft.lib.localeconfig.api.LocaleApi.get(LocaleApi.java:84) 28.02 21:55:27 [Server] ERROR net.benwoodworth.fastcraft.Strings.guiTitle(Strings.kt:48) 28.02 21:55:27 [Server] ERROR net.benwoodworth.fastcraft.crafting.view.FastCraftGuiView.(FastCraftGuiView.kt:23) 28.02 21:55:27 [Server] ERROR net.benwoodworth.fastcraft.crafting.view.FastCraftGuiViewFactory.create(FastCraftGuiViewFactory.java:61) 28.02 21:55:27 [Server] ERROR net.benwoodworth.fastcraft.crafting.FastCraftGuiFactory.createFastCraftGui(FastCraftGuiFactory.kt:15) 28.02 21:55:27 [Server] ERROR net.benwoodworth.fastcraft.FastCraft.onPlayerOpenWorkbench(FastCraft.kt:26) 28.02 21:55:27 [Server] ERROR net.benwoodworth.fastcraft.FastCraft.access$onPlayerOpenWorkbench(FastCraft.kt:8) 28.02 21:55:27 [Server] ERROR net.benwoodworth.fastcraft.FastCraft$1.invoke(FastCraft.kt:14) 28.02 21:55:27 [Server] ERROR net.benwoodworth.fastcraft.FastCraft$1.invoke(FastCraft.kt:8) 28.02 21:55:27 [Server] ERROR net.benwoodworth.fastcraft.events.HandlerSet.notifyHandlers(HandlerSet.kt:33) 28.02 21:55:27 [Server] ERROR net.benwoodworth.fastcraft.bukkit.player.BukkitFcPlayerEvents_1_7_5_R01$EventListener.onPlayerInteract(BukkitFcPlayerEvents_1_7_5_R01.kt:52) 28.02 21:55:27 [Server] ERROR java.lang.invoke.LambdaForm$DMH/244926383.invokeSpecial_LL_V(LambdaForm$DMH) 28.02 21:55:27 [Server] ERROR java.lang.invoke.LambdaForm$BMH/2101129479.reinvoke(LambdaForm$BMH) 28.02 21:55:27 [Server] ERROR java.lang.invoke.LambdaForm$MH/1885775336.invoke_MT(LambdaForm$MH) 28.02 21:55:27 [Server] ERROR com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:37) 28.02 21:55:27 [Server] ERROR co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) 28.02 21:55:32 [Multicraft] Skipped 22 lines due to rate limit (30/s) ```

https://www.spigotmc.org/threads/fastcraft.133803/page-43#post-3704867

``` [04:01:27 ERROR]: sun.util.locale.BaseLocale$Key.(BaseLocale.java:234) [04:01:27 ERROR]: sun.util.locale.BaseLocale$Key.(BaseLocale.java:200) [04:01:27 ERROR]: sun.util.locale.BaseLocale.getInstance(BaseLocale.java:86) [04:01:27 ERROR]: java.util.Locale.(Locale.java:650) [04:01:27 ERROR]: java.util.Locale.(Locale.java:701) [04:01:27 ERROR]: net.benwoodworth.fastcraft.lib.localeconfig.api.LocaleTextProvider.broadenLocale(LocaleTextProvider.java:25) [04:01:27 ERROR]: net.benwoodworth.fastcraft.lib.localeconfig.api.LocaleTextProvider.getText(LocaleTextProvider.java:62) [04:01:27 ERROR]: net.benwoodworth.fastcraft.lib.localeconfig.api.LocaleApi.get(LocaleApi.java:84) [04:01:27 ERROR]: net.benwoodworth.fastcraft.Strings.guiTitle(Strings.kt:48) [04:01:27 ERROR]: net.benwoodworth.fastcraft.crafting.view.FastCraftGuiView.(FastCraftGuiView.kt:23) [04:01:27 ERROR]: net.benwoodworth.fastcraft.crafting.view.FastCraftGuiViewFactory.create(FastCraftGuiViewFactory.java:61) [04:01:27 ERROR]: net.benwoodworth.fastcraft.crafting.FastCraftGuiFactory.createFastCraftGui(FastCraftGuiFactory.kt:15) [04:01:27 ERROR]: net.benwoodworth.fastcraft.FastCraft.onPlayerOpenWorkbench(FastCraft.kt:26) [04:01:27 ERROR]: net.benwoodworth.fastcraft.FastCraft.access$onPlayerOpenWorkbench(FastCraft.kt:8) [04:01:27 ERROR]: net.benwoodworth.fastcraft.FastCraft$1.invoke(FastCraft.kt:14) [04:01:27 ERROR]: net.benwoodworth.fastcraft.FastCraft$1.invoke(FastCraft.kt:8) [04:01:27 ERROR]: net.benwoodworth.fastcraft.events.HandlerSet.notifyHandlers(HandlerSet.kt:33) [04:01:27 ERROR]: net.benwoodworth.fastcraft.bukkit.player.BukkitFcPlayerEvents_1_7_5_R01$EventListener.onPlayerInteract(BukkitFcPlayerEvents_1_7_5_R01.kt:52) [04:01:27 ERROR]: java.lang.invoke.LambdaForm$DMH/1805981439.invokeSpecial_LL_V(LambdaForm$DMH) [04:01:27 ERROR]: java.lang.invoke.LambdaForm$BMH/369544126.reinvoke(LambdaForm$BMH) [04:01:27 ERROR]: java.lang.invoke.LambdaForm$MH/1833943796.invoke_MT(LambdaForm$MH) [04:01:27 ERROR]: com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:37) [04:01:27 ERROR]: co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) [04:01:27 ERROR]: org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) [04:01:27 ERROR]: org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:559) [04:01:27 ERROR]: org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:458) [04:01:27 ERROR]: net.minecraft.server.v1_15_R1.PlayerInteractManager.a(PlayerInteractManager.java:448) [04:01:27 ERROR]: net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:1374) [04:01:27 ERROR]: net.minecraft.server.v1_15_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:27) [04:01:27 ERROR]: net.minecraft.server.v1_15_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:5) [04:01:27 ERROR]: net.minecraft.server.v1_15_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:23) [04:01:27 ERROR]: net.minecraft.server.v1_15_R1.PlayerConnectionUtils$$Lambda$4510/527329475.run(Unknown Source) [04:01:27 ERROR]: net.minecraft.server.v1_15_R1.TickTask.run(SourceFile:18) [04:01:27 ERROR]: net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) [04:01:27 ERROR]: net.minecraft.server.v1_15_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) [04:01:27 ERROR]: net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) [04:01:27 ERROR]: net.minecraft.server.v1_15_R1.MinecraftServer.ba(MinecraftServer.java:1038) [04:01:27 ERROR]: net.minecraft.server.v1_15_R1.MinecraftServer.executeNext(MinecraftServer.java:1031) [04:01:27 ERROR]: net.minecraft.server.v1_15_R1.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) [04:01:27 ERROR]: net.minecraft.server.v1_15_R1.MinecraftServer.sleepForTick(MinecraftServer.java:1015) [04:01:27 ERROR]: net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:938) [04:01:27 ERROR]: java.lang.Thread.run(Thread.java:748) ```
commented

Catches error, and prints message showing what locale caused the issue:
FastCraft.zip