Skip to content
This repository has been archived by the owner on Jul 10, 2022. It is now read-only.

Exception when decompiling lunar #2

Closed
MrAn0nym opened this issue Jan 22, 2022 · 3 comments
Closed

Exception when decompiling lunar #2

MrAn0nym opened this issue Jan 22, 2022 · 3 comments

Comments

@MrAn0nym
Copy link

MrAn0nym commented Jan 22, 2022

Exception in thread "main" java.lang.IllegalArgumentException: Unsupported class file major version 61
	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:189)
	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:170)
	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:156)
	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:277)
	at club.decencies.remapper.lunar.Main.lambda$main$12(Main.java:75)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at club.decencies.remapper.lunar.Main.main(Main.java:66)

Happend with 1.17, 1.16 and java versions 8, 17 & 18

Jar build via jitpack from 777d8a2 (https://jitpack.io/com/github/Decencies/LunarRemapper/777d8a21ba/LunarRemapper-777d8a21ba.jar)

*Edit: Running on linux btw

@mrcorpz
Copy link

mrcorpz commented Jan 25, 2022

I got this with your jar

$ java -jar LunarRemapper-777d8a21ba.jar
@@@@@@@@@@@@@@@@@==@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@==-------=@@@@@@@@@@@@@
@@@@@@@@@@=-----@@@@@@=---=@@@@@@@@@
@@@@@@@@= -=@- @=@@@@@@@@- @@@@@@@@ Lunar Remapper
@@@@@@@@- @@ =@@@@@@@=@= =@@@@@@@ Version: 1.0-SNAPSHOT
@@@@@@@@- @@ -=@=@@@=@= =@@@@@@@ Developed by Decencies
@@@@@@@@- @=@- -@@= =@@@@@@@
@@@@@@@@- - - -@@@@@@@
@@@@@@@@@@===--- -=-===@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Exception in thread "main" java.lang.NullPointerException
at java.util.Objects.requireNonNull(Objects.java:203)
at club.decencies.remapper.lunar.util.FileUtil.walk(FileUtil.java:18)
at club.decencies.remapper.lunar.Main.main(Main.java:49)

@Decencies
Copy link
Owner

Exception in thread "main" java.lang.IllegalArgumentException: Unsupported class file major version 61
	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:189)
	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:170)
	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:156)
	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:277)
	at club.decencies.remapper.lunar.Main.lambda$main$12(Main.java:75)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at club.decencies.remapper.lunar.Main.main(Main.java:66)

Happend with 1.17, 1.16 and java versions 8, 17 & 18

Jar build via jitpack from 777d8a2 (https://jitpack.io/com/github/Decencies/LunarRemapper/777d8a21ba/LunarRemapper-777d8a21ba.jar)

*Edit: Running on linux btw

Looks like Lunar have updated the version of Java used to compile once again, updating asm to 9.2 should resolve the issue.

@Decencies
Copy link
Owner

I got this with your jar

$ java -jar LunarRemapper-777d8a21ba.jar @@@@@@@@@@@@@@@@@==@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@==-------=@@@@@@@@@@@@@ @@@@@@@@@@=-----@@@@@@=---=@@@@@@@@@ @@@@@@@@= -=@- @=@@@@@@@@- @@@@@@@@ Lunar Remapper @@@@@@@@- @@ =@@@@@@@=@= =@@@@@@@ Version: 1.0-SNAPSHOT @@@@@@@@- @@ -=@=@@@=@= =@@@@@@@ Developed by Decencies @@@@@@@@- @=@- -@@= =@@@@@@@ @@@@@@@@- - - -@@@@@@@ @@@@@@@@@@===--- -=-===@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Exception in thread "main" java.lang.NullPointerException at java.util.Objects.requireNonNull(Objects.java:203) at club.decencies.remapper.lunar.util.FileUtil.walk(FileUtil.java:18) at club.decencies.remapper.lunar.Main.main(Main.java:49)

Looks like you haven't set up the workspace properly, please read the README.

If this issue persists please notify me with your Java version used to compile & run the program.

Regards,
Decencies.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants