WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Error Message "Caused by: java.lang.NoSuchMethodError: 'int java.util.List.pSize()'" #319

@zack1stplayer

Description

@zack1stplayer

My repo

Ran into this error the first time I tried to launch the game with v2025.01.05-1.21.4 as my mapping version, I downgraded until I found a working version. The first working version I found was v1.21.3-2024.12.07-1.21.4

I believe this log contains all the requested version info:

[18Jan2025 00:20:17.332] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: JVM identified as Eclipse Adoptium OpenJDK 64-Bit Server VM 21.0.5+11-LTS
[18Jan2025 00:20:17.333] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.2.3 starting: java version 21.0.5 by Eclipse Adoptium; OS Windows 11 arch amd64 version 10.0
[18Jan2025 00:20:17.408] [main/INFO] [net.minecraftforge.fml.loading.ImmediateWindowHandler/]: Loading ImmediateWindowProvider fmlearlywindow
[18Jan2025 00:20:17.503] [main/INFO] [EARLYDISPLAY/]: Trying GL version 4.6
[18Jan2025 00:20:17.644] [main/INFO] [EARLYDISPLAY/]: Requested GL version 4.6 got version 4.6
[18Jan2025 00:20:17.717] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.7 Source=jar:file:///C:/Users/User/.gradle/caches/modules-2/files-2.1/org.spongepowered/mixin/0.8.7/8ab114ac385e6dbdad5efafe28aba4df8120915f/mixin-0.8.7.jar!/ Service=ModLauncher Env=CLIENT
[18Jan2025 00:20:17.920] [EarlyDisplay/INFO] [EARLYDISPLAY/]: GL info: NVIDIA GeForce RTX 3060/PCIe/SSE2 GL version 4.6.0 NVIDIA 560.94, NVIDIA Corporation
[18Jan2025 00:20:18.636] [main/INFO] [net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator/]: No dependencies to load found. Skipping!
[18Jan2025 00:20:19.371] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forge_userdev_client' with arguments [--version, MOD_DEV, --gameDir, ., --assetsDir, C:\Users\User\.gradle\caches\forge_gradle\assets, --assetIndex, 19]
[18Jan2025 00:20:20.394] [Datafixer Bootstrap/INFO] [com.mojang.datafixers.DataFixerBuilder/]: 243 Datafixer optimizations took 266 milliseconds

The following log is the end of a typical console output when trying to run the game:

[00:10:06] [main/DEBUG] [mixin/]: Preparing mixins for MixinEnvironment[DEFAULT]
[00:10:07] [main/DEBUG] [io.ne.ut.in.lo.InternalLoggerFactory/]: Using SLF4J as the default logging framework
[00:10:07] [main/DEBUG] [io.ne.ut.ResourceLeakDetector/]: -Dio.netty.leakDetection.level: simple
[00:10:07] [main/DEBUG] [io.ne.ut.ResourceLeakDetector/]: -Dio.netty.leakDetection.targetRecords: 4
[00:10:07] [Datafixer Bootstrap/INFO] [mojang/DataFixerBuilder]: 243 Datafixer optimizations took 369 milliseconds
Exception in thread "main" java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at net.minecraftforge.bootstrap.Bootstrap.bootstrapMain(Bootstrap.java:133)
	at net.minecraftforge.bootstrap.Bootstrap.start(Bootstrap.java:53)
	at net.minecraftforge.bootstrap.ForgeBootstrap.main(ForgeBootstrap.java:19)
Caused by: java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at SECURE-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:96)
	at SECURE-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.CommonLaunchHandler.lambda$makeService$0(CommonLaunchHandler.java:79)
Caused by: java.lang.reflect.InvocationTargetException

	at SECURE-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:77)
	at SECURE-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:97)
	at SECURE-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:116)
	at SECURE-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:75)
	at SECURE-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapEntry.main(BootstrapEntry.java:17)
	at [email protected]/net.minecraftforge.bootstrap.Bootstrap.moduleMain(Bootstrap.java:188)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	... 4 more
Caused by: java.lang.NoSuchMethodError: 'int java.util.List.pSize()'
	at TRANSFORMER/[email protected]/net.minecraft.SystemReport.lambda$new$3(SystemReport.java:60)
	at TRANSFORMER/[email protected]/net.minecraft.SystemReport.setDetail(SystemReport.java:70)
	at TRANSFORMER/[email protected]/net.minecraft.SystemReport.<init>(SystemReport.java:58)
Caused by: java.lang.NoSuchMethodError: 'int java.util.List.pSize()'

	at TRANSFORMER/[email protected]/net.minecraft.CrashReport.<init>(CrashReport.java:32)
	at TRANSFORMER/[email protected]/net.minecraft.CrashReport.forThrowable(CrashReport.java:199)
	at TRANSFORMER/[email protected]/net.minecraft.client.main.Main.main(Main.java:196)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	... 14 more

> Task :net.minecraftforge.bootstrap.ForgeBootstrap.main() FAILED

I've also attached a full debug log from my latest attempt at launching.

Sorry if a lot of this isn't helpful data, I'm extremely tired and would like to just go to bed rn, but I'm getting whatever I can together for this before I do so.

debug-1.log.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageNeeds attention for triaging and proper assignment of labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions