Jump to content

Recommended Posts

Posted

I am new, sorry if I am breaking any rules. I read them carefully, and I am hoping I am on the right forum.

 

I keep getting this when trying to launch my game :(

 

[sEVERE] [ForgeModLoader] Unable to launch

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)

at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

Caused by: java.lang.NoClassDefFoundError: org/lwjgl/LWJGLException

at net.minecraft.client.main.Main.main(SourceFile:37)

... 6 more

Caused by: java.lang.ClassNotFoundException: org.lwjgl.LWJGLException

at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:423)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

at java.lang.ClassLoader.loadClass(ClassLoader.java:356)

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:102)

at java.lang.ClassLoader.loadClass(ClassLoader.java:423)

at java.lang.ClassLoader.loadClass(ClassLoader.java:356)

... 7 more

[i18n] Added 0 enUS to options pane

[i18n] Added 1 cyGB to options pane

[i18n] Added 2 daDK to options pane

[i18n] Added 3 deDE to options pane

[i18n] Added 4 esES to options pane

[i18n] Added 5 frFR to options pane

[i18n] Added 6 itIT to options pane

[i18n] Added 7 maHU to options pane

[i18n] Added 8 nlNL to options pane

[i18n] Added 9 ptBR to options pane

[i18n] Added 10 ptPT to options pane

[i18n] Added 11 ruRU to options pane

[i18n] Added 12 svSE to options pane

[i18n] enUS English language file loaded!

Posted

K Here is the full log.

 

FTBLaunch starting up (version 1.3.9) AnalyticsBackgroundThread started Java version: 1.7.0_55 (64-bit) Java vendor: Oracle Corporation Java home: C:\Program Files (x86)\Java\jre7 Java specification: Java Virtual Machine Specification version: 1.7 by Oracle Corporation Java vm: Java HotSpot Client VM version: 24.55-b03 by Oracle Corporation OS: 64-bit Windows 7 6.1 Launcher Install Dir: C:\Users\Owner\Desktop\FTB System memory: 1719M free, 4010M total The FTB Launcher has found the following Java versions installed: Java Version: 1.7.0_55 sorted as: 1.7.0_55 32 Bit Java at : C:\Program Files (x86)\Java\jre7\bin\java.exe Java Version: 1.7.0_06 sorted as: 1.7.0_6 64 Bit Java at : C:\tools\Java\jdk1.7.0_06\bin\java.exe Java Version: 1.7.0_55 sorted as: 1.7.0_55 32 Bit Java at : C:\windows\system32\java.exe Java Version: 1.7.0_55 sorted as: 1.7.0_55 32 Bit Java at : C:\windows\SysWOW64\java.exe Preferred: Java Version: 1.7.0_06 sorted as: 1.7.0_6 64 Bit Java at : C:\tools\Java\jdk1.7.0_06\bin\java.exe DownloadUtils.run() starting Balance has selected Automatic:CreeperRepo DL ready Using download server Automatic:Miami on host miami1.creeperrepo.net (50.7.65.98) [i18n] Fallback enUS loaded [i18n] enUS English language file loaded! [i18n] Checking for updates ... [i18n] remoteVer = 10 [i18n] localVer = 10 [i18n] Files are up to date

Reporting daily use

[i18n] Added 0 enUS to options pane

[i18n] Added 1 cyGB to options pane

[i18n] Added 2 daDK to options pane

[i18n] Added 3 deDE to options pane

[i18n] Added 4 esES to options pane

[i18n] Added 5 frFR to options pane

[i18n] Added 6 itIT to options pane

[i18n] Added 7 maHU to options pane

[i18n] Added 8 nlNL to options pane

[i18n] Added 9 ptBR to options pane

[i18n] Added 10 ptPT to options pane

[i18n] Added 11 ruRU to options pane

[i18n] Added 12 svSE to options pane

[i18n] enUS English language file loaded!

Loading modpack information for modpacks.xml...

Adding pack 1 (Monster)

Adding pack 2 (Pax East 2014 Map)

Adding pack 3 (Direwolf20)

Adding pack 4 (Horizons)

Adding pack 5 (Tech World 2)

Adding pack 6 (Magic World 2)

Adding pack 7 (FTBLite2)

Adding pack 8 (FTB Unleashed)

Adding pack 9 (FTB Ultimate)

