Jump to content

Recommended Posts

Posted

for some reason forge doesnt seem to be finding the class file for my mod and im not understanding why since the file path is what it should be. i have tried 4 different paths to make sure and neither of them worked.

the paths i have tried are:

C:\Users\saxon564\AppData\Roaming\.minecraft\mods\betterFarming\common\betterFarming.CLASS

C:\Users\saxon564\AppData\Roaming\.minecraft\mods\betterFarming.zip\betterFarming\common\betterFarming.CLASS

C:\Users\saxon564\AppData\Roaming\.minecraft\mods\betterFarming.zip\common\betterFarming.CLASS

C:\Users\saxon564\AppData\Roaming\.minecraft\mods\betterFarming\betterFarming\common\betterFarming.CLASS

 

the client crashes everytime i run it with the mod in the folder. would anyone be able to shed some light on this?

 

Minecraft crash report:

 

 

---- Minecraft Crash Report ----

// I let you down. Sorry :(

 

Time: 4/8/13 11:21 PM

Description: Failed to start game

 

cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: mods.betterFarming.common.betterFarming

at cpw.mods.fml.common.LoadController.transition(LoadController.java:142)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:512)

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:160)

at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:407)

at net.minecraft.client.MinecraftAppletImpl.func_71384_a(SourceFile:56)

at net.minecraft.client.Minecraft.run(Minecraft.java:729)

at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.ClassNotFoundException: mods.betterFarming.common.betterFarming

at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:211)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:56)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:446)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:502)

... 5 more

Caused by: java.lang.NullPointerException

at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:200)

... 32 more

 

 

A detailed walkthrough of the error, its code path and all known details is as follows:

---------------------------------------------------------------------------------------

 

-- System Details --

Details:

Minecraft Version: 1.5.1

Operating System: Windows 7 (amd64) version 6.1

Java Version: 1.7.0_07, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 396930432 bytes (378 MB) / 648740864 bytes (618 MB) up to 954466304 bytes (910 MB)

JVM Flags: 2 total; -Xms512m -Xmx1024m

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

Suspicious classes: FML and Forge are installed

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML: MCP v7.44 FML v5.1.8.608 Minecraft Forge 7.7.0.608 Optifine OptiFine_1.5.1_HD_U_B1 6 mods loaded, 6 mods active

mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed

FML [Forge Mod Loader] (coremods) Unloaded->Constructed

Forge [Minecraft Forge] (coremods) Unloaded->Constructed

betterFarming [better Farming] (betterFarming.zip) Unloaded->Errored

Minemaarten_Minesweeper Mod [Minesweeper Mod] (Minesweeper Mod 1.3.0.zip) Unloaded->Constructed

Minemaarten_Sokoban Mod [sokoban Mod] (Sokoban Mod 0.1.3.zip) Unloaded->Constructed

LWJGL: 2.4.2

OpenGL: Intel® HD Graphics 4000 GL version 3.3.0 - Build 8.15.10.2712, Intel

Is Modded: Definitely; Client brand changed to 'forge,fml'

Type: Client (map_client.txt)

Texture Pack: Dokucraft TSC High 1.5.1.zip

Profiler Position: N/A (disabled)

Vec3 Pool Size: ~~ERROR~~ NullPointerException: null

 

 

 

forge log

 

 

2013-04-08 23:21:07 [iNFO] [ForgeModLoader] Forge Mod Loader version 5.1.8.608 for Minecraft 1.5.1 loading

2013-04-08 23:21:07 [iNFO] [ForgeModLoader] Java is Java HotSpot 64-Bit Server VM, version 1.7.0_07, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7

2013-04-08 23:21:07 [FINE] [ForgeModLoader] Java classpath at launch is C:\Users\Zak\Desktop\shotcuts\Minecraft.exe

2013-04-08 23:21:07 [FINE] [ForgeModLoader] Java library path at launch is C:\Program Files\Java\jre7\bin;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\Program Files\Intel\Intel® Management Engine Components\DAL;C:\Program Files\Intel\Intel® Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel® Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel® Management Engine Components\IPT;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Windows Live\Shared;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files (x86)\Autodesk\Backburner\;C:\Program Files (x86)\Lua\5.1;C:\Program Files (x86)\Lua\5.1\clibs;C:\Program Files\Java\jre7\bin;.

2013-04-08 23:21:07 [FINE] [ForgeModLoader] Enabling runtime deobfuscation

2013-04-08 23:21:07 [FINEST] [ForgeModLoader] All core mods are successfully located

2013-04-08 23:21:07 [FINEST] [ForgeModLoader] Discovering coremods

2013-04-08 23:21:07 [FINEST] [ForgeModLoader] Found library file argo-small-3.2.jar present and correct in lib dir

2013-04-08 23:21:07 [FINEST] [ForgeModLoader] Found library file guava-14.0-rc3.jar present and correct in lib dir

2013-04-08 23:21:07 [FINEST] [ForgeModLoader] Found library file asm-all-4.1.jar present and correct in lib dir

2013-04-08 23:21:08 [FINEST] [ForgeModLoader] Found library file bcprov-jdk15on-148.jar present and correct in lib dir

2013-04-08 23:21:08 [FINEST] [ForgeModLoader] Found library file deobfuscation_data_1.5.1.zip present and correct in lib dir

2013-04-08 23:21:08 [FINEST] [ForgeModLoader] Found library file scala-library.jar present and correct in lib dir

2013-04-08 23:21:08 [FINEST] [ForgeModLoader] Running coremod plugins

2013-04-08 23:21:08 [FINEST] [ForgeModLoader] Running coremod plugin FMLCorePlugin

2013-04-08 23:21:08 [sEVERE] [ForgeModLoader] FML appears to be missing any signature data. This is not a good thing

2013-04-08 23:21:08 [FINEST] [ForgeModLoader] Coremod plugin FMLCorePlugin run successfully

2013-04-08 23:21:08 [FINEST] [ForgeModLoader] Running coremod plugin FMLForgePlugin

2013-04-08 23:21:08 [FINEST] [ForgeModLoader] Coremod plugin FMLForgePlugin run successfully

2013-04-08 23:21:08 [FINEST] [ForgeModLoader] Validating minecraft

2013-04-08 23:21:09 [FINEST] [ForgeModLoader] Minecraft validated, launching...

2013-04-08 23:21:11 [iNFO] [sTDOUT] 229 recipes

2013-04-08 23:21:11 [iNFO] [sTDOUT] 27 achievements

2013-04-08 23:21:11 [iNFO] [Minecraft-Client] Setting user: saxon564

2013-04-08 23:21:11 [iNFO] [sTDOUT] (Session ID is e6169877f4d6df820c7a9120b4393edb042ec0eb)

2013-04-08 23:21:11 [iNFO] [Minecraft-Client] LWJGL Version: 2.4.2

2013-04-08 23:21:12 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization

2013-04-08 23:21:12 [iNFO] [sTDOUT] MinecraftForge v7.7.0.608 Initialized

2013-04-08 23:21:12 [iNFO] [ForgeModLoader] MinecraftForge v7.7.0.608 Initialized

2013-04-08 23:21:13 [iNFO] [sTDOUT] Replaced 85 ore recipies

2013-04-08 23:21:13 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization

2013-04-08 23:21:13 [iNFO] [ForgeModLoader] Forge Mod Loader has detected optifine OptiFine_1.5.1_HD_U_B1, enabling compatibility features

2013-04-08 23:21:13 [iNFO] [ForgeModLoader] Reading custom logging properties from C:\Users\Zak\AppData\Roaming\.minecraft\config\logging.properties

2013-04-08 23:21:13 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL

2013-04-08 23:21:13 [FINE] [ForgeModLoader] Building injected Mod Containers [cpw.mods.fml.common.FMLDummyContainer, net.minecraftforge.common.ForgeDummyContainer]

2013-04-08 23:21:13 [FINE] [ForgeModLoader] Attempting to load mods contained in the minecraft jar file and associated classes

2013-04-08 23:21:13 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Zak\AppData\Roaming\.minecraft\bin\lwjgl.jar

2013-04-08 23:21:13 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Zak\AppData\Roaming\.minecraft\bin\jinput.jar

2013-04-08 23:21:13 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Zak\AppData\Roaming\.minecraft\bin\lwjgl_util.jar

2013-04-08 23:21:13 [FINE] [ForgeModLoader] Found a minecraft related file at C:\Users\Zak\AppData\Roaming\.minecraft\bin\minecraft.jar, examining for mod candidates

2013-04-08 23:21:13 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Zak\AppData\Roaming\.minecraft\lib\argo-small-3.2.jar

2013-04-08 23:21:13 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Zak\AppData\Roaming\.minecraft\lib\guava-14.0-rc3.jar

2013-04-08 23:21:13 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Zak\AppData\Roaming\.minecraft\lib\asm-all-4.1.jar

2013-04-08 23:21:13 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Zak\AppData\Roaming\.minecraft\lib\bcprov-jdk15on-148.jar

2013-04-08 23:21:13 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Zak\AppData\Roaming\.minecraft\lib\deobfuscation_data_1.5.1.zip

2013-04-08 23:21:13 [FINER] [ForgeModLoader] Skipping known library file C:\Users\Zak\AppData\Roaming\.minecraft\lib\scala-library.jar

2013-04-08 23:21:13 [FINE] [ForgeModLoader] Minecraft jar mods loaded successfully

2013-04-08 23:21:13 [iNFO] [ForgeModLoader] Searching C:\Users\Zak\AppData\Roaming\.minecraft\mods for mods

2013-04-08 23:21:13 [FINE] [ForgeModLoader] Ignoring unknown file __rzi_0.456 in mods directory

2013-04-08 23:21:13 [FINE] [ForgeModLoader] Found a candidate zip or jar file betterFarming.zip

2013-04-08 23:21:13 [FINE] [ForgeModLoader] Found a candidate zip or jar file Minesweeper Mod 1.3.0.zip

2013-04-08 23:21:13 [FINE] [ForgeModLoader] Found a candidate zip or jar file OptiFine_1.5.1_HD_U_B1.zip

2013-04-08 23:21:13 [FINE] [ForgeModLoader] Found a candidate zip or jar file Sokoban Mod 0.1.3.zip

2013-04-08 23:21:13 [FINE] [ForgeModLoader] Found a candidate mod directory spc

2013-04-08 23:21:13 [FINE] [ForgeModLoader] Examining file minecraft.jar for potential mods

2013-04-08 23:21:13 [FINE] [ForgeModLoader] The mod container minecraft.jar appears to be missing an mcmod.info file

2013-04-08 23:21:13 [FINE] [ForgeModLoader] Examining file betterFarming.zip for potential mods

2013-04-08 23:21:13 [FINE] [ForgeModLoader] The mod container betterFarming.zip appears to be missing an mcmod.info file

2013-04-08 23:21:13 [FINE] [ForgeModLoader] Identified an FMLMod type mod mods.betterFarming.common.betterFarming

2013-04-08 23:21:13 [FINEST] [betterFarming] Parsed dependency info : [] [] []

2013-04-08 23:21:13 [FINE] [ForgeModLoader] Examining file Minesweeper Mod 1.3.0.zip for potential mods

2013-04-08 23:21:13 [FINER] [ForgeModLoader] Located mcmod.info file in file Minesweeper Mod 1.3.0.zip

2013-04-08 23:21:13 [FINE] [ForgeModLoader] Identified an FMLMod type mod minesweeperMod.common.minesweeperMod

2013-04-08 23:21:13 [FINEST] [Minemaarten_Minesweeper Mod] Parsed dependency info : [] [] []

2013-04-08 23:21:13 [FINE] [ForgeModLoader] Examining file OptiFine_1.5.1_HD_U_B1.zip for potential mods

2013-04-08 23:21:13 [FINE] [ForgeModLoader] The mod container OptiFine_1.5.1_HD_U_B1.zip appears to be missing an mcmod.info file

2013-04-08 23:21:13 [FINE] [ForgeModLoader] Examining file Sokoban Mod 0.1.3.zip for potential mods

2013-04-08 23:21:13 [FINE] [ForgeModLoader] The mod container Sokoban Mod 0.1.3.zip appears to be missing an mcmod.info file

2013-04-08 23:21:13 [FINE] [ForgeModLoader] Identified an FMLMod type mod sokobanMod.common.SokobanMod

2013-04-08 23:21:13 [FINEST] [Minemaarten_Sokoban Mod] Parsed dependency info : [] [] []

2013-04-08 23:21:13 [FINE] [ForgeModLoader] Examining directory spc for potential mods

2013-04-08 23:21:13 [FINE] [ForgeModLoader] No mcmod.info file found in directory spc

2013-04-08 23:21:13 [FINEST] [ForgeModLoader] Recursing into package macros

2013-04-08 23:21:13 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 6 mods to load

2013-04-08 23:21:13 [FINER] [ForgeModLoader] Received a system property request ''

2013-04-08 23:21:14 [FINER] [ForgeModLoader] System property request managing the state of 0 mods

2013-04-08 23:21:14 [FINE] [ForgeModLoader] After merging, found state information for 0 mods

