Posted June 9, 20196 yr I finished setting up for working with the new forge 1.14 and when I try to runclient on the base example mod I get this error * What went wrong: Execution failed for task ':runClient'. > Process 'command 'C:\Program Files\Java\jdk1.8.0_201\bin\java.exe'' finished with non-zero exit value -1
June 9, 20196 yr Author ---- Minecraft Crash Report ---- // Daisy, daisy... Time: 09-06-2019 12:53 Description: Rendering screen java.lang.NullPointerException: Rendering screen at net.minecraftforge.fml.ModList.size(ModList.java:164) ~[forge-1.14.2-26.0.8_mapped_snapshot_20190608-1.14.2-recomp.jar:?] {pl:eventbus:A,pl:object_holder_definalize:A,pl:runtime_enum_extender:A,pl:capability_inject_definalize:A,pl:runtimedistcleaner:A} at net.minecraftforge.fml.BrandingControl.computeBranding(BrandingControl.java:59) ~[forge-1.14.2-26.0.8_mapped_snapshot_20190608-1.14.2-recomp.jar:?] {pl:eventbus:A,pl:object_holder_definalize:A,pl:runtime_enum_extender:A,pl:capability_inject_definalize:A,pl:runtimedistcleaner:A} at net.minecraftforge.fml.BrandingControl.getBrandings(BrandingControl.java:68) ~[forge-1.14.2-26.0.8_mapped_snapshot_20190608-1.14.2-recomp.jar:?] {pl:eventbus:A,pl:object_holder_definalize:A,pl:runtime_enum_extender:A,pl:capability_inject_definalize:A,pl:runtimedistcleaner:A} at net.minecraftforge.fml.BrandingControl.forEachLine(BrandingControl.java:77) ~[forge-1.14.2-26.0.8_mapped_snapshot_20190608-1.14.2-recomp.jar:?] {pl:eventbus:A,pl:object_holder_definalize:A,pl:runtime_enum_extender:A,pl:capability_inject_definalize:A,pl:runtimedistcleaner:A} at net.minecraft.client.gui.screen.MainMenuScreen.render(MainMenuScreen.java:257) ~[forge-1.14.2-26.0.8_mapped_snapshot_20190608-1.14.2-recomp.jar:?] {pl:object_holder_definalize:A,pl:runtime_enum_extender:A,pl:capability_inject_definalize:A,pl:runtimedistcleaner:A} at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:358) ~[forge-1.14.2-26.0.8_mapped_snapshot_20190608-1.14.2-recomp.jar:?] {pl:eventbus:A,pl:object_holder_definalize:A,pl:runtime_enum_extender:A,pl:capability_inject_definalize:A,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.GameRenderer.updateCameraAndRender(GameRenderer.java:569) ~[forge-1.14.2-26.0.8_mapped_snapshot_20190608-1.14.2-recomp.jar:?] {pl:accesstransformer:B,pl:object_holder_definalize:A,pl:runtime_enum_extender:A,pl:capability_inject_definalize:A,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:933) ~[forge-1.14.2-26.0.8_mapped_snapshot_20190608-1.14.2-recomp.jar:?] {pl:accesstransformer:B,pl:object_holder_definalize:A,pl:runtime_enum_extender:A,pl:capability_inject_definalize:A,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.run(Minecraft.java:384) ~[forge-1.14.2-26.0.8_mapped_snapshot_20190608-1.14.2-recomp.jar:?] {pl:accesstransformer:B,pl:object_holder_definalize:A,pl:runtime_enum_extender:A,pl:capability_inject_definalize:A,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:127) ~[forge-1.14.2-26.0.8_mapped_snapshot_20190608-1.14.2-recomp.jar:?] {pl:object_holder_definalize:A,pl:runtime_enum_extender:A,pl:capability_inject_definalize:A,pl:runtimedistcleaner:A} at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_201] {} at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_201] {} at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_201] {} at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_201] {} at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) ~[forge-1.14.2-26.0.8_mapped_snapshot_20190608-1.14.2-recomp.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:19) [modlauncher-2.1.1.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:32) [modlauncher-2.1.1.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50) [modlauncher-2.1.1.jar:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:59) [modlauncher-2.1.1.jar:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:44) [modlauncher-2.1.1.jar:?] {} at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:98) [forge-1.14.2-26.0.8_mapped_snapshot_20190608-1.14.2-recomp.jar:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Client thread Stacktrace: at net.minecraftforge.fml.ModList.size(ModList.java:164) at net.minecraftforge.fml.BrandingControl.computeBranding(BrandingControl.java:59) at net.minecraftforge.fml.BrandingControl.getBrandings(BrandingControl.java:68) at net.minecraftforge.fml.BrandingControl.forEachLine(BrandingControl.java:77) at net.minecraft.client.gui.screen.MainMenuScreen.render(MainMenuScreen.java:257) at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:358) -- Screen render details -- Details: Screen name: net.minecraft.client.gui.screen.MainMenuScreen Mouse location: Scaled: (0, 0). Absolute: (0.000000, 0.000000) Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2.000000 Stacktrace: at net.minecraft.client.renderer.GameRenderer.updateCameraAndRender(GameRenderer.java:569) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:933) at net.minecraft.client.Minecraft.run(Minecraft.java:384) at net.minecraft.client.main.Main.main(Main.java:127) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:19) at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:32) at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50) at cpw.mods.modlauncher.Launcher.run(Launcher.java:59) at cpw.mods.modlauncher.Launcher.main(Launcher.java:44) at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:98) -- System Details -- Details: Minecraft Version: 1.14.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_201, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 512229336 bytes (488 MB) / 1894252544 bytes (1806 MB) up to 3806855168 bytes (3630 MB) JVM Flags: 1 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump FML: New FML! Loaded coremods (and transformers): Nothing Launched Version: MOD_DEV LWJGL: 3.2.1 build 12 OpenGL: GeForce GTX 960/PCIe/SSE2 GL version 4.6.0 NVIDIA 398.36, NVIDIA Corporation GL Caps: Using GL 1.3 multitexturing. Using GL 1.3 texture combiners. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Shaders are available because OpenGL 2.1 is supported. VBOs are available because OpenGL 1.5 is supported. Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'forge' Type: Client (map_client.txt) Resource Packs: Current Language: English (US) CPU: 8x Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz > Task :runClient FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':runClient'. > Process 'command 'C:\Program Files\Java\jdk1.8.0_201\bin\java.exe'' finished with non-zero exit value -1 * 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 Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 33s 6 actionable tasks: 2 executed, 4 up-to-date
June 9, 20196 yr I'm getting this as well using runClient and trying to launch the client from the Mojang launcher (forged) without any other mods added. ---- Minecraft Crash Report ---- // You're mean. Time: 6/9/19 9:31 AM Description: Rendering screen java.lang.NullPointerException: Rendering screen at net.minecraftforge.fml.ModList.size(ModList.java:164) ~[?:?] {pl:eventbus:A,pl:object_holder_definalize:A,pl:runtime_enum_extender:A,pl:capability_inject_definalize:A,pl:runtimedistcleaner:A} at net.minecraftforge.fml.BrandingControl.computeBranding(BrandingControl.java:59) ~[?:?] {pl:eventbus:A,pl:object_holder_definalize:A,pl:runtime_enum_extender:A,pl:capability_inject_definalize:A,pl:runtimedistcleaner:A} at net.minecraftforge.fml.BrandingControl.getBrandings(BrandingControl.java:68) ~[?:?] {pl:eventbus:A,pl:object_holder_definalize:A,pl:runtime_enum_extender:A,pl:capability_inject_definalize:A,pl:runtimedistcleaner:A} at net.minecraftforge.fml.BrandingControl.forEachLine(BrandingControl.java:77) ~[?:?] {pl:eventbus:A,pl:object_holder_definalize:A,pl:runtime_enum_extender:A,pl:capability_inject_definalize:A,pl:runtimedistcleaner:A} at net.minecraft.client.gui.screen.MainMenuScreen.render(MainMenuScreen.java:248) ~[?:?] {pl:object_holder_definalize:A,pl:runtime_enum_extender:A,pl:capability_inject_definalize:A,pl:runtimedistcleaner:A} at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:358) ~[?:?] {pl:eventbus:A,pl:object_holder_definalize:A,pl:runtime_enum_extender:A,pl:capability_inject_definalize:A,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.GameRenderer.func_195458_a(GameRenderer.java:554) ~[?:?] {pl:accesstransformer:B,pl:object_holder_definalize:A,pl:runtime_enum_extender:A,pl:capability_inject_definalize:A,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:898) ~[?:?] {pl:accesstransformer:B,pl:object_holder_definalize:A,pl:runtime_enum_extender:A,pl:capability_inject_definalize:A,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:384) ~[?:?] {pl:accesstransformer:B,pl:object_holder_definalize:A,pl:runtime_enum_extender:A,pl:capability_inject_definalize:A,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(SourceFile:154) ~[1.14.2-forge-26.0.12.jar:?] {pl:object_holder_definalize:A,pl:runtime_enum_extender:A,pl:capability_inject_definalize:A,pl:runtimedistcleaner:A} at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_74] {} at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_74] {} at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_74] {} at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_74] {} at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) ~[forge-1.14.2-26.0.12.jar:26.0] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:19) [modlauncher-2.1.1.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:32) [modlauncher-2.1.1.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50) [modlauncher-2.1.1.jar:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:59) [modlauncher-2.1.1.jar:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:44) [modlauncher-2.1.1.jar:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Client thread Stacktrace: at net.minecraftforge.fml.ModList.size(ModList.java:164) at net.minecraftforge.fml.BrandingControl.computeBranding(BrandingControl.java:59) at net.minecraftforge.fml.BrandingControl.getBrandings(BrandingControl.java:68) at net.minecraftforge.fml.BrandingControl.forEachLine(BrandingControl.java:77) at net.minecraft.client.gui.screen.MainMenuScreen.render(MainMenuScreen.java:248) at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:358) -- Screen render details -- Details: Screen name: net.minecraft.client.gui.screen.MainMenuScreen Mouse location: Scaled: (0, 0). Absolute: (0.000000, 0.000000) Screen size: Scaled: (570, 320). Absolute: (1708, 960). Scale factor of 3.000000 Stacktrace: at net.minecraft.client.renderer.GameRenderer.func_195458_a(GameRenderer.java:554) at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:898) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:384) at net.minecraft.client.main.Main.main(SourceFile:154) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:19) at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:32) at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50) at cpw.mods.modlauncher.Launcher.run(Launcher.java:59) at cpw.mods.modlauncher.Launcher.main(Launcher.java:44) -- System Details -- Details: Minecraft Version: 1.14.2 Operating System: Mac OS X (x86_64) version 10.14.5 Java Version: 1.8.0_74, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 1364859008 bytes (1301 MB) / 2147483648 bytes (2048 MB) up to 2147483648 bytes (2048 MB) JVM Flags: 8 total; -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M FML: New FML! Loaded coremods (and transformers): Nothing Launched Version: 1.14.2-forge-26.0.12 LWJGL: 3.2.1 build 12 OpenGL: AMD Radeon Pro 560 OpenGL Engine GL version 2.1 ATI-2.9.26, ATI Technologies Inc. GL Caps: Using GL 1.3 multitexturing. Using GL 1.3 texture combiners. Using framebuffer objects because ARB_framebuffer_object is supported and separate blending is supported. Shaders are available because OpenGL 2.1 is supported. VBOs are available because OpenGL 1.5 is supported. Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'forge' Type: Client (map_client.txt) Resource Packs: mod:xaerominimap, mod:forge, vanilla Current Language: English (US) CPU: 8x Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
June 9, 20196 yr Ok, I found I had the wrong value for the loaderVersion in mods.toml file. Changed it from 24 to 25 and launching works. loaderVersion="[25,)" #mandatory (24 is current forge version)
June 9, 20196 yr @kwpugh Don’t hijack threads, make your own. This is one of the (very) rare cases in which you have the same issue (probably), but it’s a good idea to make your own thread anyway. When you update your mod, be sure to update your mods.toml file. Also, don’t use the runClient task, always use the launch/run configs from within your IDE About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.