Adding pack 10 (Unstable 1.7.2)

Adding pack 11 (FTB Lite)

Adding pack 12 (Magic Farm 2:Adventures in Technology)

Adding pack 13 (BloodNBones)

Adding pack 14 (Agrarian Skies: Hardcore Quest)

Adding pack 15 (Voxel)

Adding pack 16 (Infamy)

Adding pack 17 (Lapito's Galacticraft Modpack)

Adding pack 18 (Direwolf20 1.5 v2)

Adding pack 19 (Direwolf20 Pack)

Adding pack 20 (MindCrack Pack)

Adding pack 21 (YogCraft Modpack)

Adding pack 22 (FTB Unhinged)

Adding pack 23 (New World Mod Pack)

Adding pack 24 (RPG Immersion Pack)

Adding pack 25 (BronyModPack)

Local Authlib Version is good, skipping Download

Adding Authlib to Classpath

Adding pack 26 (Ampz Modpack)

Adding pack 27 (VoxelModPack)

Adding pack 28 (Magic Farm)

Adding pack 29 (Magic World)

Adding pack 30 (Tech World)

Adding pack 31 (Pax Challenge Pack)

Adding pack 32 (Feed The Beast Retro SSP)

Adding pack 33 (Feed The Beast Retro SMP)

Adding pack 34 (Slow's Stream Pack)

Adding pack 35 (Feed The Beast Beta Pack A)

loading map information...

loading texture pack information...

Adding texture pack 1 (Soartex Fanver)

Adding map 1 (Direwolf20 Map Ep.0)

Adding map 2 (FTB Pax Challenge)

Adding texture pack 2 (Jadedcat Mixpack)

Adding map 3 (Direwolf20 Map Ep.0)

Adding texture pack 3 (Faithful)

Adding map 4 (Direwolf20 Map Ep.10)

Adding map 5 (Direwolf20 Map Ep.20)

Adding texture pack 4 (JohnSmith Technicians Remix)

Adding map 6 (Direwolf20 Map Ep.30)

Adding map 7 (Direwolf20 Map Ep.40)

Adding texture pack 5 (Familiar yet Different)

Adding map 8 (Direwolf20 Map Ep.50)

Adding map 9 (Direwolf20 Map Ep.80)

Adding texture pack 6 (Love And Tolerance)

Adding map 10 (FTB Normal)

Adding map 11 (FTB Insanity)

Logging in...

Beginning authlib authentication attempt

successfully created YggdrasilAuthenticationService

com.mojang.authlib.exceptions.AuthenticationUnavailableException: Cannot contact authentication server

Exception occurred, minecraft servers might be down. Check @ help.mojang.com

Login failed:

Logging in...

Beginning authlib authentication attempt

successfully created YggdrasilAuthenticationService

com.mojang.authlib.exceptions.AuthenticationUnavailableException: Cannot contact authentication server

Exception occurred, minecraft servers might be down. Check @ help.mojang.com

Login failed:

Syncing Assets:

Java Path: C:\tools\Java\jdk1.7.0_06\bin\javaw.exe

Pack: Direwolf20 1.0.21

Setting MinMemory to 256

Setting MaxMemory to 1024

Defaulting PermSize to 256m

May 12, 2014 3:48:05 PM net.minecraft.launchwrapper.LogWrapper log

INFO: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker

May 12, 2014 3:48:06 PM net.minecraft.launchwrapper.LogWrapper log

INFO: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker

May 12, 2014 3:48:06 PM net.minecraft.launchwrapper.LogWrapper log

INFO: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker

2014-05-12 15:48:07 [iNFO] [ForgeModLoader] Forge Mod Loader version 6.4.49.965 for Minecraft 1.6.4 loading

2014-05-12 15:48:07 [iNFO] [ForgeModLoader] Java is Java HotSpot 64-Bit Server VM, version 1.7.0_06, running on Windows 7:amd64:6.1, installed at C:\tools\Java\jdk1.7.0_06\jre

2014-05-12 15:48:07 [WARNING] [ForgeModLoader] The coremod net.minecraftforge.lex.sortfix.CorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft

2014-05-12 15:48:07 [WARNING] [ForgeModLoader] The coremod codechicken.core.launch.DepLoader does not have a MCVersion annotation, it may cause issues with this version of Minecraft

2014-05-12 15:48:07 [WARNING] [ForgeModLoader] The coremod worldcore.asm.WCFMLLoadingPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft

2014-05-12 15:48:08 [WARNING] [ForgeModLoader] The coremod appeng.transformer.AppEngCore does not have a MCVersion annotation, it may cause issues with this version of Minecraft

2014-05-12 15:48:08 [iNFO] [ForgeModLoader] [AppEng] Core Init

2014-05-12 15:48:08 [WARNING] [ForgeModLoader] The coremod biomesoplenty.asm.BOPFMLLoadingPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft

2014-05-12 15:48:13 [WARNING] [ForgeModLoader] The coremod calclavia.lib.CalclaviaPluginLoader does not have a MCVersion annotation, it may cause issues with this version of Minecraft

2014-05-12 15:48:13 [WARNING] [ForgeModLoader] The coremod codechicken.core.launch.CodeChickenCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft

2014-05-12 15:48:13 [WARNING] [ForgeModLoader] The coremod cofh.asm.LoadingPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft

2014-05-12 15:48:13 [WARNING] [ForgeModLoader] The coremod denoflionsx.denLib.CoreMod.denLibCore does not have a MCVersion annotation, it may cause issues with this version of Minecraft

2014-05-12 15:48:13 [WARNING] [ForgeModLoader] The coremod denoflionsx.DenPipes.Core.DenPipesCoreMod does not have a MCVersion annotation, it may cause issues with this version of Minecraft

2014-05-12 15:48:13 [WARNING] [ForgeModLoader] The coremod mcp.mobius.evoc.asm.CoreDescription does not have a MCVersion annotation, it may cause issues with this version of Minecraft

2014-05-12 15:48:13 [WARNING] [ForgeModLoader] The coremod ic2.core.coremod.IC2core does not have a MCVersion annotation, it may cause issues with this version of Minecraft

2014-05-12 15:48:13 [WARNING] [ForgeModLoader] The coremod invtweaks.forge.asm.FMLPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft

2

2014-05-12 15:48:22 [sEVERE] [ForgeModLoader] Unable to launch

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)

at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

Caused by: java.lang.NoClassDefFoundError: org/lwjgl/LWJGLException

at net.minecraft.client.main.Main.main(SourceFile:37)

... 6 more

Caused by: java.lang.ClassNotFoundException: org.lwjgl.LWJGLException

at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:423)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