2013-04-08 23:21:14 [FINE] [ForgeModLoader] Reloading logging properties from C:\Users\Zak\AppData\Roaming\.minecraft\config\logging.properties

2013-04-08 23:21:14 [FINE] [ForgeModLoader] Reloaded logging properties

2013-04-08 23:21:14 [FINE] [mcp] Mod Logging channel mcp configured at default level.

2013-04-08 23:21:14 [iNFO] [mcp] Activating mod mcp

2013-04-08 23:21:14 [FINE] [FML] Mod Logging channel FML configured at default level.

2013-04-08 23:21:14 [iNFO] [FML] Activating mod FML

2013-04-08 23:21:14 [FINE] [Forge] Mod Logging channel Forge configured at default level.

2013-04-08 23:21:14 [iNFO] [Forge] Activating mod Forge

2013-04-08 23:21:14 [FINE] [betterFarming] Enabling mod betterFarming

2013-04-08 23:21:14 [FINE] [betterFarming] Mod Logging channel betterFarming configured at default level.

2013-04-08 23:21:14 [iNFO] [betterFarming] Activating mod betterFarming

2013-04-08 23:21:14 [FINE] [Minemaarten_Minesweeper Mod] Enabling mod Minemaarten_Minesweeper Mod

2013-04-08 23:21:14 [FINE] [Minemaarten_Minesweeper Mod] Mod Logging channel Minemaarten_Minesweeper Mod configured at default level.

2013-04-08 23:21:14 [iNFO] [Minemaarten_Minesweeper Mod] Activating mod Minemaarten_Minesweeper Mod

2013-04-08 23:21:14 [FINE] [Minemaarten_Sokoban Mod] Enabling mod Minemaarten_Sokoban Mod

2013-04-08 23:21:14 [FINE] [Minemaarten_Sokoban Mod] Mod Logging channel Minemaarten_Sokoban Mod configured at default level.

2013-04-08 23:21:14 [iNFO] [Minemaarten_Sokoban Mod] Activating mod Minemaarten_Sokoban Mod

2013-04-08 23:21:14 [FINER] [ForgeModLoader] Verifying mod requirements are satisfied

2013-04-08 23:21:14 [FINER] [ForgeModLoader] All mod requirements are satisfied

2013-04-08 23:21:14 [FINER] [ForgeModLoader] Sorting mods into an ordered list

2013-04-08 23:21:14 [FINER] [ForgeModLoader] Mod sorting completed successfully

2013-04-08 23:21:14 [FINE] [ForgeModLoader] Mod sorting data

2013-04-08 23:21:14 [FINE] [ForgeModLoader] betterFarming(Better Farming:1.0): betterFarming.zip ()

2013-04-08 23:21:14 [FINE] [ForgeModLoader] Minemaarten_Minesweeper Mod(Minesweeper Mod:1.3.0): Minesweeper Mod 1.3.0.zip ()

2013-04-08 23:21:14 [FINE] [ForgeModLoader] Minemaarten_Sokoban Mod(Sokoban Mod:0.1.3): Sokoban Mod 0.1.3.zip ()

2013-04-08 23:21:14 [iNFO] [ForgeModLoader] FML has found a non-mod file OptiFine_1.5.1_HD_U_B1.zip in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.

2013-04-08 23:21:14 [FINEST] [mcp] Sending event FMLConstructionEvent to mod mcp

2013-04-08 23:21:14 [FINEST] [mcp] Sent event FMLConstructionEvent to mod mcp

2013-04-08 23:21:14 [FINEST] [FML] Sending event FMLConstructionEvent to mod FML

2013-04-08 23:21:14 [FINEST] [FML] Sent event FMLConstructionEvent to mod FML

2013-04-08 23:21:14 [FINEST] [Forge] Sending event FMLConstructionEvent to mod Forge

2013-04-08 23:21:14 [FINEST] [Forge] Sent event FMLConstructionEvent to mod Forge

2013-04-08 23:21:14 [FINEST] [betterFarming] Sending event FMLConstructionEvent to mod betterFarming

2013-04-08 23:21:14 [FINEST] [betterFarming] Sent event FMLConstructionEvent to mod betterFarming

2013-04-08 23:21:14 [FINEST] [Minemaarten_Minesweeper Mod] Sending event FMLConstructionEvent to mod Minemaarten_Minesweeper Mod

2013-04-08 23:21:14 [FINEST] [ForgeModLoader] Testing mod Minemaarten_Minesweeper Mod to verify it accepts its own version in a remote connection

2013-04-08 23:21:14 [FINEST] [ForgeModLoader] The mod Minemaarten_Minesweeper Mod accepts its own version (1.3.0)

2013-04-08 23:21:14 [FINE] [ForgeModLoader] Attempting to inject @SidedProxy classes into Minemaarten_Minesweeper Mod

2013-04-08 23:21:14 [FINEST] [Minemaarten_Minesweeper Mod] Sent event FMLConstructionEvent to mod Minemaarten_Minesweeper Mod

2013-04-08 23:21:14 [FINEST] [Minemaarten_Sokoban Mod] Sending event FMLConstructionEvent to mod Minemaarten_Sokoban Mod

2013-04-08 23:21:14 [FINEST] [ForgeModLoader] Testing mod Minemaarten_Sokoban Mod to verify it accepts its own version in a remote connection

2013-04-08 23:21:14 [FINEST] [ForgeModLoader] The mod Minemaarten_Sokoban Mod accepts its own version (0.1.3)

2013-04-08 23:21:14 [FINE] [ForgeModLoader] Attempting to inject @SidedProxy classes into Minemaarten_Sokoban Mod

2013-04-08 23:21:14 [FINEST] [Minemaarten_Sokoban Mod] Sent event FMLConstructionEvent to mod Minemaarten_Sokoban Mod

2013-04-08 23:21:14 [FINE] [ForgeModLoader] Mod signature data

2013-04-08 23:21:14 [FINE] [ForgeModLoader] mcp(Minecraft Coder Pack:7.44): minecraft.jar (NO VALID CERTIFICATE FOUND)

2013-04-08 23:21:14 [FINE] [ForgeModLoader] FML(Forge Mod Loader:5.1.8.608): coremods (NO VALID CERTIFICATE FOUND)

2013-04-08 23:21:14 [FINE] [ForgeModLoader] Forge(Minecraft Forge:7.7.0.608): coremods (NO VALID CERTIFICATE FOUND)

2013-04-08 23:21:14 [FINE] [ForgeModLoader] betterFarming(Better Farming:1.0): betterFarming.zip (NO VALID CERTIFICATE FOUND)

2013-04-08 23:21:14 [FINE] [ForgeModLoader] Minemaarten_Minesweeper Mod(Minesweeper Mod:1.3.0): Minesweeper Mod 1.3.0.zip (NO VALID CERTIFICATE FOUND)

2013-04-08 23:21:14 [FINE] [ForgeModLoader] Minemaarten_Sokoban Mod(Sokoban Mod:0.1.3): Sokoban Mod 0.1.3.zip (NO VALID CERTIFICATE FOUND)

2013-04-08 23:21:14 [sEVERE] [ForgeModLoader] Fatal errors were detected during the transition from CONSTRUCTING to PREINITIALIZATION. Loading cannot continue

2013-04-08 23:21:14 [sEVERE] [ForgeModLoader]

mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed

FML [Forge Mod Loader] (coremods) Unloaded->Constructed

Forge [Minecraft Forge] (coremods) Unloaded->Constructed

betterFarming [better Farming] (betterFarming.zip) Unloaded->Errored

Minemaarten_Minesweeper Mod [Minesweeper Mod] (Minesweeper Mod 1.3.0.zip) Unloaded->Constructed

Minemaarten_Sokoban Mod [sokoban Mod] (Sokoban Mod 0.1.3.zip) Unloaded->Constructed

2013-04-08 23:21:14 [sEVERE] [ForgeModLoader] The following problems were captured during this phase

2013-04-08 23:21:14 [sEVERE] [ForgeModLoader] Caught exception from betterFarming

java.lang.ClassNotFoundException: mods.betterFarming.common.betterFarming

at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:211)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:56)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:446)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:502)

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:160)

at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:407)

at net.minecraft.client.MinecraftAppletImpl.func_71384_a(SourceFile:56)

at net.minecraft.client.Minecraft.run(Minecraft.java:729)

at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.NullPointerException

at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:200)

... 32 more

2013-04-08 23:21:24 [iNFO] [sTDERR] cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: mods.betterFarming.common.betterFarming

2013-04-08 23:21:24 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.transition(LoadController.java:142)

2013-04-08 23:21:24 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.loadMods(Loader.java:512)

2013-04-08 23:21:24 [iNFO] [sTDERR] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:160)

