(SOLVED) CompileJava Failed: Bad method name at constant pool index 5 Error

Started by RichyPlays112 on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 02:56, 12. Jun 2024
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(SOLVED) CompileJava Failed: Bad method name at constant pool index 5 Error
Mon, 06/10/2024 - 22:22 (edited)

I was making a mod and then the next day I clicked run game and then this error came up - Bad method name at constant pool index 5 in class file com/sun/tools/javac/jvm/ClassReader$ArrayAttributeProxy

I tried reinstalling mcreator, changing dependencies, reloading the gradle, deleting certain things and rebooting my wifi and it still didn't work.

Does anyone know a fix for this????

Full Error:

Executing Gradle task: runClient
Build info: MCreator 2024.1.18518, forge-1.20.1, 64-bit, 16350 MB, Windows 10, JVM 17.0.7, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2024-06-10-14:54:30
Loaded APIs: pehkui, attribute_fix, geckolib, jei

> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Bad method name at constant pool index 5 in class file com/sun/tools/javac/jvm/ClassReader$ArrayAttributeProxy
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 2s
1 actionable task: 1 executed

BUILD FAILED
Task completed in 2 seconds


SOLVE: I Re-Reinstalled MCreator and it worked

 

Edited by RichyPlays112 on Mon, 06/10/2024 - 22:22