RS485 / LogisticsPipes

The RS485 take on LogisticsPipes -- ESTḌ 2012
https://rs485.network
Other
240 stars 127 forks source link

UnsupportedOperationException when using ASM 9.5 #1692

Closed Almighty-Satan closed 1 year ago

Almighty-Satan commented 1 year ago

My server uses the latest ASM version (9.5) instead of the version normally used by Forge (5.2), therefore the checksum generated in ClassBlockMultipartContainerHandler#handleClass differs from the expected checksum. The simplest fix for this would be to add D5F32B535E068F8D3B355A81B68C2938A2473D6F as a checksum but this could break again in the future.

Mod versions:

LogisticsPipes 0.10.4.42 MCMultiPart 2.5.3

Exception:

[08:37:17] [Server thread/TRACE] [FML]: Sending event FMLConstructionEvent to mod mcmultipart
[08:37:17] [Server thread/INFO] []: getTile: D5F32B535E068F8D3B355A81B68C2938A2473D6F
[08:37:17] [Server thread/WARN] []: java.lang.UnsupportedOperationException: This LP version isn't compatible with the installed MCMultipart version.
[08:37:17] [Server thread/WARN] []:     at logisticspipes.asm.mcmp.ClassBlockMultipartContainerHandler.handleClass(ClassBlockMultipartContainerHandler.java:35)
[08:37:17] [Server thread/WARN] []:     at logisticspipes.asm.LogisticsClassTransformer.applyLPTransforms(LogisticsClassTransformer.java:188)
[08:37:17] [Server thread/WARN] []:     at logisticspipes.asm.LogisticsClassTransformer.transform(LogisticsClassTransformer.java:93)
[08:37:17] [Server thread/WARN] []:     at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:256)
[08:37:17] [Server thread/WARN] []:     at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279)
[08:37:17] [Server thread/WARN] []:     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176)
[08:37:17] [Server thread/WARN] []:     at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
[08:37:17] [Server thread/WARN] []:     at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
[08:37:17] [Server thread/WARN] []:     at java.lang.Class.forName0(Native Method)
[08:37:17] [Server thread/WARN] []:     at java.lang.Class.forName(Class.java:348)
[08:37:17] [Server thread/WARN] []:     at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:539)
[08:37:17] [Server thread/WARN] []:     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[08:37:17] [Server thread/WARN] []:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[08:37:17] [Server thread/WARN] []:     at java.lang.reflect.Method.invoke(Method.java:498)
[08:37:17] [Server thread/WARN] []:     at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
[08:37:17] [Server thread/WARN] []:     at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
[08:37:17] [Server thread/WARN] []:     at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
[08:37:17] [Server thread/WARN] []:     at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
[08:37:17] [Server thread/WARN] []:     at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
[08:37:17] [Server thread/WARN] []:     at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
[08:37:17] [Server thread/WARN] []:     at com.google.common.eventbus.EventBus.post(EventBus.java:217)
[08:37:17] [Server thread/WARN] []:     at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219)
[08:37:17] [Server thread/WARN] []:     at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197)
[08:37:17] [Server thread/WARN] []:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[08:37:17] [Server thread/WARN] []:     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[08:37:17] [Server thread/WARN] []:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[08:37:17] [Server thread/WARN] []:     at java.lang.reflect.Method.invoke(Method.java:498)
[08:37:17] [Server thread/WARN] []:     at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
[08:37:17] [Server thread/WARN] []:     at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
[08:37:17] [Server thread/WARN] []:     at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
[08:37:17] [Server thread/WARN] []:     at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
[08:37:17] [Server thread/WARN] []:     at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
[08:37:17] [Server thread/WARN] []:     at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
[08:37:17] [Server thread/WARN] []:     at com.google.common.eventbus.EventBus.post(EventBus.java:217)
[08:37:17] [Server thread/WARN] []:     at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136)
[08:37:17] [Server thread/WARN] []:     at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:566)
[08:37:17] [Server thread/WARN] []:     at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:102)
[08:37:17] [Server thread/WARN] []:     at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:337)
[08:37:17] [Server thread/WARN] []:     at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:169)
[08:37:17] [Server thread/WARN] []:     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:623)
[08:37:17] [Server thread/WARN] []:     at java.lang.Thread.run(Thread.java:750)