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

Couldn't Decompile #439

Open
AnnoyedUser420 opened this issue Nov 2, 2024 · 5 comments
Open

Couldn't Decompile #439

AnnoyedUser420 opened this issue Nov 2, 2024 · 5 comments

Comments

@AnnoyedUser420
Copy link

Vineflower version

Unknown, whatever Enigma 2.5.1 is shipped with.

Describe the bug

Unable to decompile certain parts of the code.

Additional information

            // $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.ClassCastException: class org.jetbrains.java.decompiler.modules.decompiler.exps.ConstExprent cannot be cast to class org.jetbrains.java.decompiler.modules.decompiler.exps.InvocationExprent (org.jetbrains.java.decompiler.modules.decompiler.exps.ConstExprent and org.jetbrains.java.decompiler.modules.decompiler.exps.InvocationExprent are in unnamed module of loader 'app')
	//   at org.jetbrains.java.decompiler.modules.decompiler.SwitchHelper.lambda$simplify$0(SwitchHelper.java:94)
	//   at org.jetbrains.java.decompiler.modules.decompiler.flow.DirectGraph.iterateExprents(DirectGraph.java:107)
	//   at org.jetbrains.java.decompiler.modules.decompiler.SwitchHelper.simplify(SwitchHelper.java:71)
	//   at org.jetbrains.java.decompiler.modules.decompiler.SwitchHelper.simplifySwitches(SwitchHelper.java:30)
	//   at org.jetbrains.java.decompiler.modules.decompiler.SwitchHelper.simplifySwitches(SwitchHelper.java:34)
	//   at org.jetbrains.java.decompiler.modules.decompiler.SwitchHelper.simplifySwitches(SwitchHelper.java:34)
	//   at org.jetbrains.java.decompiler.modules.decompiler.SwitchHelper.simplifySwitches(SwitchHelper.java:34)
	//   at org.jetbrains.java.decompiler.modules.decompiler.SwitchHelper.simplifySwitches(SwitchHelper.java:34)
	//   at org.jetbrains.java.decompiler.modules.decompiler.SwitchHelper.simplifySwitches(SwitchHelper.java:34)
	//   at org.jetbrains.java.decompiler.main.rels.MethodProcessor.codeToJava(MethodProcessor.java:376)
@ix0rai
Copy link
Contributor

ix0rai commented Nov 3, 2024

(enigma 2.5.1 ships with VF 1.10.1)

@MiniDigger
Copy link
Contributor

it would help to know what part, lol

@AnnoyedUser420
Copy link
Author

AnnoyedUser420 commented Nov 3, 2024

(enigma 2.5.1 ships with VF 1.10.1)

Is that an old version?
Why am I being downvoted? Is it because I didn't distribute the class file that I don't have permission to distribute?

@Earthcomputer
Copy link
Contributor

You could say the name of the class it was

@AnnoyedUser420
Copy link
Author

A very, very heavily modified Minecraft.class for a mod that is in private testing. (Based on Infdev 0630-1)

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

4 participants