reobfJar failure on fork
qixils opened this issue · comments
I apologize for creating an issue for an outdated version of paperweight (1.2.0) but I am attempting to update our server's Paper 1.17.1 fork and experiencing issues with creating a reobfJar
or paperclipJar
. While I would ordinarily not report an issue like this due to being on an outdated version, we are trying to upgrade to the new Paper versions which include a fix for the log4j RCE exploit but are unable to do so at this time due to this issue. The --stacktrace
thrown by running the reobfJar
command is:
Caused by: io.papermc.paperweight.PaperweightException: Execution of /home/lexikiq/.gradle/caches/modules-2/files-2.1/net.fabricmc/tiny-remapper/0.6.0/b7a4d4bce74d73ccb000c9df43c8bfedb49b21f/tiny-remapper-0.6.0-fat.jar:/home/lexikiq/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-commons/9.1/8b971b182eb5cf100b9e8d4119152d83e00e0fdd/asm-commons-9.1.jar:/home/lexikiq/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-util/9.1/36464a45d871779f3383a8a9aba2b26562a86729/asm-util-9.1.jar:/home/lexikiq/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-analysis/9.1/4f61b83b81d8b659958f4bcc48907e93ecea55a0/asm-analysis-9.1.jar:/home/lexikiq/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-tree/9.1/c333f2a855069cb8eb17a40a3eb8b1b67755d0eb/asm-tree-9.1.jar:/home/lexikiq/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm/9.1/a99500cf6eea30535eeac6be73899d048f8d12a8/asm-9.1.jar failed with exit code 1
at io.papermc.paperweight.util.Jar_runnerKt.runJar(jar-runner.kt:85)
at io.papermc.paperweight.tasks.RemapJarKt.runTinyRemapper(RemapJar.kt:105)
at io.papermc.paperweight.tasks.RemapJar.run(RemapJar.kt:146)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)
Due to some plugins using NMS, we are unable to run a non-rebof'd jar.
Our gradle build file can be found here. To my knowledge, it is functionally identical to the example project (as of 1.2.0). Sorry if I have missed something obvious 😓
from log in -Server/.gradle/taskCache/
Mapping target name conflicts detected:
METHODs net/minecraft/world/effect/MobEffect/[fromId, byId](I)Lnet/minecraft/world/effect/MobEffect; -> fromId
There were unfixable conflicts.
Exception in thread "main" java.lang.RuntimeException: Unfixable conflicts
at net.fabricmc.tinyremapper.TinyRemapper.handleConflicts(TinyRemapper.java:851)
at net.fabricmc.tinyremapper.TinyRemapper.propagate(TinyRemapper.java:751)
at net.fabricmc.tinyremapper.TinyRemapper.mrjRefresh(TinyRemapper.java:1030)
at net.fabricmc.tinyremapper.TinyRemapper.apply(TinyRemapper.java:882)
at net.fabricmc.tinyremapper.TinyRemapper.apply(TinyRemapper.java:856)
at net.fabricmc.tinyremapper.Main.main(Main.java:226)
This is due to you attempting to workaround an issue which is now fixed in a questionable way. (this would have been a slightly more proper workaround, which you would still have wanted to remove but would not have caused this issue)
ah, thank you very much! yeah, i had seen tuinity's fix (and the recent closing of the related issue), but i think i was busy when i saw it and it slipped my mind 😓