at java.lang.ClassLoader.loadClass(ClassLoader.java:356)

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:102)

at java.lang.ClassLoader.loadClass(ClassLoader.java:423)

at java.lang.ClassLoader.loadClass(ClassLoader.java:356)

... 7 more

[i18n] Added 0 enUS to options pane

[i18n] Added 1 cyGB to options pane

[i18n] Added 2 daDK to options pane

[i18n] Added 3 deDE to options pane

[i18n] Added 4 esES to options pane

[i18n] Added 5 frFR to options pane

[i18n] Added 6 itIT to options pane

[i18n] Added 7 maHU to options pane

[i18n] Added 8 nlNL to options pane

[i18n] Added 9 ptBR to options pane

[i18n] Added 10 ptPT to options pane

[i18n] Added 11 ruRU to options pane

[i18n] Added 12 svSE to options pane

[i18n] enUS English language file loaded!

Posted

Please use the standard minecraft launcher or speak witht eh FTB team about why they are not launching MC correctly. It can't find the library needed for rendering.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

Please use the standard minecraft launcher or speak witht eh FTB team about why they are not launching MC correctly. It can't find the library needed for rendering.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hi here is an update. I was able to fix the code so my mod does not crash Minecraft. Please understand that I am new to modding but I honestly am having a hard time understanding how anyone can get this to work without having extensive programming and debugging experience as well as searching across the Internet, multiple gen AI bots (claude, grok, openai), and examining source code hidden in the gradle directory and in various github repositories. I guess I am wrong because clearly there are thousands of mods so maybe I am just a newbie. Ok, rant over, here is a step by step summary so others can save the 3 days it took me to figure this out.   1. First, I am using forge 54.1.0 and Minecraft 1.21.4 2. I am creating a mod to add a shotgun to Minecraft 3. After creating the mod and compiling it, I installed the .jar file to the proper directory in Minecraft and used 1.21.4-forge-54.1.0 4. The mod immediately crashed with the error: Caused by: java.lang.NullPointerException: Item id not set 5. Using the stack trace, I determined that the Exception was being thrown from the net.minecraft.world.item.Item.Properties class 6. It seems that there are no javadocs for this class, so I used IntelliJ which was able to provide a decompiled version of the class, which I then examined to see the source of the error. Side question: Are there javadocs? 7. This method, specifically, was the culprit: protected String effectiveDescriptionId() {      return this.descriptionId.get(Objects.requireNonNull(this.id, "Item id not set"));  } 8. Now my quest was to determine how to set this.id. Looking at the same source file, I determined there was another method:  public Item.Properties setId(ResourceKey<Item> pId) {             this.id = pId;             return this;   } 9. So now, I need to figure out how to call setId(). This required working backwards a bit. Starting from the constructor, I stubbed out the variable p which is of type Item.Properties public static final RegistryObject<Item> SHOTGUN = ITEMS.register("shotgun", () -> new ShotgunItem(p)); Rather than putting this all on one line, I split it up for readability like this: private static final Item.Properties p = new Item.Properties().useItemDescriptionPrefix().setId(rk); Here is was the missing function, setId(), which takes a type of ResourceKey<Item>. My next problem is that due to the apparent lack of documentation (I tried searching the docs on this site) I could not determine the full import path to ResourceKey. I did some random searching on the Internet and stumbled across a Github repository which gave two clues: import net.minecraft.resources.ResourceKey; import net.minecraft.resources.ResourceLocation; Then I created the rk variable like this: private static ResourceKey<Item> rk = ResourceKey.create(Registries.ITEM, ResourceLocation.parse("modid:shotgunmod")); And now putting it all together in order: private static ResourceKey<Item> rk = ResourceKey.create(Registries.ITEM, ResourceLocation.parse("modid:shotgunmod")); private static final Item.Properties p = new Item.Properties().useItemDescriptionPrefix().setId(rk); public static final RegistryObject<Item> SHOTGUN = ITEMS.register("shotgun", () -> new ShotgunItem(p)); This compiled and the mod no longer crashes. I still have more to do on it, but hopefully this will save someone hours. I welcome any feedback and if I missed some obvious modding resource or tutorial that has this information. If not, I might suggest we add it somewhere for people trying to write a mod that doesn't crash. Thank you !!!  
    • I will keep adding to this thread with more information in case anyone can help, or at the very least I can keep my troubleshooting organized. I decided to downgrade to 54.1.0 in the hopes that this would fix the issue but it didn't. At least now I am on a "recommended" version. The crash report did confirm my earlier post that the Exception is coming from effectiveDescriptionId(). I'll continue to see if I can find a way to set the ID manually.   Caused by: java.lang.NullPointerException: Item id not set         at java.base/java.util.Objects.requireNonNull(Objects.java:259) ~[?:?]         at TRANSFORMER/[email protected]/net.minecraft.world.item.Item$Properties.effectiveDescriptionId(Item.java:465) ~[forge-1.21.4-54.1.0-client.jar!/:?]         at TRANSFORMER/[email protected]/net.minecraft.world.item.Item.<init>(Item.java:111) ~[forge-1.21.4-54.1.0-client.jar!/:?]         at TRANSFORMER/[email protected]/com.example.shotgunmod.ShotgunItem.<init>(ShotgunItem.java:19) ~[shotgunmod-1.0.0.jar!/:1.0.0]         at TRANSFORMER/[email protected]/com.example.shotgunmod.ModItems.lambda$static$0(ModItems.java:15) ~[shotgunmod-1.0.0.jar!/:1.0.0]         at TRANSFORMER/[email protected]/net.minecraftforge.registries.DeferredRegister$EventDispatcher.lambda$handleEvent      
    • It just randomly stop working after a rebooted my dedicated server PLEASE HELP!   com.google.gson   Failed to start the minecraft server com.google.gson.JsonSyntaxException: Expected a com.google.gson.JsonObject but was com.google.gson.JsonPrimitive; at path $  
    • It was working perfectly fine last night but now I'm getting an exit code -1 with the textbox: The game crashed: rendering overlay Error: net.minecraftforge.fml.ModLoadingException: Supplementaries (supplementaries) encountered an error during the done event phase Here's the crash log: https://pastebin.com/KmesArYS Any help is apricated
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.