2013-04-08 23:21:24 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:407)

2013-04-08 23:21:24 [iNFO] [sTDERR] at net.minecraft.client.MinecraftAppletImpl.func_71384_a(SourceFile:56)

2013-04-08 23:21:24 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:729)

2013-04-08 23:21:24 [iNFO] [sTDERR] at java.lang.Thread.run(Unknown Source)

2013-04-08 23:21:24 [iNFO] [sTDERR] Caused by: java.lang.ClassNotFoundException: mods.betterFarming.common.betterFarming

2013-04-08 23:21:24 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:211)

2013-04-08 23:21:24 [iNFO] [sTDERR] at java.lang.ClassLoader.loadClass(Unknown Source)

2013-04-08 23:21:24 [iNFO] [sTDERR] at java.lang.ClassLoader.loadClass(Unknown Source)

2013-04-08 23:21:24 [iNFO] [sTDERR] at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:56)

2013-04-08 23:21:24 [iNFO] [sTDERR] at java.lang.Class.forName0(Native Method)

2013-04-08 23:21:24 [iNFO] [sTDERR] at java.lang.Class.forName(Unknown Source)

2013-04-08 23:21:24 [iNFO] [sTDERR] at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:446)

2013-04-08 23:21:24 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2013-04-08 23:21:24 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2013-04-08 23:21:24 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2013-04-08 23:21:24 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source)

2013-04-08 23:21:24 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

2013-04-08 23:21:24 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2013-04-08 23:21:24 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

2013-04-08 23:21:24 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

2013-04-08 23:21:24 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:267)

2013-04-08 23:21:24 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)

2013-04-08 23:21:24 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2013-04-08 23:21:24 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2013-04-08 23:21:24 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2013-04-08 23:21:24 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source)

2013-04-08 23:21:24 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

2013-04-08 23:21:24 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2013-04-08 23:21:24 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

2013-04-08 23:21:24 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

2013-04-08 23:21:24 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:267)

2013-04-08 23:21:24 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)

2013-04-08 23:21:24 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.loadMods(Loader.java:502)

2013-04-08 23:21:24 [iNFO] [sTDERR] ... 5 more

2013-04-08 23:21:24 [iNFO] [sTDERR] Caused by: java.lang.NullPointerException

2013-04-08 23:21:24 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:200)

2013-04-08 23:21:24 [iNFO] [sTDERR] ... 32 more

 

 

 

class code:

 

 

package mods.betterFarming.common;

import mods.betterFarming.client.clientProxybetterFarming;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.item.EnumToolMaterial;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.Configuration;
import net.minecraftforge.common.EnumHelper;
import net.minecraftforge.common.MinecraftForge;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.Init;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.Mod.PreInit;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.network.NetworkMod;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;

@Mod(modid = "betterFarming", name = "Better Farming", version = "1.0")
@NetworkMod(clientSideRequired = true, serverSideRequired = false)

