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

Vineflower fails to decompile class due to assertion error #22

Open
solonovamax opened this issue Jun 8, 2024 · 0 comments
Open

Vineflower fails to decompile class due to assertion error #22

solonovamax opened this issue Jun 8, 2024 · 0 comments

Comments

@solonovamax
Copy link

Vineflower decided to throw an error while decompiling NamingConstants.groovy from net.neoforged.gradle:common:7.0.142 (found on neoforged maven):

// $VF: Couldn't be decompiled
// Please report this to the Vineflower issue tracker, at https://github.com/Vineflower/vineflower/issues with a copy of the class file (if you have the rights to distribute it!)
// java.lang.AssertionError: /home/solonovamax/JetBrains/intellij-idea-ultimate/lib/groovy.jar not in [/home/solonovamax/.gradle/caches/modules-2/files-2.1/net.neoforged.gradle/dsl-common/7.0.142/e8f4186fb3282a0eeda9e9ec2a7f35a3f6d8da76/dsl-common-7.0.142.jar!/net/neoforged/gradle/dsl/common/util/NamingConstants.class, /home/solonovamax/.gradle/caches/modules-2/files-2.1/net.neoforged.gradle/dsl-common/7.0.142/e8f4186fb3282a0eeda9e9ec2a7f35a3f6d8da76/dsl-common-7.0.142.jar!/net/neoforged/gradle/dsl/common/util/NamingConstants$Task.class, /home/solonovamax/.gradle/caches/modules-2/files-2.1/net.neoforged.gradle/dsl-common/7.0.142/e8f4186fb3282a0eeda9e9ec2a7f35a3f6d8da76/dsl-common-7.0.142.jar!/net/neoforged/gradle/dsl/common/util/NamingConstants$Version.class, /home/solonovamax/.gradle/caches/modules-2/files-2.1/net.neoforged.gradle/dsl-common/7.0.142/e8f4186fb3282a0eeda9e9ec2a7f35a3f6d8da76/dsl-common-7.0.142.jar!/net/neoforged/gradle/dsl/common/util/NamingConstants$Extension.class]
//   at org.vineflower.ijplugin.impl.MyBytecodeProvider.getBytecode(MyBytecodeProvider.java:19)
//   at org.jetbrains.java.decompiler.struct.JarContextSource.getInputStream(JarContextSource.java:89)
//   at org.jetbrains.java.decompiler.main.extern.IContextSource.getClassBytes(IContextSource.java:67)
//   at org.jetbrains.java.decompiler.struct.ContextUnit.getClassBytes(ContextUnit.java:92)
//   at org.jetbrains.java.decompiler.struct.StructContext.tryLoadClass(StructContext.java:110)
//   at org.jetbrains.java.decompiler.struct.StructContext.lambda$getClass$0(StructContext.java:81)

vineflower version: 1.10.1

jas told me to report the issue to the plugin rather than to the main vineflower repo.

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

No branches or pull requests

1 participant