Jump to content

Recommended Posts

Posted

Forge crashes upon me when I'm trying to hook it in game ( ModLoader.setInGameHook(BaseMod, enable, useClock); )

Also when I'm trying to hook into gui ( ModLoader.setInGuiHook(BaseMod, enable, useClock); )

 

Log:

 

2012-08-15 21:33:47 [iNFO] [ForgeModLoader] Forge Mod Loader version 3.0.62.281 for Minecraft client:1.3.2, server:1.3.2 loading
2012-08-15 21:33:48 [iNFO] [sTDOUT] 27 achievements
2012-08-15 21:33:48 [iNFO] [sTDOUT] 195 recipes
2012-08-15 21:33:48 [iNFO] [sTDOUT] Setting user: Player634, -
2012-08-15 21:33:48 [iNFO] [sTDERR] Client asked for parameter: server
2012-08-15 21:33:48 [iNFO] [sTDOUT] LWJGL Version: 2.4.2
2012-08-15 21:33:49 [iNFO] [ForgeModLoader] Attempting early MinecraftForge initialization
2012-08-15 21:33:49 [iNFO] [ForgeModLoader] Completed early MinecraftForge initialization
2012-08-15 21:33:49 [iNFO] [ForgeModLoader] Searching C:\Users\Blu4Ever\Desktop\Steamcraft1.3.2\jars\mods for mods
2012-08-15 21:33:49 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 3 mods to load
2012-08-15 21:33:50 [sEVERE] [ForgeModLoader] Fatal errors were detected during the transition from CONSTRUCTING to PREINITIALIZATION. Loading cannot continue
2012-08-15 21:33:50 [sEVERE] [ForgeModLoader] 
mod_Steamcraft (bin) Unloaded->Errored
Forge Mod Loader (coremods) Unloaded->Constructed
Minecraft Forge (coremods) Unloaded->Constructed
2012-08-15 21:33:50 [sEVERE] [ForgeModLoader] The following problems were captured during this phase
2012-08-15 21:33:50 [sEVERE] [ForgeModLoader] Caught exception from mod_Steamcraft
2012-08-15 21:34:00 [iNFO] [sTDERR] cpw.mods.fml.common.LoaderException: java.lang.NullPointerException
2012-08-15 21:34:00 [iNFO] [sTDERR]  at cpw.mods.fml.common.LoadController.transition(LoadController.java:106)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at cpw.mods.fml.common.Loader.loadMods(Loader.java:421)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:192)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at net.minecraft.client.Minecraft.startGame(Minecraft.java:402)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at net.minecraft.client.Minecraft.run(Minecraft.java:734)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.lang.Thread.run(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR] Caused by: java.lang.NullPointerException
2012-08-15 21:34:00 [iNFO] [sTDERR]  at com.google.common.collect.ImmutableBiMap.copyOf(ImmutableBiMap.java:205)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at cpw.mods.fml.common.LoadController.getModObjectList(LoadController.java:194)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at cpw.mods.fml.common.Loader.getModObjectList(Loader.java:658)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at cpw.mods.fml.common.Loader.getReversedModObjectList(Loader.java:663)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at cpw.mods.fml.common.FMLCommonHandler.findContainerFor(FMLCommonHandler.java:149)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at cpw.mods.fml.common.modloader.ModLoaderHelper.findOrBuildModContainer(ModLoaderHelper.java:90)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at cpw.mods.fml.common.modloader.ModLoaderHelper.updateStandardTicks(ModLoaderHelper.java:45)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at net.minecraft.src.ModLoader.setInGameHook(ModLoader.java:751)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at net.minecraft.src.mod_Steamcraft.<init>(mod_Steamcraft.java:226)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.lang.reflect.Constructor.newInstance(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.lang.Class.newInstance0(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.lang.Class.newInstance(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at cpw.mods.fml.common.modloader.ModLoaderModContainer.constructMod(ModLoaderModContainer.java:500)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.lang.reflect.Method.invoke(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at com.google.common.eventbus.EventBus.post(EventBus.java:268)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:127)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.lang.reflect.Method.invoke(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at com.google.common.eventbus.EventBus.post(EventBus.java:268)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:85)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at cpw.mods.fml.common.Loader.loadMods(Loader.java:420)
2012-08-15 21:34:00 [iNFO] [sTDERR]  ... 4 more
2012-08-15 21:34:00 [iNFO] [sTDERR] Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: component argument pData
2012-08-15 21:34:00 [iNFO] [sTDERR]  at sun.java2d.windows.GDIWindowSurfaceData.initOps(Native Method)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at sun.java2d.windows.GDIWindowSurfaceData.<init>(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at sun.java2d.windows.GDIWindowSurfaceData.createData(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at sun.java2d.d3d.D3DScreenUpdateManager.getGdiSurface(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at sun.java2d.d3d.D3DScreenUpdateManager.createGraphics(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at sun.awt.windows.WComponentPeer.getGraphics(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.awt.Component.getGraphics(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at sun.awt.RepaintArea.paint(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.awt.Component.dispatchEventImpl(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.awt.Component.dispatchEvent(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.awt.EventQueue.access$000(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.awt.EventQueue$3.run(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.awt.EventQueue$3.run(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.security.AccessController.doPrivileged(Native Method)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.awt.EventQueue$4.run(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.awt.EventQueue$4.run(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.security.AccessController.doPrivileged(Native Method)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.awt.EventQueue.dispatchEvent(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
2012-08-15 21:34:00 [iNFO] [sTDERR]  at java.awt.EventDispatchThread.run(Unknown Source)
2012-08-15 21:35:56 [iNFO] [sTDERR] Someone is closing me!

 

 

It may be wrong with my code. but I have no idea at this point, because it comes from com.google / cpw.mod.fml.common.* ...

Posted

You appear to be registering for ModLoader.setInGameHook in the constructor of your mod somehow. I would suggest not doing that. Maybe use "load" instead.

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

    • I wanted to make a horror CurseForge modpack, but my game crashed when I try to play it! Does anyone know what to do? I've looked at other forums with the same problem, but I didn't understand what the replies were talking about. I also checked the log, did everything it said, but still, it didn't work. I am playing on 1.20.1 Forge. This is my first time using Forge. I've also made another Forge modpack test, but that didn't work, and I tried it with a NeoForge modpack test, too, but that didn't work either. Fabric works fine, though. Please help. # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffb0c676280, pid=30812, tid=27596 # # JRE version: OpenJDK Runtime Environment Microsoft-8035246 (17.0.8+7) (build 17.0.8+7-LTS) # Java VM: OpenJDK 64-Bit Server VM Microsoft-8035246 (17.0.8+7-LTS, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64) # Problematic frame: # C [atio6axx.dll+0x196280] # # No core dump will be written. Minidumps are not enabled by default on client versions of Windows # # If you would like to submit a bug report, please visit: # https://aka.ms/minecraftjavacrashes # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # Remember: 1. I am using CurseForge 2. I am on 1.20.1 3. I am on Forge 4. Tried the log methods   If you have any details I need to show, please tell me.
    • Server has been running fine until a restart today, at which point it crashes partway through load. I've tried swapping out the modpack to a fresh server and it boots fine, but if I bring in the world file it causes the crash so I'm guessing something is wrong in there but I have no idea how to read and understand these logs, so any advice on what to do next would be helpful, thanks! Here's the log: https://api.mclo.gs/1/raw/jYzFXVR
    • And without betterfortresses?
    • as I understand it, it helped, but a strange error happened again- https://pastes.io/minecraft-crash-6 The game crashed: feature placement Error: java.lang.IllegalArgumentException: Cannot set property DirectionProperty{name=facing, clazz=class net.minecraft.core.Direction, values=[north, south, west, east]} to down on Block{minecraft:dark_oak_button}, it is not an allowed value
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

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