public class betterFarming {

@SidedProxy(clientSide = "mods.betterFarming.client.clientProxybetterFarming",
			serverSide = "mods.betterFarming.common.CommonProxyBetterFarming")
public static clientProxybetterFarming proxy;
@Instance(value = " Saxon654's Better Farming Mod")

public static EnumToolMaterial TITANIUM = EnumHelper.addToolMaterial("TITANIUM", 3, 2000, 10.0F, 1, 10);

public static Block wheatBlock;
public static Block titaniumOre;
public static Item titaniumIngot;
public static Block titaniumBlock;
public static Item titaniumApple;
public static Item hoeExtender;
public static Item hoeDiamondExtended;
public static Item hoeWoodExtended;
public static Item hoeStoneExtended;
public static Item hoeIronExtended;
public static Item hoeGoldExtended;
public static Item hoeTitaniumExtended;
public static Item hoeTitanium;

int wheatBlockID;
int titaniumOreID;
int titaniumBlockID;

int titaniumIngotID;
int titaniumAppleID;
int hoeExtenderID;
int hoeDiamondExtendedID;
int hoeWoodExtendedID;
int hoeStoneExtendedID;
int hoeIronExtendedID;
int hoeGoldExtendedID;
int hoeTitaniumExtendedID;
int hoeTitaniumID;

@PreInit
public void preInit(FMLPreInitializationEvent event) {

	Configuration config = new Configuration(event.getSuggestedConfigurationFile());

	wheatBlockID = config.get("Block IDs", "Wheat Block ID", 500).getInt();
	titaniumOreID = config.get("Block IDs", "Titanium Ore ID", 501).getInt();
	titaniumBlockID = config.get("Block IDs", "Titanium Block ID", 503).getInt();

	titaniumIngotID = config.get("Item IDs", "Titanium Ingot ID", 502).getInt();
	titaniumAppleID = config.get("Item IDs", "Titanium Apple ID", 504).getInt();
	hoeExtenderID = config.get("Item IDs", "Hoe Extender ID", 505).getInt();
	hoeDiamondExtendedID = config.get("Item IDs", "Extended Diamond Hoe ID", 506).getInt();
	hoeWoodExtendedID = config.get("Item IDs", "Extended Wood Hoe ID", 507).getInt();
	hoeStoneExtendedID = config.get("Item IDs", "Extended Stone Hoe ID", 508).getInt();
	hoeIronExtendedID = config.get("Item IDs", "Extended Iron Hoe ID", 509).getInt();
	hoeGoldExtendedID = config.get("Item IDs", "Extended Gold Hoe ID", 510).getInt();
	hoeTitaniumExtendedID = config.get("Item IDs", "Extended Titanium Hoe ID", 511).getInt();
	hoeTitaniumID = config.get("Item IDs", "Titanium Hoe ID", 512).getInt();

	config.save();

}

@Init
public void load(FMLInitializationEvent event){

	wheatBlock = new BlockWheatBlock(wheatBlockID, Material.plants).setUnlocalizedName("wheatblock").setStepSound(Block.soundGrassFootstep);
	titaniumOre = new BlockTitaniumOre(titaniumOreID, Material.iron).setUnlocalizedName("titaniumore").setStepSound(Block.soundStoneFootstep).setHardness(20.0F);
	titaniumBlock = new BlockBlockTitanium(titaniumBlockID, Material.iron).setUnlocalizedName("titaniumblock").setStepSound(Block.soundStoneFootstep).setHardness(20.0F);

	titaniumIngot = new itemTitaniumIngot(titaniumIngotID).setUnlocalizedName("Titanium Ingot");
	titaniumApple = new itemBetterFarmingFood(titaniumAppleID, 5, 2.0F, false).setUnlocalizedName("Titanium Apple");
	hoeExtender = new itemHoeExtender(hoeExtenderID).setUnlocalizedName("Hoe Extender");
	hoeDiamondExtended = new itemHoeDiamondExtended(hoeDiamondExtendedID, EnumToolMaterial.EMERALD).setUnlocalizedName("Hoe Diamond Extended");
	hoeWoodExtended = new itemHoeWoodExtended(hoeWoodExtendedID, EnumToolMaterial.WOOD).setUnlocalizedName("Hoe Wood Extended");
	hoeStoneExtended = new itemHoeStoneExtended(hoeStoneExtendedID, EnumToolMaterial.STONE).setUnlocalizedName("Hoe Stone Extended");
	hoeIronExtended = new itemHoeIronExtended(hoeIronExtendedID, EnumToolMaterial.IRON).setUnlocalizedName("Hoe Iron Extended");
	hoeGoldExtended = new itemHoeGoldExtended(hoeGoldExtendedID, EnumToolMaterial.GOLD).setUnlocalizedName("Hoe Gold Extended");
	hoeTitaniumExtended = new itemHoeTitaniumExtended(hoeTitaniumExtendedID, TITANIUM).setUnlocalizedName("Hoe Titanium Extended");
	hoeTitanium = new itemHoeTitanium(hoeTitaniumID, TITANIUM).setUnlocalizedName("Hoe Titanium");

	gameRegisters();
	languageRegisters();
	craftingRecipes();
	smeltingRecipes();

	proxy.registerRenders();

	GameRegistry.registerWorldGenerator(new WorldGeneratorBetterFarming());

}

public void smeltingRecipes() {

	GameRegistry.addSmelting(titaniumOreID, new ItemStack(titaniumIngot, 1), 1F);

}

public void craftingRecipes() {
	GameRegistry.addRecipe(new ItemStack(wheatBlock), new Object[]{ "WWW", "WWWW", "WWW", 'W', Item.wheat});
	GameRegistry.addRecipe(new ItemStack(Item.wheat, 9), new Object[]{ "W", 'W', wheatBlock});
	GameRegistry.addRecipe(new ItemStack(titaniumBlock), new Object[]{ "WWW", "WWWW", "WWW", 'W', titaniumIngot});
	GameRegistry.addRecipe(new ItemStack(titaniumIngot, 9), new Object[]{ "W", 'W', titaniumBlock});
	GameRegistry.addRecipe(new ItemStack(hoeExtender, 1), new Object[]{ "WWW", "WDW", "WWW", 'D', Item.diamond, 'W', titaniumIngot});
	GameRegistry.addRecipe(new ItemStack(hoeTitanium, 1), new Object[]{ " WW", " D ", " D ", 'D', Item.stick, 'W', titaniumIngot});


	GameRegistry.addShapelessRecipe(new ItemStack(hoeDiamondExtended, 1), new Object[]{ Item.hoeDiamond, hoeExtender});
	GameRegistry.addShapelessRecipe(new ItemStack(hoeWoodExtended, 1), new Object[]{ Item.hoeWood, hoeExtender});
	GameRegistry.addShapelessRecipe(new ItemStack(hoeStoneExtended, 1), new Object[]{ Item.hoeStone, hoeExtender});
	GameRegistry.addShapelessRecipe(new ItemStack(hoeIronExtended, 1), new Object[]{ Item.hoeSteel, hoeExtender});
	GameRegistry.addShapelessRecipe(new ItemStack(hoeGoldExtended, 1), new Object[]{ Item.hoeGold, hoeExtender});
	GameRegistry.addShapelessRecipe(new ItemStack(hoeTitaniumExtended, 1), new Object[]{ hoeTitanium, hoeExtender});
}

private static void gameRegisters() {
	GameRegistry.registerBlock(wheatBlock, "hayBale");
	GameRegistry.registerBlock(titaniumOre, "titaniumOre");
	GameRegistry.registerBlock(titaniumBlock, "titaniumBlock");

	GameRegistry.registerItem(titaniumIngot, "titaniumIngot");
	GameRegistry.registerItem(titaniumApple, "titaniumApple");
	GameRegistry.registerItem(hoeExtender, "hoeExtender");
	GameRegistry.registerItem(hoeDiamondExtended, "hoeDiamondExtended");
	GameRegistry.registerItem(hoeWoodExtended, "hoeWoodExtended");
	GameRegistry.registerItem(hoeStoneExtended, "hoeStoneExtended");
	GameRegistry.registerItem(hoeIronExtended, "hoeIronExtended");
	GameRegistry.registerItem(hoeGoldExtended, "hoeGoldExtended");
	GameRegistry.registerItem(hoeTitaniumExtended, "hoeTitaniumExtended");
	GameRegistry.registerItem(hoeTitanium, "hoeTitanium");
}

private static void languageRegisters() {
	LanguageRegistry.addName(wheatBlock, "Hay Bale");
	LanguageRegistry.addName(titaniumOre, "Titanium Ore");
	LanguageRegistry.addName(titaniumBlock, "Block of Titanium");

	LanguageRegistry.addName(titaniumIngot, "Titanium Ingot");
	LanguageRegistry.addName(titaniumApple, "Titanium Apple");
	LanguageRegistry.addName(hoeExtender, "Hoe Extender");
	LanguageRegistry.addName(hoeDiamondExtended, "Extended Diamond Hoe");
	LanguageRegistry.addName(hoeWoodExtended, "Extended Wood Hoe");
	LanguageRegistry.addName(hoeStoneExtended, "Extended Stone Hoe");
	LanguageRegistry.addName(hoeIronExtended, "Extended Iron Hoe");
	LanguageRegistry.addName(hoeGoldExtended, "Extended Gold Hoe");
	LanguageRegistry.addName(hoeTitaniumExtended, "Extended Titanium Hoe");
	LanguageRegistry.addName(hoeTitanium, "Titanium Hoe");
}

}

 

 

Posted

OHHHH! Now it makes sence...

 

when it says "ClassNotFoundException: mods.betterFarming.common.betterFarming" the first one is NOT the mod folder it self, but the first folder for the mod within the mod folder so in my case instead of

 

C:\Users\saxon564\AppData\Roaming\.minecraft\mods\betterFarming.zip\common\betterFarming.CLASS

or

C:\Users\saxon564\AppData\Roaming\.minecraft\mods\betterFarming.zip\betterFarming\common\betterFarming.CLASS

its

C:\Users\saxon564\AppData\Roaming\.minecraft\mods\Better Farming 1.0.zip\mods\betterFarming\common\betterFarming.CLASS

 

the zip can be whatever you want it to b, but inside it has to start with the folder "mods"

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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