Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AE2 system freeze, UnknownFormatConversion error in logs #3911

Closed
Ricket opened this issue Jan 21, 2019 · 0 comments

Comments

@Ricket
Copy link

commented Jan 21, 2019

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

yueh added a commit that referenced this issue Apr 20, 2019

@yueh yueh closed this in 8a4c9b5 Apr 21, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.