Applied Energistics 2

Applied Energistics 2

156M Downloads

AE2 system freeze, UnknownFormatConversion error in logs

Ricket opened this issue ยท 0 comments

commented

Describe the bug
Suddenly can't withdraw or deposit items from my AE2 system. Other AE2 systems in the server working fine.

To Reproduce
Not sure. I have storage drawers with a storage bus. Been playing for many hours without hitting this error so it seems to be a rare case.

Expected behavior
system should work fine

Additional context
This error showed up in the server logs around the time that my system became non functional:

[19:20:00] [Server thread/FATAL] [minecraft/MinecraftServer]: Error executing task
java.util.concurrent.ExecutionException: java.util.UnknownFormatConversionException: Conversion = '1'
        at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_191]
        at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_191]
        at net.minecraft.util.Util.func_181617_a(SourceFile:47) [h.class:?]
        at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723) [MinecraftServer.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) [nz.class:?]
        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]
Caused by: java.util.UnknownFormatConversionException: Conversion = '1'
        at java.util.Formatter.checkText(Formatter.java:2579) ~[?:1.8.0_191]
        at java.util.Formatter.parse(Formatter.java:2565) ~[?:1.8.0_191]
        at java.util.Formatter.format(Formatter.java:2501) ~[?:1.8.0_191]
        at java.util.Formatter.format(Formatter.java:2455) ~[?:1.8.0_191]
        at java.lang.String.format(String.java:2940) ~[?:1.8.0_191]
        at appeng.core.AELog.log(AELog.java:91) ~[AELog.class:?]
        at appeng.core.AELog.warn(AELog.java:163) ~[AELog.class:?]
        at appeng.parts.misc.ItemHandlerAdapter.extractItems(ItemHandlerAdapter.java:141) ~[ItemHandlerAdapter.class:?]
        at appeng.parts.misc.ItemHandlerAdapter.extractItems(ItemHandlerAdapter.java:53) ~[ItemHandlerAdapter.class:?]
        at appeng.me.storage.MEPassThrough.extractItems(MEPassThrough.java:63) ~[MEPassThrough.class:?]
        at appeng.me.storage.MEInventoryHandler.extractItems(MEInventoryHandler.java:117) ~[MEInventoryHandler.class:?]
        at appeng.me.storage.NetworkInventoryHandler.extractItems(NetworkInventoryHandler.java:228) ~[NetworkInventoryHandler.class:?]
        at appeng.me.cache.NetworkMonitor.extractItems(NetworkMonitor.java:97) ~[NetworkMonitor.class:?]
        at appeng.util.Platform.poweredExtraction(Platform.java:1199) ~[Platform.class:?]
        at appeng.util.Platform.poweredExtraction(Platform.java:1170) ~[Platform.class:?]
        at appeng.container.AEBaseContainer.doAction(AEBaseContainer.java:883) ~[AEBaseContainer.class:?]
        at appeng.core.sync.packets.PacketInventoryAction.serverPacketData(PacketInventoryAction.java:155) ~[PacketInventoryAction.class:?]
        at appeng.core.sync.network.AppEngServerPacketHandler$1.call(AppEngServerPacketHandler.java:57) ~[AppEngServerPacketHandler$1.class:?]
        at appeng.core.sync.AppEngPacket.func_148833_a(AppEngPacket.java:126) ~[AppEngPacket.class:?]
        at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) ~[hv$1.class:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_191]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_191]
        at net.minecraft.util.Util.func_181617_a(SourceFile:46) ~[h.class:?]
        ... 5 more

It looks like this warning line is bad, should probably have %s or %d instead of %1, according that exception text.

https://github.com/AppliedEnergistics/Applied-Energistics-2/blob/rv6-1.12/src/main/java/appeng/parts/misc/ItemHandlerAdapter.java#L141

Environment

  • Minecraft Version: 1.12.2
  • AE2 Version: appliedenergistics2-rv6-stable-6.jar
  • Forge Version: 14.23.5.2781