[RESOLVED] Bug when running /help

Error:

[17:17:18] [Server thread/ERROR] [Sponge]: Error occurred while executing command ‘?’ for source EntityPlayerMP[‘doncullen’/155, l=‘world’, x=29.00, y=71.00, z=257.28]: java.lang.IllegalArgumentException: Invalid locale format: en_us
com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: Invalid locale format: en_us
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201) ~[minecraft_server.1.10.2.jar:?]
at com.google.common.cache.LocalCache.get(LocalCache.java:3934) ~[minecraft_server.1.10.2.jar:?]

Not too sure why. I disabled all plugins except for viaversion, and that’s only so I’d be able to access the server from client. Running /help in client results in below error. But running /help via server works fine. I’m at a loss.

Full log can be seen here: https://doncullen.net/latest.log

[17:17:15] [Server thread/DEBUG] [mixin]: Mixing MixinPacketUtil from mixins.common.exploit.json into org.spongepowered.common.network.PacketUtil
[17:17:15] [Server thread/TRACE] [mixin]: Added class metadata for org/spongepowered/common/config/category/ExploitCategory to metadata cache
[17:17:15] [Server thread/TRACE] [Sponge]: //
[17:17:15] [Server thread/TRACE] [Sponge]: /* Exception Exiting Phase */
[17:17:15] [Server thread/TRACE] [Sponge]: /
/
[17:17:15] [Server thread/TRACE] [Sponge]: /* Something happened when trying to unwind org.sp[email protected]60fa269f /
[17:17:15] [Server thread/TRACE] [Sponge]: /
PhaseContext : /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Affected World : WorldServer{LevelName=world, DimensionId=0, DimensionType=minecraft:overworld} /
[17:17:15] [Server thread/TRACE] [Sponge]: /
- Name: Source /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Object: EntityPlayerMP[‘doncullen’/155, l=‘world’, x=29.00, y=71.00, z=257.28] /
[17:17:15] [Server thread/TRACE] [Sponge]: /
- Name: PacketPlayer /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Object: EntityPlayerMP[‘doncullen’/155, l=‘world’, x=29.00, y=71.00, z=257.28] /
[17:17:15] [Server thread/TRACE] [Sponge]: /
- Name: Packet /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Object: [email protected] /
[17:17:15] [Server thread/TRACE] [Sponge]: /
- Name: Cursor /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Object: SpongeItemStackSnapshot{itemType=Item{Name=none}, count=1} /
[17:17:15] [Server thread/TRACE] [Sponge]: /
- Name: IgnoringCreative /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Object: false /
[17:17:15] [Server thread/TRACE] [Sponge]: /
- Name: Owner /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Object: EntityPlayerMP[‘doncullen’/155, l=‘world’, x=29.00, y=71.00, z=257.28] /
[17:17:15] [Server thread/TRACE] [Sponge]: /
- Name: Notifier /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Object: EntityPlayerMP[‘doncullen’/155, l=‘world’, x=29.00, y=71.00, z=257.28] /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Phases remaining : /
[17:17:15] [Server thread/TRACE] [Sponge]: /
- Phase: [email protected]34faaf5d /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Context: /
[17:17:15] [Server thread/TRACE] [Sponge]: /
- Name: UnwindingContext /
[17:17:15] [Server thread/TRACE] [Sponge]: /
- Name: Source /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Object: EntityPlayerMP[‘doncullen’/155, l=‘world’, x=29.00, y=71.00, z=257.28] /
[17:17:15] [Server thread/TRACE] [Sponge]: /
- Name: PacketPlayer /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Object: EntityPlayerMP[‘doncullen’/155, l=‘world’, x=29.00, y=71.00, z=257.28] /
[17:17:15] [Server thread/TRACE] [Sponge]: /
- Name: Packet /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Object: [email protected] /
[17:17:15] [Server thread/TRACE] [Sponge]: /
- Name: Cursor /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Object: SpongeItemStackSnapshot{itemType=Item{Name=none}, count=1} /
[17:17:15] [Server thread/TRACE] [Sponge]: /
- Name: IgnoringCreative /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Object: false /
[17:17:15] [Server thread/TRACE] [Sponge]: /
- Name: Owner /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Object: EntityPlayerMP[‘doncullen’/155, l=‘world’, x=29.00, y=71.00, z=257.28] /
[17:17:15] [Server thread/TRACE] [Sponge]: /
- Name: Notifier /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Object: EntityPlayerMP[‘doncullen’/155, l=‘world’, x=29.00, y=71.00, z=257.28] /
[17:17:15] [Server thread/TRACE] [Sponge]: /
- Name: UnwindingState /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Object: org.sp[email protected]60fa269f /
[17:17:15] [Server thread/TRACE] [Sponge]: /
- Name: CapturedBlocks /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Object: CapturedBlocksSupplier{Captured=0} /
[17:17:15] [Server thread/TRACE] [Sponge]: /
- Name: CapturedBlockITemDrops /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Object: BlockItemEntityDropsSupplier{Captured=0} /
[17:17:15] [Server thread/TRACE] [Sponge]: /
- Name: CapturedBlockDropMap /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Object: BlockItemDropsSupplier{Captured=0} /
[17:17:15] [Server thread/TRACE] [Sponge]: /
- Name: CapturedItems /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Object: CapturedItemsSupplier{Captured=0} /
[17:17:15] [Server thread/TRACE] [Sponge]: /
- Name: CapturedEntities /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Object: CapturedEntitiesSupplier{Captured=0} /
[17:17:15] [Server thread/TRACE] [Sponge]: /
- Name: CapturedItemStacks /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Object: CapturedItemStackSupplier{Captured=0} /
[17:17:15] [Server thread/TRACE] [Sponge]: /
- Name: CapturedEntityItemDropMap /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Object: EntityItemDropsSupplier{Captured=0} /
[17:17:15] [Server thread/TRACE] [Sponge]: /
- Name: CapturedEntityItemDrops /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Object: EntityItemEntityDropsSupplier{Captured=0} /
[17:17:15] [Server thread/TRACE] [Sponge]: /
Stacktrace: /
[17:17:15] [Server thread/TRACE] [Sponge]: /
com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: Invalid locale format: en_us /
[17:17:15] [Server thread/TRACE] [Sponge]: /
com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201) /
[17:17:15] [Server thread/TRACE] [Sponge]: /
com.google.common.cache.LocalCache.get(LocalCache.java:3934) /
[17:17:15] [Server thread/TRACE] [Sponge]: /
com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) /
[17:17:15] [Server thread/TRACE] [Sponge]: /
com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) /
[17:17:15] [Server thread/TRACE] [Sponge]: /
com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) /
[17:17:15] [Server thread/TRACE] [Sponge]: /
org.spongepowered.common.event.tracking.phase.packet.PacketFunction.lambda$static$387(PacketFunction.java:887) /
[17:17:15] [Server thread/TRACE] [Sponge]: /
org.spongepowered.common.event.tracking.phase.packet.PacketPhase.unwind(PacketPhase.java:307) /
[17:17:15] [Server thread/TRACE] [Sponge]: /
org.spongepowered.common.event.tracking.CauseTracker.completePhase(CauseTracker.java:190) /
[17:17:15] [Server thread/TRACE] [Sponge]: /
org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:124) /
[17:17:15] [Server thread/TRACE] [Sponge]: /
net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$zio000(SourceFile:39) /
[17:17:15] [Server thread/TRACE] [Sponge]: /
net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) /
[17:17:15] [Server thread/TRACE] [Sponge]: /
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) /
[17:17:15] [Server thread/TRACE] [Sponge]: /
java.util.concurrent.FutureTask.run(FutureTask.java:266) /
[17:17:15] [Server thread/TRACE] [Sponge]: /
net.minecraft.util.Util.func_181617_a(SourceFile:45) /
[17:17:15] [Server thread/TRACE] [Sponge]: /
net.minecraft.server.MinecraftServer.func_71190_q(SourceFile:140) /
[17:17:15] [Server thread/TRACE] [Sponge]: /
net.minecraft.server.dedicated.DedicatedServer.func_71190_q(SourceFile:338) /
[17:17:15] [Server thread/TRACE] [Sponge]: /
net.minecraft.server.MinecraftServer.func_71217_p(SourceFile:554) /
[17:17:15] [Server thread/TRACE] [Sponge]: /
net.minecraft.server.MinecraftServer.run(SourceFile:458) /
[17:17:15] [Server thread/TRACE] [Sponge]: /
java.lang.Thread.run(Thread.java:745) */
[17:17:15] [Server thread/TRACE] [Sponge]: /***********************************************************************************************************************************/
[17:17:18] [Server thread/ERROR] [Sponge]: Error occurred while executing command ‘?’ for source EntityPlayerMP[‘doncullen’/155, l=‘world’, x=29.00, y=71.00, z=257.28]: java.lang.IllegalArgumentException: Invalid locale format: en_us
com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: Invalid locale format: en_us
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201) ~[minecraft_server.1.10.2.jar:?]
at com.google.common.cache.LocalCache.get(LocalCache.java:3934) ~[minecraft_server.1.10.2.jar:?]
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) ~[minecraft_server.1.10.2.jar:?]
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) ~[minecraft_server.1.10.2.jar:?]
at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) ~[minecraft_server.1.10.2.jar:?]
at net.minecraft.entity.player.EntityPlayerMP.getLocale(SourceFile:352) ~[lu.class:?]
at org.spongepowered.common.command.MinecraftCommandWrapper.getUsage(MinecraftCommandWrapper.java:198) ~[MinecraftCommandWrapper.class:1.10.2-6.0.0-BETA-149]
at org.spongepowered.common.command.SpongeHelpCommand.getDescription(SpongeHelpCommand.java:103) ~[SpongeHelpCommand.class:1.10.2-6.0.0-BETA-149]
at org.spongepowered.common.command.SpongeHelpCommand.lambda$null$79(SpongeHelpCommand.java:85) ~[SpongeHelpCommand.class:1.10.2-6.0.0-BETA-149]
at com.google.common.collect.Iterators$8.transform(Iterators.java:794) ~[minecraft_server.1.10.2.jar:?]
at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48) ~[minecraft_server.1.10.2.jar:?]
at java.util.AbstractCollection.toArray(AbstractCollection.java:141) ~[?:1.8.0_111]
at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:258) ~[minecraft_server.1.10.2.jar:?]
at org.spongepowered.common.command.SpongeHelpCommand.lambda$create$80(SpongeHelpCommand.java:85) ~[SpongeHelpCommand.class:1.10.2-6.0.0-BETA-149]
at org.spongepowered.api.command.spec.CommandSpec.process(CommandSpec.java:351) ~[CommandSpec.class:1.10.2-6.0.0-BETA-149]
at org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:333) ~[SimpleDispatcher.class:1.10.2-6.0.0-BETA-149]
at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:291) [SpongeCommandManager.class:1.10.2-6.0.0-BETA-149]
at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:82) [bd.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147361_d(SourceFile:825) [me.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147354_a(SourceFile:812) [me.class:?]
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37) [im.class:?]
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9) [im.class:?]
at org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:123) [PacketUtil.class:1.10.2-6.0.0-BETA-149]
at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$zio000(SourceFile:39) [fl$1.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [fl$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_111]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_111]
at net.minecraft.util.Util.func_181617_a(SourceFile:45) [h.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(SourceFile:140) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(SourceFile:338) [ld.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(SourceFile:554) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:458) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
Caused by: java.lang.IllegalArgumentException: Invalid locale format: en_us
at org.apache.commons.lang3.LocaleUtils.toLocale(LocaleUtils.java:142) ~[minecraft_server.1.10.2.jar:?]
at org.spongepowered.common.util.LanguageUtil$1.load(LanguageUtil.java:45) ~[sponge.jar:1.10.2-6.0.0-BETA-149]
at org.spongepowered.common.util.LanguageUtil$1.load(LanguageUtil.java:42) ~[sponge.jar:1.10.2-6.0.0-BETA-149]
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524) ~[minecraft_server.1.10.2.jar:?]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) ~[minecraft_server.1.10.2.jar:?]
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280) ~[minecraft_server.1.10.2.jar:?]
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) ~[minecraft_server.1.10.2.jar:?]
… 32 more

The same issue was posted yesterday, a fix will be out soon

Good to know; so both errors pointed out in my post (at top, and bottom) are both caused by the same thing?

Anything along the lines of “Invalid locale format” is likely caused by the same thing. (In 1.10 minecraft lowercased the locale so en_US became en_us and sponge doesn’t handle that yet)

1 Like

Gotcha. Thanks for clarification.