Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[Solved] please some help


glau
 Share

Recommended Posts

Sophistry:

    Hello, i'm pretty new at all these things. I've been struggling with modding for a few days. This mayday call may not be as like  you want,  and English is not my native language. But, don't consider this as a bug report, i just want some fundamental support if it is possible.

    I want to play minecraft with some mods, which are only compatible with 1.2.5. And so i started with mcp62, and forge-3.4.9.171, installed eclipse and jdk (7). I created my first mod by copy-pasting these codes on forge wiki about "your first block" tutorial compatible with my tools' releases (not sure about jdk)

    I reobsificated the code after recompiling, I started the client, it worked as well. My mod was playable as any mods on the market. But when i copied my mod classes ( i picked them from the reobfs folder) to a zip file in mods folder, or directly in to minecraft.jar, it crashed my game. I have tried this in many ways but it didn't work. The console said that i may have a corrupted zip file in my mods folder and etc.  I set jdk as a path variable, set eclipse's workspace to the proper location. I'm sure that eclipse gave no errors after saving my codes.

    So, ladies and gentlemen. What would be the problem which i'm sure is so primitive but in no way i couldn't find it.

 

 

Brief: My script is cool-working with eclipse&mcp's run commands.

But when i copy the classes to the game's "where they should be" directory, game crashes.

     

I'm now using fully updated versions of minecraft,  forge, mcp and eclipse. ( problem continues with 1.3.2)

Compiling et cetera commands in mcp and forge source's file in mcp works smooth and correct.  (I do these things right.) And eclipse gives no error...

 

A tutorial code copied from wuppy29's blog pasted to Eclipse's mcp72/eclipse workspace, Minecraft / common / serenity.common package

Serenity.java :

 

 

package serenity.common;

 

import cpw.mods.fml.common.Mod;

import cpw.mods.fml.common.Mod.Init;

import cpw.mods.fml.common.event.FMLInitializationEvent;

import cpw.mods.fml.common.network.NetworkMod;

 

@Mod(modid = "glau_Serenity", name = "Serenity", version = "1.0")

@NetworkMod(clientSideRequired = true, serverSideRequired = false)

public class Serenity

{

@Init

public void load(FMLInitializationEvent event)

{

 

}

}

 

 

An error report from minecraft 1.3.2 (only the latest forge and millionth serenity was there) created for frustrating my codding attempts (above, Serenity.java)

 

 

Minecraft has crashed!     

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

 

Minecraft has stopped running because it encountered a problem; Failed to start game

This error has been saved to C:\Users\omrysf\AppData\Roaming\.minecraft\crash-reports\crash-2012-09-16_22.30.44-client.txt for your convenience. Please include a copy of this file if you report this crash to anyone.

 

 

 

--- BEGIN ERROR REPORT 21ecf9ed --------

Generated 16.09.2012 22:30

 

- Minecraft Version: 1.3.2

- Operating System: Windows 7 (x86) version 6.1

- Java Version: 1.7.0_07, Oracle Corporation

- Java VM Version: Java HotSpot Client VM (mixed mode), Oracle Corporation

- Memory: 844920072 bytes (805 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)

- JVM Flags: 2 total; -Xms1024m -Xmx1024m

- FML: FML v3.1.11.375 Minecraft Forge 4.1.2.262 3 mods loaded, 3 mods active

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

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

glau_Serenity [serenity] (sfe.zip) Unloaded->Errored

- LWJGL: 2.4.2

- OpenGL: Intel Pineview Platform GL version 1.4.0 - Build 8.14.10.2230, Intel

- Is Modded: Definitely; 'forge,fml'

- Type: Client

- Texture Pack: Default

- Profiler Position: N/A (disabled)

 

cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: serenity.common.Serenity

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

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

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

at net.minecraft.client.Minecraft.a(Minecraft.java:414)

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

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

Caused by: java.lang.ClassNotFoundException: serenity.common.Serenity

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

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

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

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

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

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

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

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:69)

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

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

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

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

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

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:69)

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

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

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

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

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

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

... 4 more

Caused by: java.lang.NullPointerException

at org.objectweb.asm.ClassReader.<init>(Unknown Source)

at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:27)

at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:162)

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

... 31 more

--- END ERROR REPORT 41bf9ac9 ----------

 

 

 

 

 

An error log dedicated to a my-copy-paste mod: These scribbles are expired (1.2.5)

 

 

2012-09-16 13:11:59 [iNFO] Forge Mod Loader version 2.2.106.176 for Minecraft c:1.2.5, s:1.2.5 loading

2012-09-16 13:11:59 [iNFO] Forge Mod Loader has detected optifine OptiFine_1.2.5_HD_MT_C6, enabling compatibility features

2012-09-16 13:11:59 [FINE] Attempting to load mods contained in the minecraft jar file and associated classes

2012-09-16 13:11:59 [FINE] Found a minecraft related file at C:\Users\omrysf\AppData\Roaming\.minecraft\bin\lwjgl.jar, loading

2012-09-16 13:11:59 [FINE] Found a minecraft related file at C:\Users\omrysf\AppData\Roaming\.minecraft\bin\jinput.jar, loading

2012-09-16 13:11:59 [FINE] Found a minecraft related file at C:\Users\omrysf\AppData\Roaming\.minecraft\bin\lwjgl_util.jar, loading

2012-09-16 13:11:59 [FINE] Found a minecraft related file at C:\Users\omrysf\AppData\Roaming\.minecraft\bin\minecraft.jar, loading

2012-09-16 13:11:59 [FINE] Found a mod class mod_MinecraftForge in file minecraft.jar, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_MinecraftForge found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_MinecraftForge loaded

2012-09-16 13:11:59 [FINE] Mod class mod_MinecraftForge loaded successfully

2012-09-16 13:11:59 [FINE] Found a mod class mod_ObsidianItems in file minecraft.jar, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_ObsidianItems found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_ObsidianItems loaded

2012-09-16 13:11:59 [FINE] Mod class mod_ObsidianItems loaded successfully

2012-09-16 13:11:59 [FINE] Found a mod class mod_SmartMoving in file minecraft.jar, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_SmartMoving found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_SmartMoving loaded

2012-09-16 13:11:59 [FINE] Mod class mod_SmartMoving loaded successfully

2012-09-16 13:11:59 [FINE] Found a mod class mod_Serenity in file minecraft.jar, attempting to load it

2012-09-16 13:11:59 [WARNING] Failed to load mod class mod_Serenity.class in C:\Users\omrysf\AppData\Roaming\.minecraft\bin\minecraft.jar

2012-09-16 13:11:59 [FINER] THROW

java.lang.NoClassDefFoundError: mod_Serenity (wrong name: net/minecraft/src/serenity/mod_Serenity)

at java.lang.ClassLoader.defineClass1(Native Method)

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

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$100(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

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

at java.net.URLClassLoader.findClass(Unknown Source)

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

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

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

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

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

at cpw.mods.fml.common.Loader.loadModClass(Loader.java:504)

at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.java:572)

at cpw.mods.fml.common.Loader.load(Loader.java:392)

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

at cpw.mods.fml.client.FMLClientHandler.onPreLoad(FMLClientHandler.java:200)

at net.minecraft.client.Minecraft.a(Minecraft.java:386)

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

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

2012-09-16 13:11:59 [sEVERE] Zip file minecraft.jar failed to read properly

2012-09-16 13:11:59 [FINER] THROW

cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: mod_Serenity (wrong name: net/minecraft/src/serenity/mod_Serenity)

at cpw.mods.fml.common.Loader.loadModClass(Loader.java:537)

at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.java:572)

at cpw.mods.fml.common.Loader.load(Loader.java:392)

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

at cpw.mods.fml.client.FMLClientHandler.onPreLoad(FMLClientHandler.java:200)

at net.minecraft.client.Minecraft.a(Minecraft.java:386)

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

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

Caused by: java.lang.NoClassDefFoundError: mod_Serenity (wrong name: net/minecraft/src/serenity/mod_Serenity)

at java.lang.ClassLoader.defineClass1(Native Method)

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

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$100(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

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

at java.net.URLClassLoader.findClass(Unknown Source)

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

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

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

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

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

at cpw.mods.fml.common.Loader.loadModClass(Loader.java:504)

... 7 more

2012-09-16 13:11:59 [FINE] Minecraft jar mods loaded successfully

2012-09-16 13:11:59 [iNFO] Loading mods from C:\Users\omrysf\AppData\Roaming\.minecraft\mods

2012-09-16 13:11:59 [FINE] Found a zip or jar file airship.zip, attempting to load it

2012-09-16 13:11:59 [FINE] Found a mod class mod_airship in file airship.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_airship found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_airship loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in airship.zip for mod_airship

2012-09-16 13:11:59 [FINE] Mod class mod_airship loaded successfully

2012-09-16 13:11:59 [FINE] File airship.zip loaded successfully

2012-09-16 13:11:59 [FINE] Found a zip or jar file customspawner.zip, attempting to load it

2012-09-16 13:11:59 [iNFO] File customspawner.zip contained no mods

2012-09-16 13:11:59 [FINE] Found a zip or jar file floodgate.zip, attempting to load it

2012-09-16 13:11:59 [FINE] Found a mod class mod_Floodgate in file floodgate.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_Floodgate found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_Floodgate loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in floodgate.zip for mod_Floodgate

2012-09-16 13:11:59 [FINE] Mod class mod_Floodgate loaded successfully

2012-09-16 13:11:59 [FINE] File floodgate.zip loaded successfully

2012-09-16 13:11:59 [FINE] Found a zip or jar file gunpowder.zip, attempting to load it

2012-09-16 13:11:59 [FINE] Found a mod class mod_CraftGunpowder in file gunpowder.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_CraftGunpowder found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_CraftGunpowder loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in gunpowder.zip for mod_CraftGunpowder

2012-09-16 13:11:59 [FINE] Mod class mod_CraftGunpowder loaded successfully

2012-09-16 13:11:59 [FINE] File gunpowder.zip loaded successfully

2012-09-16 13:11:59 [FINE] Found a zip or jar file leather.zip, attempting to load it

2012-09-16 13:11:59 [FINE] Found a mod class mod_LeatherNew in file leather.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_LeatherNew found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_LeatherNew loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in leather.zip for mod_LeatherNew

2012-09-16 13:11:59 [FINE] Mod class mod_LeatherNew loaded successfully

2012-09-16 13:11:59 [FINE] File leather.zip loaded successfully

2012-09-16 13:11:59 [FINE] Found a zip or jar file mobport.zip, attempting to load it

2012-09-16 13:11:59 [FINE] Found a mod class mod_Mobport in file mobport.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_Mobport found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_Mobport loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in mobport.zip for mod_Mobport

2012-09-16 13:11:59 [FINE] Mod class mod_Mobport loaded successfully

2012-09-16 13:11:59 [FINE] File mobport.zip loaded successfully

2012-09-16 13:11:59 [FINE] Found a directory mocreatures, attempting to load it

2012-09-16 13:11:59 [iNFO] Directory mocreatures contained no mods

2012-09-16 13:11:59 [FINE] Found a zip or jar file mocreatures.zip, attempting to load it

2012-09-16 13:11:59 [FINE] Found a mod class mod_mocreatures in file mocreatures.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_mocreatures found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_mocreatures loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in mocreatures.zip for mod_mocreatures

2012-09-16 13:11:59 [FINE] Mod class mod_mocreatures loaded successfully

2012-09-16 13:11:59 [FINE] File mocreatures.zip loaded successfully

2012-09-16 13:11:59 [FINE] Found a directory mod_settingstest, attempting to load it

2012-09-16 13:11:59 [iNFO] Directory mod_settingstest contained no mods

2012-09-16 13:11:59 [FINE] Found a zip or jar file parachute.zip, attempting to load it

2012-09-16 13:11:59 [FINE] Found a mod class mod_Parachute in file parachute.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_Parachute found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_Parachute loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in parachute.zip for mod_Parachute

2012-09-16 13:11:59 [FINE] Mod class mod_Parachute loaded successfully

2012-09-16 13:11:59 [FINE] File parachute.zip loaded successfully

2012-09-16 13:11:59 [FINE] Found a zip or jar file rp_all.zip, attempting to load it

2012-09-16 13:11:59 [FINE] Found a mod class mod_RedPowerCore in file rp_all.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerCore found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerCore loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerCore

2012-09-16 13:11:59 [FINE] Mod class mod_RedPowerCore loaded successfully

2012-09-16 13:11:59 [FINE] Found a mod class mod_RedPowerControl in file rp_all.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerControl found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerControl loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerControl

2012-09-16 13:11:59 [FINE] Mod class mod_RedPowerControl loaded successfully

2012-09-16 13:11:59 [FINE] Found a mod class mod_RedPowerLighting in file rp_all.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerLighting found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerLighting loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerLighting

2012-09-16 13:11:59 [FINE] Mod class mod_RedPowerLighting loaded successfully

2012-09-16 13:11:59 [FINE] Found a mod class mod_RedPowerMachine in file rp_all.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerMachine found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerMachine loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerMachine

2012-09-16 13:11:59 [FINE] Mod class mod_RedPowerMachine loaded successfully

2012-09-16 13:11:59 [FINE] Found a mod class mod_RedPowerLogic in file rp_all.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerLogic found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerLogic loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerLogic

2012-09-16 13:11:59 [FINE] Mod class mod_RedPowerLogic loaded successfully

2012-09-16 13:11:59 [FINE] Found a mod class mod_RedPowerWiring in file rp_all.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerWiring found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerWiring loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerWiring

2012-09-16 13:11:59 [FINE] Mod class mod_RedPowerWiring loaded successfully

2012-09-16 13:11:59 [FINE] Found a mod class mod_RedPowerWorld in file rp_all.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerWorld found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_RedPowerWorld loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerWorld

2012-09-16 13:11:59 [FINE] Mod class mod_RedPowerWorld loaded successfully

2012-09-16 13:11:59 [FINE] File rp_all.zip loaded successfully

2012-09-16 13:11:59 [FINE] Found a zip or jar file scuba.zip, attempting to load it

2012-09-16 13:11:59 [FINE] Found a mod class mod_scubadiving in file scuba.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_scubadiving found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_scubadiving loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in scuba.zip for mod_scubadiving

2012-09-16 13:11:59 [FINE] Mod class mod_scubadiving loaded successfully

2012-09-16 13:11:59 [FINE] File scuba.zip loaded successfully

2012-09-16 13:11:59 [FINE] Found a directory weaponmod, attempting to load it

2012-09-16 13:11:59 [iNFO] Directory weaponmod contained no mods

2012-09-16 13:11:59 [FINE] Found a zip or jar file WeaponMod.zip, attempting to load it

2012-09-16 13:11:59 [FINE] Found a mod class mod_WeaponMod in file WeaponMod.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_WeaponMod found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_WeaponMod loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in WeaponMod.zip for mod_WeaponMod

2012-09-16 13:11:59 [FINE] Mod class mod_WeaponMod loaded successfully

2012-09-16 13:11:59 [FINE] File WeaponMod.zip loaded successfully

2012-09-16 13:11:59 [FINE] Found a zip or jar file wooltostring.zip, attempting to load it

2012-09-16 13:11:59 [FINE] Found a mod class mod_WoolToString in file wooltostring.zip, attempting to load it

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_WoolToString found, loading

2012-09-16 13:11:59 [FINE] ModLoader BaseMod class mod_WoolToString loaded

2012-09-16 13:11:59 [FINE] Failed to find mcmod.info file in wooltostring.zip for mod_WoolToString

2012-09-16 13:11:59 [FINE] Mod class mod_WoolToString loaded successfully

2012-09-16 13:11:59 [FINE] File wooltostring.zip loaded successfully

2012-09-16 13:11:59 [sEVERE] A problem has occured during mod loading. Likely a corrupt jar is located in your mods directory

2012-09-16 13:12:09 [sEVERE] A critical error has occurred.

cpw.mods.fml.common.LoaderException: cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: mod_Serenity (wrong name: net/minecraft/src/serenity/mod_Serenity)

at cpw.mods.fml.common.Loader.load(Loader.java:446)

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

at cpw.mods.fml.client.FMLClientHandler.onPreLoad(FMLClientHandler.java:200)

at net.minecraft.client.Minecraft.a(Minecraft.java:386)

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

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

Caused by: cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: mod_Serenity (wrong name: net/minecraft/src/serenity/mod_Serenity)

at cpw.mods.fml.common.Loader.loadModClass(Loader.java:537)

at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.java:572)

at cpw.mods.fml.common.Loader.load(Loader.java:392)

... 5 more

Caused by: java.lang.NoClassDefFoundError: mod_Serenity (wrong name: net/minecraft/src/serenity/mod_Serenity)

at java.lang.ClassLoader.defineClass1(Native Method)

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

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$100(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

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

at java.net.URLClassLoader.findClass(Unknown Source)

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

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

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

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

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

at cpw.mods.fml.common.Loader.loadModClass(Loader.java:504)

... 7 more

2012-09-16 13:12:09 [sEVERE] 20 mods loaded

Optifine OptiFine_1.2.5_HD_MT_C6

Minecraft Forge 3.4.9.171

FML v2.2.106.176

Forge Mod Loader version 2.2.106.176 for Minecraft 1.2.5

mod_MinecraftForge : Loaded (minecraft.jar)

mod_ObsidianItems : Loaded (minecraft.jar)

mod_SmartMoving : Loaded (minecraft.jar)

mod_airship : Loaded (airship.zip)

mod_Floodgate : Loaded (floodgate.zip)

mod_CraftGunpowder : Loaded (gunpowder.zip)

mod_LeatherNew : Loaded (leather.zip)

mod_Mobport : Loaded (mobport.zip)

mod_mocreatures : Loaded (mocreatures.zip)

mod_Parachute : Loaded (parachute.zip)

mod_RedPowerCore : Loaded (rp_all.zip)

mod_RedPowerControl : Loaded (rp_all.zip)

mod_RedPowerLighting : Loaded (rp_all.zip)

mod_RedPowerMachine : Loaded (rp_all.zip)

mod_RedPowerLogic : Loaded (rp_all.zip)

mod_RedPowerWiring : Loaded (rp_all.zip)

mod_RedPowerWorld : Loaded (rp_all.zip)

mod_scubadiving : Loaded (scuba.zip)

mod_WeaponMod : Loaded (WeaponMod.zip)

mod_WoolToString : Loaded (wooltostring.zip)

 

2012-09-16 13:12:10 [FINE] Beginning mod initialization

2012-09-16 13:12:10 [FINER] Initializing mod_MinecraftForge

2012-09-16 13:12:10 [sEVERE] A critical error has occurred.

java.lang.NullPointerException

at cpw.mods.fml.common.modloader.ModLoaderModContainer.init(ModLoaderModContainer.java:356)

at cpw.mods.fml.common.Loader.modInit(Loader.java:273)

at cpw.mods.fml.common.Loader.initializeMods(Loader.java:628)

at cpw.mods.fml.client.FMLClientHandler.onLoadComplete(FMLClientHandler.java:223)

at net.minecraft.client.Minecraft.a(Minecraft.java:429)

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

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

2012-09-16 13:12:10 [sEVERE] 20 mods loaded

Optifine OptiFine_1.2.5_HD_MT_C6

Minecraft Forge 3.4.9.171

FML v2.2.106.176

Forge Mod Loader version 2.2.106.176 for Minecraft 1.2.5

mod_MinecraftForge : Loaded (minecraft.jar)

mod_ObsidianItems : Loaded (minecraft.jar)

mod_SmartMoving : Loaded (minecraft.jar)

mod_airship : Loaded (airship.zip)

mod_Floodgate : Loaded (floodgate.zip)

mod_CraftGunpowder : Loaded (gunpowder.zip)

mod_LeatherNew : Loaded (leather.zip)

mod_Mobport : Loaded (mobport.zip)

mod_mocreatures : Loaded (mocreatures.zip)

mod_Parachute : Loaded (parachute.zip)

mod_RedPowerCore : Loaded (rp_all.zip)

mod_RedPowerControl : Loaded (rp_all.zip)

mod_RedPowerLighting : Loaded (rp_all.zip)

mod_RedPowerMachine : Loaded (rp_all.zip)

mod_RedPowerLogic : Loaded (rp_all.zip)

mod_RedPowerWiring : Loaded (rp_all.zip)

mod_RedPowerWorld : Loaded (rp_all.zip)

mod_scubadiving : Loaded (scuba.zip)

mod_WeaponMod : Loaded (WeaponMod.zip)

mod_WoolToString : Loaded (wooltostring.zip)

 

"Another" tutorial i copied. Sory, this mod's related log is on my other post down there...

 

 

//mod_Tutorial.java

 

package net.minecraft.src.tutorial;

 

import net.minecraft.src.Block;

import net.minecraft.src.Item;

import net.minecraft.src.ItemStack;

import net.minecraft.src.ModLoader;

import net.minecraft.src.forge.NetworkMod;

 

public class mod_Tutorial extends NetworkMod

{

        // Block Definitions

        public Block blockHelloWorld;

     

        @Override

        public String getVersion()

        {

                return "Tutorial Mod 1.0.0";

        }

     

        @Override

        public void load()

        {

                blockHelloWorld = new BlockHelloWorld(160);

             

                // Register Blocks

                ModLoader.registerBlock(blockHelloWorld);

             

                // Add Recipes

                ModLoader.addRecipe(new ItemStack(blockHelloWorld, 3), new Object[]

                {

                        "  ", "X+X", "  ", 'X', Block.stone, '+', Block.wood

                });

             

                // Add Names

                ModLoader.addName(blockHelloWorld, "Hello World Block");

        }

}

 

 

 

 

//BlockHelloWorld.java

 

package net.minecraft.src.tutorial;

 

import net.minecraft.src.Block;

import net.minecraft.src.Material;

 

public class BlockHelloWorld extends Block

{

        public BlockHelloWorld(int blockID)

    {

                super(blockID, Material.wood);

             

                blockIndexInTexture = 1;

        setHardness(2.0f);

        setResistance(5.0f);

        setStepSound(soundWoodFootstep);

     

        setBlockName("Hello World Block");

    }

     

        @Override

        public int getBlockTextureFromSide(int side)

        {

                switch(side)

                {

                case 0:

                        return 21;

                case 1:

                        return 21;

                }

                return blockIndexInTexture;

        }

     

        @Override

        public String getTextureFile()

        {

                return "/terrain.png";

        }

}

 

 

Solved. It was so moronic as i guessed The Answer is on the modder's support page.

 

 

Link to comment
Share on other sites

What EXACTLY are you doing?

Your error tells me something and your code tells me something else.

Read the EAQ before posting! OR ELSE!

 

This isn't building better software, its trying to grab a place in the commit list of a highly visible github project.

 

www.forgeessentials.com

 

Don't PM me, I don't check this account unless I have to.

Link to comment
Share on other sites

What EXACTLY are you doing?

Your error tells me something and your code tells me something else.

 

Sory for that. As i said i tried lots of different ways. "The something else" in the error is another tutorial which i only changed some names on it. Even for the simplest scripts i wrote, the game doesn't recognized my class files. (I set jre and jdk path variables properly also)

The thing is, i can run the code on eclipse or mcp62's "start client"  and my mod works. But when i copy'em to the game's related directories it crashes my game..

 

Also i tried it when "no mod" loaded but forge. Nothing changed....

 

I did everything what tutorials said. Now i tried it with original codes what i gave.

Error log with original tutorial...

 

 

 

2012-09-16 15:17:39 [iNFO] Forge Mod Loader version 2.2.106.176 for Minecraft c:1.2.5, s:1.2.5 loading

2012-09-16 15:17:39 [iNFO] Forge Mod Loader has detected optifine OptiFine_1.2.5_HD_MT_C6, enabling compatibility features

2012-09-16 15:17:39 [FINE] Attempting to load mods contained in the minecraft jar file and associated classes

2012-09-16 15:17:39 [FINE] Found a minecraft related file at C:\Users\omrysf\AppData\Roaming\.minecraft\bin\lwjgl.jar, loading

2012-09-16 15:17:39 [FINE] Found a minecraft related file at C:\Users\omrysf\AppData\Roaming\.minecraft\bin\jinput.jar, loading

2012-09-16 15:17:39 [FINE] Found a minecraft related file at C:\Users\omrysf\AppData\Roaming\.minecraft\bin\lwjgl_util.jar, loading

2012-09-16 15:17:39 [FINE] Found a minecraft related file at C:\Users\omrysf\AppData\Roaming\.minecraft\bin\minecraft.jar, loading

2012-09-16 15:17:39 [FINE] Found a mod class mod_MinecraftForge in file minecraft.jar, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_MinecraftForge found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_MinecraftForge loaded

2012-09-16 15:17:39 [FINE] Mod class mod_MinecraftForge loaded successfully

2012-09-16 15:17:39 [FINE] Found a mod class mod_ObsidianItems in file minecraft.jar, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_ObsidianItems found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_ObsidianItems loaded

2012-09-16 15:17:39 [FINE] Mod class mod_ObsidianItems loaded successfully

2012-09-16 15:17:39 [FINE] Found a mod class mod_SmartMoving in file minecraft.jar, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_SmartMoving found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_SmartMoving loaded

2012-09-16 15:17:39 [FINE] Mod class mod_SmartMoving loaded successfully

2012-09-16 15:17:39 [FINE] Found a mod class mod_Tutorial in file minecraft.jar, attempting to load it

2012-09-16 15:17:39 [WARNING] Failed to load mod class mod_Tutorial.class in C:\Users\omrysf\AppData\Roaming\.minecraft\bin\minecraft.jar

2012-09-16 15:17:39 [FINER] THROW

java.lang.NoClassDefFoundError: mod_Tutorial (wrong name: tutorial/mod_Tutorial)

at java.lang.ClassLoader.defineClass1(Native Method)

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

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$100(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

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

at java.net.URLClassLoader.findClass(Unknown Source)

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

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

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

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

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

at cpw.mods.fml.common.Loader.loadModClass(Loader.java:504)

at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.java:572)

at cpw.mods.fml.common.Loader.load(Loader.java:392)

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

at cpw.mods.fml.client.FMLClientHandler.onPreLoad(FMLClientHandler.java:200)

at net.minecraft.client.Minecraft.a(Minecraft.java:386)

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

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

2012-09-16 15:17:39 [sEVERE] Zip file minecraft.jar failed to read properly

2012-09-16 15:17:39 [FINER] THROW

cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: mod_Tutorial (wrong name: tutorial/mod_Tutorial)

at cpw.mods.fml.common.Loader.loadModClass(Loader.java:537)

at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.java:572)

at cpw.mods.fml.common.Loader.load(Loader.java:392)

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

at cpw.mods.fml.client.FMLClientHandler.onPreLoad(FMLClientHandler.java:200)

at net.minecraft.client.Minecraft.a(Minecraft.java:386)

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

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

Caused by: java.lang.NoClassDefFoundError: mod_Tutorial (wrong name: tutorial/mod_Tutorial)

at java.lang.ClassLoader.defineClass1(Native Method)

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

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$100(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

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

at java.net.URLClassLoader.findClass(Unknown Source)

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

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

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

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

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

at cpw.mods.fml.common.Loader.loadModClass(Loader.java:504)

... 7 more

2012-09-16 15:17:39 [FINE] Minecraft jar mods loaded successfully

2012-09-16 15:17:39 [iNFO] Loading mods from C:\Users\omrysf\AppData\Roaming\.minecraft\mods

2012-09-16 15:17:39 [FINE] Found a zip or jar file airship.zip, attempting to load it

2012-09-16 15:17:39 [FINE] Found a mod class mod_airship in file airship.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_airship found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_airship loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in airship.zip for mod_airship

2012-09-16 15:17:39 [FINE] Mod class mod_airship loaded successfully

2012-09-16 15:17:39 [FINE] File airship.zip loaded successfully

2012-09-16 15:17:39 [FINE] Found a zip or jar file customspawner.zip, attempting to load it

2012-09-16 15:17:39 [iNFO] File customspawner.zip contained no mods

2012-09-16 15:17:39 [FINE] Found a zip or jar file floodgate.zip, attempting to load it

2012-09-16 15:17:39 [FINE] Found a mod class mod_Floodgate in file floodgate.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_Floodgate found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_Floodgate loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in floodgate.zip for mod_Floodgate

2012-09-16 15:17:39 [FINE] Mod class mod_Floodgate loaded successfully

2012-09-16 15:17:39 [FINE] File floodgate.zip loaded successfully

2012-09-16 15:17:39 [FINE] Found a zip or jar file gunpowder.zip, attempting to load it

2012-09-16 15:17:39 [FINE] Found a mod class mod_CraftGunpowder in file gunpowder.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_CraftGunpowder found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_CraftGunpowder loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in gunpowder.zip for mod_CraftGunpowder

2012-09-16 15:17:39 [FINE] Mod class mod_CraftGunpowder loaded successfully

2012-09-16 15:17:39 [FINE] File gunpowder.zip loaded successfully

2012-09-16 15:17:39 [FINE] Found a zip or jar file leather.zip, attempting to load it

2012-09-16 15:17:39 [FINE] Found a mod class mod_LeatherNew in file leather.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_LeatherNew found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_LeatherNew loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in leather.zip for mod_LeatherNew

2012-09-16 15:17:39 [FINE] Mod class mod_LeatherNew loaded successfully

2012-09-16 15:17:39 [FINE] File leather.zip loaded successfully

2012-09-16 15:17:39 [FINE] Found a zip or jar file mobport.zip, attempting to load it

2012-09-16 15:17:39 [FINE] Found a mod class mod_Mobport in file mobport.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_Mobport found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_Mobport loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in mobport.zip for mod_Mobport

2012-09-16 15:17:39 [FINE] Mod class mod_Mobport loaded successfully

2012-09-16 15:17:39 [FINE] File mobport.zip loaded successfully

2012-09-16 15:17:39 [FINE] Found a directory mocreatures, attempting to load it

2012-09-16 15:17:39 [iNFO] Directory mocreatures contained no mods

2012-09-16 15:17:39 [FINE] Found a zip or jar file mocreatures.zip, attempting to load it

2012-09-16 15:17:39 [FINE] Found a mod class mod_mocreatures in file mocreatures.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_mocreatures found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_mocreatures loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in mocreatures.zip for mod_mocreatures

2012-09-16 15:17:39 [FINE] Mod class mod_mocreatures loaded successfully

2012-09-16 15:17:39 [FINE] File mocreatures.zip loaded successfully

2012-09-16 15:17:39 [FINE] Found a directory mod_settingstest, attempting to load it

2012-09-16 15:17:39 [iNFO] Directory mod_settingstest contained no mods

2012-09-16 15:17:39 [FINE] Found a zip or jar file parachute.zip, attempting to load it

2012-09-16 15:17:39 [FINE] Found a mod class mod_Parachute in file parachute.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_Parachute found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_Parachute loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in parachute.zip for mod_Parachute

2012-09-16 15:17:39 [FINE] Mod class mod_Parachute loaded successfully

2012-09-16 15:17:39 [FINE] File parachute.zip loaded successfully

2012-09-16 15:17:39 [FINE] Found a zip or jar file rp_all.zip, attempting to load it

2012-09-16 15:17:39 [FINE] Found a mod class mod_RedPowerCore in file rp_all.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerCore found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerCore loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerCore

2012-09-16 15:17:39 [FINE] Mod class mod_RedPowerCore loaded successfully

2012-09-16 15:17:39 [FINE] Found a mod class mod_RedPowerControl in file rp_all.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerControl found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerControl loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerControl

2012-09-16 15:17:39 [FINE] Mod class mod_RedPowerControl loaded successfully

2012-09-16 15:17:39 [FINE] Found a mod class mod_RedPowerLighting in file rp_all.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerLighting found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerLighting loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerLighting

2012-09-16 15:17:39 [FINE] Mod class mod_RedPowerLighting loaded successfully

2012-09-16 15:17:39 [FINE] Found a mod class mod_RedPowerMachine in file rp_all.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerMachine found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerMachine loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerMachine

2012-09-16 15:17:39 [FINE] Mod class mod_RedPowerMachine loaded successfully

2012-09-16 15:17:39 [FINE] Found a mod class mod_RedPowerLogic in file rp_all.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerLogic found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerLogic loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerLogic

2012-09-16 15:17:39 [FINE] Mod class mod_RedPowerLogic loaded successfully

2012-09-16 15:17:39 [FINE] Found a mod class mod_RedPowerWiring in file rp_all.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerWiring found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerWiring loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerWiring

2012-09-16 15:17:39 [FINE] Mod class mod_RedPowerWiring loaded successfully

2012-09-16 15:17:39 [FINE] Found a mod class mod_RedPowerWorld in file rp_all.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerWorld found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_RedPowerWorld loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in rp_all.zip for mod_RedPowerWorld

2012-09-16 15:17:39 [FINE] Mod class mod_RedPowerWorld loaded successfully

2012-09-16 15:17:39 [FINE] File rp_all.zip loaded successfully

2012-09-16 15:17:39 [FINE] Found a zip or jar file scuba.zip, attempting to load it

2012-09-16 15:17:39 [FINE] Found a mod class mod_scubadiving in file scuba.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_scubadiving found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_scubadiving loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in scuba.zip for mod_scubadiving

2012-09-16 15:17:39 [FINE] Mod class mod_scubadiving loaded successfully

2012-09-16 15:17:39 [FINE] File scuba.zip loaded successfully

2012-09-16 15:17:39 [FINE] Found a directory weaponmod, attempting to load it

2012-09-16 15:17:39 [iNFO] Directory weaponmod contained no mods

2012-09-16 15:17:39 [FINE] Found a zip or jar file WeaponMod.zip, attempting to load it

2012-09-16 15:17:39 [FINE] Found a mod class mod_WeaponMod in file WeaponMod.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_WeaponMod found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_WeaponMod loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in WeaponMod.zip for mod_WeaponMod

2012-09-16 15:17:39 [FINE] Mod class mod_WeaponMod loaded successfully

2012-09-16 15:17:39 [FINE] File WeaponMod.zip loaded successfully

2012-09-16 15:17:39 [FINE] Found a zip or jar file wooltostring.zip, attempting to load it

2012-09-16 15:17:39 [FINE] Found a mod class mod_WoolToString in file wooltostring.zip, attempting to load it

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_WoolToString found, loading

2012-09-16 15:17:39 [FINE] ModLoader BaseMod class mod_WoolToString loaded

2012-09-16 15:17:39 [FINE] Failed to find mcmod.info file in wooltostring.zip for mod_WoolToString

2012-09-16 15:17:39 [FINE] Mod class mod_WoolToString loaded successfully

2012-09-16 15:17:39 [FINE] File wooltostring.zip loaded successfully

2012-09-16 15:17:39 [sEVERE] A problem has occured during mod loading. Likely a corrupt jar is located in your mods directory

2012-09-16 15:17:49 [sEVERE] A critical error has occurred.

cpw.mods.fml.common.LoaderException: cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: mod_Tutorial (wrong name: tutorial/mod_Tutorial)

at cpw.mods.fml.common.Loader.load(Loader.java:446)

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

at cpw.mods.fml.client.FMLClientHandler.onPreLoad(FMLClientHandler.java:200)

at net.minecraft.client.Minecraft.a(Minecraft.java:386)

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

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

Caused by: cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: mod_Tutorial (wrong name: tutorial/mod_Tutorial)

at cpw.mods.fml.common.Loader.loadModClass(Loader.java:537)

at cpw.mods.fml.common.Loader.attemptFileLoad(Loader.java:572)

at cpw.mods.fml.common.Loader.load(Loader.java:392)

... 5 more

Caused by: java.lang.NoClassDefFoundError: mod_Tutorial (wrong name: tutorial/mod_Tutorial)

at java.lang.ClassLoader.defineClass1(Native Method)

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

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$100(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

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

at java.net.URLClassLoader.findClass(Unknown Source)

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

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

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

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

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

at cpw.mods.fml.common.Loader.loadModClass(Loader.java:504)

... 7 more

2012-09-16 15:17:49 [sEVERE] 20 mods loaded

Optifine OptiFine_1.2.5_HD_MT_C6

Minecraft Forge 3.4.9.171

FML v2.2.106.176

Forge Mod Loader version 2.2.106.176 for Minecraft 1.2.5

mod_MinecraftForge : Loaded (minecraft.jar)

mod_ObsidianItems : Loaded (minecraft.jar)

mod_SmartMoving : Loaded (minecraft.jar)

mod_airship : Loaded (airship.zip)

mod_Floodgate : Loaded (floodgate.zip)

mod_CraftGunpowder : Loaded (gunpowder.zip)

mod_LeatherNew : Loaded (leather.zip)

mod_Mobport : Loaded (mobport.zip)

mod_mocreatures : Loaded (mocreatures.zip)

mod_Parachute : Loaded (parachute.zip)

mod_RedPowerCore : Loaded (rp_all.zip)

mod_RedPowerControl : Loaded (rp_all.zip)

mod_RedPowerLighting : Loaded (rp_all.zip)

mod_RedPowerMachine : Loaded (rp_all.zip)

mod_RedPowerLogic : Loaded (rp_all.zip)

mod_RedPowerWiring : Loaded (rp_all.zip)

mod_RedPowerWorld : Loaded (rp_all.zip)

mod_scubadiving : Loaded (scuba.zip)

mod_WeaponMod : Loaded (WeaponMod.zip)

mod_WoolToString : Loaded (wooltostring.zip)

 

2012-09-16 15:17:51 [FINE] Beginning mod initialization

2012-09-16 15:17:51 [FINER] Initializing mod_MinecraftForge

2012-09-16 15:17:51 [sEVERE] A critical error has occurred.

java.lang.NullPointerException

at cpw.mods.fml.common.modloader.ModLoaderModContainer.init(ModLoaderModContainer.java:356)

at cpw.mods.fml.common.Loader.modInit(Loader.java:273)

at cpw.mods.fml.common.Loader.initializeMods(Loader.java:628)

at cpw.mods.fml.client.FMLClientHandler.onLoadComplete(FMLClientHandler.java:223)

at net.minecraft.client.Minecraft.a(Minecraft.java:429)

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

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

2012-09-16 15:17:51 [sEVERE] 20 mods loaded

Optifine OptiFine_1.2.5_HD_MT_C6

Minecraft Forge 3.4.9.171

FML v2.2.106.176

Forge Mod Loader version 2.2.106.176 for Minecraft 1.2.5

mod_MinecraftForge : Loaded (minecraft.jar)

mod_ObsidianItems : Loaded (minecraft.jar)

mod_SmartMoving : Loaded (minecraft.jar)

mod_airship : Loaded (airship.zip)

mod_Floodgate : Loaded (floodgate.zip)

mod_CraftGunpowder : Loaded (gunpowder.zip)

mod_LeatherNew : Loaded (leather.zip)

mod_Mobport : Loaded (mobport.zip)

mod_mocreatures : Loaded (mocreatures.zip)

mod_Parachute : Loaded (parachute.zip)

mod_RedPowerCore : Loaded (rp_all.zip)

mod_RedPowerControl : Loaded (rp_all.zip)

mod_RedPowerLighting : Loaded (rp_all.zip)

mod_RedPowerMachine : Loaded (rp_all.zip)

mod_RedPowerLogic : Loaded (rp_all.zip)

mod_RedPowerWiring : Loaded (rp_all.zip)

mod_RedPowerWorld : Loaded (rp_all.zip)

mod_scubadiving : Loaded (scuba.zip)

mod_WeaponMod : Loaded (WeaponMod.zip)

mod_WoolToString : Loaded (wooltostring.zip)

 

 

 

Thanks for the care by the way...

 

Link to comment
Share on other sites

Try to mod for 1.3.2?

 

Okay... At first that was not my real intention... But I tried then

with Minecraft 1.3.2, Mcp72, Forge 4.1.2.262

 

I used wuppy29's most basic tutorial class, copy-pasted it... (only the package name is from forge's wiki) So here what i wrote:

 

tutorial.generic.Generic.java

 

 

package tutorial.generic;

 

import cpw.mods.fml.common.Mod;

import cpw.mods.fml.common.Mod.Init;

import cpw.mods.fml.common.event.FMLInitializationEvent;

import cpw.mods.fml.common.network.NetworkMod;

 

@Mod(modid = "YourName_ModName", name = "ModName", version = "Version number")

@NetworkMod(clientSideRequired = true, serverSideRequired = false)

public class Generic

{

@Init

public void load(FMLInitializationEvent event)

{

 

}

}

 

 

 

And again, it worked with eclipse's run command perfectly ...

 

When i copied the Generic.class file from reobf folder to a zip file in mods folder :

 

ForgeModLoader-client-0.log: (updated)

 

 

2012-09-16 19:10:49 [iNFO] [ForgeModLoader] Forge Mod Loader version 3.1.11.375 for Minecraft client:1.3.2, server:1.3.2 loading

2012-09-16 19:10:49 [FINEST] [ForgeModLoader] All core mods are successfully located

2012-09-16 19:10:49 [FINEST] [ForgeModLoader] Discovering coremods

2012-09-16 19:10:49 [FINEST] [ForgeModLoader] Found library file argo-2.25.jar present and correct in lib dir

 

2012-09-16 19:10:49 [FINEST] [ForgeModLoader] Found library file guava-12.0.1.jar present and correct in lib dir

 

2012-09-16 19:10:49 [FINEST] [ForgeModLoader] Found library file asm-all-4.0.jar present and correct in lib dir

 

2012-09-16 19:10:50 [FINEST] [ForgeModLoader] Running coremod plugins

2012-09-16 19:10:50 [FINEST] [ForgeModLoader] Running coremod plugin FMLCorePlugin

2012-09-16 19:10:50 [FINEST] [ForgeModLoader] Coremod plugin FMLCorePlugin run successfully

2012-09-16 19:10:50 [FINEST] [ForgeModLoader] Running coremod plugin FMLForgePlugin

2012-09-16 19:10:50 [FINEST] [ForgeModLoader] Coremod plugin FMLForgePlugin run successfully

2012-09-16 19:10:50 [FINEST] [ForgeModLoader] Validating minecraft

2012-09-16 19:10:50 [FINEST] [ForgeModLoader] Minecraft validated, launching...

2012-09-16 19:10:54 [iNFO] [sTDOUT] 27 achievements

2012-09-16 19:10:54 [iNFO] [sTDOUT] 195 recipes

2012-09-16 19:10:55 [iNFO] [sTDOUT] Setting user: Glau, 12345

2012-09-16 19:10:55 [iNFO] [sTDOUT] LWJGL Version: 2.4.2

2012-09-16 19:10:55 [iNFO] [sTDERR] org.lwjgl.LWJGLException: Insufficient depth buffer precision

2012-09-16 19:10:55 [iNFO] [sTDERR] at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method)

2012-09-16 19:10:55 [iNFO] [sTDERR] at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52)

2012-09-16 19:10:55 [iNFO] [sTDERR] at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:185)

2012-09-16 19:10:55 [iNFO] [sTDERR] at org.lwjgl.opengl.Display.createWindow(Display.java:311)

2012-09-16 19:10:55 [iNFO] [sTDERR] at org.lwjgl.opengl.Display.create(Display.java:856)

2012-09-16 19:10:55 [iNFO] [sTDERR] at org.lwjgl.opengl.Display.create(Display.java:784)

2012-09-16 19:10:55 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.a(Minecraft.java:387)

2012-09-16 19:10:55 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:746)

2012-09-16 19:10:55 [iNFO] [sTDERR] at java.lang.Thread.run(Unknown Source)

2012-09-16 19:10:58 [iNFO] [ForgeModLoader] Attempting early MinecraftForge initialization

2012-09-16 19:10:58 [iNFO] [ForgeModLoader] MinecraftForge v4.1.2.262 Initialized

2012-09-16 19:10:58 [iNFO] [ForgeModLoader] Completed early MinecraftForge initialization

2012-09-16 19:10:58 [FINE] [ForgeModLoader] Building injected Mod Containers [cpw.mods.fml.common.FMLDummyContainer, net.minecraftforge.common.ForgeDummyContainer]

2012-09-16 19:10:58 [FINE] [ForgeModLoader] Attempting to load mods contained in the minecraft jar file and associated classes

2012-09-16 19:10:58 [FINE] [ForgeModLoader] Skipping known library file C:\Users\omrysf\AppData\Roaming\.minecraft\bin\lwjgl.jar

2012-09-16 19:10:58 [FINE] [ForgeModLoader] Skipping known library file C:\Users\omrysf\AppData\Roaming\.minecraft\bin\jinput.jar

2012-09-16 19:10:58 [FINE] [ForgeModLoader] Skipping known library file C:\Users\omrysf\AppData\Roaming\.minecraft\bin\lwjgl_util.jar

2012-09-16 19:10:58 [FINE] [ForgeModLoader] Found a minecraft related file at C:\Users\omrysf\AppData\Roaming\.minecraft\bin\minecraft.jar, examining for mod candidates

2012-09-16 19:10:58 [FINE] [ForgeModLoader] Skipping known library file C:\Users\omrysf\AppData\Roaming\.minecraft\lib\argo-2.25.jar

2012-09-16 19:10:58 [FINE] [ForgeModLoader] Skipping known library file C:\Users\omrysf\AppData\Roaming\.minecraft\lib\guava-12.0.1.jar

2012-09-16 19:10:58 [FINE] [ForgeModLoader] Skipping known library file C:\Users\omrysf\AppData\Roaming\.minecraft\lib\asm-all-4.0.jar

2012-09-16 19:10:58 [FINE] [ForgeModLoader] Minecraft jar mods loaded successfully

2012-09-16 19:10:58 [iNFO] [ForgeModLoader] Searching C:\Users\omrysf\AppData\Roaming\.minecraft\mods for mods

2012-09-16 19:10:58 [FINE] [ForgeModLoader] Found a candidate zip or jar file generic.zip

2012-09-16 19:10:58 [FINE] [ForgeModLoader] Examining file minecraft.jar for potential mods

2012-09-16 19:10:58 [FINE] [ForgeModLoader] The mod container minecraft.jar appears to be missing an mcmod.info file

2012-09-16 19:10:59 [FINE] [ForgeModLoader] Examining file generic.zip for potential mods

2012-09-16 19:10:59 [FINE] [ForgeModLoader] The mod container generic.zip appears to be missing an mcmod.info file

2012-09-16 19:10:59 [FINE] [ForgeModLoader] Identified an FMLMod type mod tutorial.generic.Generic

2012-09-16 19:10:59 [FINEST] [ForgeModLoader] Parsed dependency info : [] [] []

2012-09-16 19:10:59 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 3 mods to load

2012-09-16 19:10:59 [FINE] [ForgeModLoader] Received a system property request ''

2012-09-16 19:10:59 [FINE] [ForgeModLoader] System property request managing the state of 0 mods

2012-09-16 19:10:59 [FINE] [ForgeModLoader] After merging, found state information for 0 mods

2012-09-16 19:10:59 [FINE] [ForgeModLoader] Activating mod FML

2012-09-16 19:10:59 [FINE] [ForgeModLoader] Activating mod Forge

2012-09-16 19:10:59 [FINE] [ForgeModLoader] Enabling mod YourName_ModName

2012-09-16 19:10:59 [FINE] [ForgeModLoader] Activating mod YourName_ModName

2012-09-16 19:10:59 [FINE] [ForgeModLoader] Verifying mod requirements are satisfied

2012-09-16 19:10:59 [FINE] [ForgeModLoader] All mod requirements are satisfied

2012-09-16 19:10:59 [FINE] [ForgeModLoader] Sorting mods into an ordered list

2012-09-16 19:10:59 [FINE] [ForgeModLoader] Mod sorting completed successfully

2012-09-16 19:10:59 [FINE] [ForgeModLoader] Mod sorting data:

2012-09-16 19:10:59 [FINE] [ForgeModLoader] YourName_ModName(ModName:Version number): generic.zip ()

2012-09-16 19:10:59 [FINER] [ForgeModLoader] Posting state event FMLConstructionEvent to mod FML

2012-09-16 19:10:59 [FINER] [ForgeModLoader] State event FMLConstructionEvent delivered to mod FML

2012-09-16 19:10:59 [FINER] [ForgeModLoader] Posting state event FMLConstructionEvent to mod Forge

2012-09-16 19:10:59 [FINER] [ForgeModLoader] State event FMLConstructionEvent delivered to mod Forge

2012-09-16 19:10:59 [FINER] [ForgeModLoader] Posting state event FMLConstructionEvent to mod YourName_ModName

2012-09-16 19:10:59 [FINER] [ForgeModLoader] State event FMLConstructionEvent delivered to mod YourName_ModName

2012-09-16 19:10:59 [sEVERE] [ForgeModLoader] Fatal errors were detected during the transition from CONSTRUCTING to PREINITIALIZATION. Loading cannot continue

2012-09-16 19:10:59 [sEVERE] [ForgeModLoader]

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

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

YourName_ModName [ModName] (generic.zip) Unloaded->Errored

2012-09-16 19:10:59 [sEVERE] [ForgeModLoader] The following problems were captured during this phase

2012-09-16 19:10:59 [sEVERE] [ForgeModLoader] Caught exception from YourName_ModName

java.lang.ClassNotFoundException: tutorial.generic.Generic

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

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

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

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

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

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

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

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:69)

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

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

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

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

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

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:69)

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

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

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

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

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

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

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

at net.minecraft.client.Minecraft.a(Minecraft.java:414)

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

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

Caused by: java.lang.NullPointerException

at org.objectweb.asm.ClassReader.<init>(Unknown Source)

at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:27)

at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:162)

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

... 31 more

2012-09-16 19:11:09 [iNFO] [sTDERR] cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: tutorial.generic.Generic

2012-09-16 19:11:09 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.transition(LoadController.java:102)

2012-09-16 19:11:09 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.loadMods(Loader.java:459)

2012-09-16 19:11:09 [iNFO] [sTDERR] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:143)

2012-09-16 19:11:09 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.a(Minecraft.java:414)

2012-09-16 19:11:09 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:746)

2012-09-16 19:11:09 [iNFO] [sTDERR] at java.lang.Thread.run(Unknown Source)

2012-09-16 19:11:09 [iNFO] [sTDERR] Caused by: java.lang.ClassNotFoundException: tutorial.generic.Generic

2012-09-16 19:11:09 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:125)

2012-09-16 19:11:09 [iNFO] [sTDERR] at java.lang.ClassLoader.loadClass(Unknown Source)

2012-09-16 19:11:09 [iNFO] [sTDERR] at java.lang.ClassLoader.loadClass(Unknown Source)

2012-09-16 19:11:09 [iNFO] [sTDERR] at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:57)

2012-09-16 19:11:09 [iNFO] [sTDERR] at java.lang.Class.forName0(Native Method)

2012-09-16 19:11:09 [iNFO] [sTDERR] at java.lang.Class.forName(Unknown Source)

2012-09-16 19:11:09 [iNFO] [sTDERR] at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:341)

2012-09-16 19:11:09 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2012-09-16 19:11:09 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2012-09-16 19:11:09 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2012-09-16 19:11:09 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source)

2012-09-16 19:11:09 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)

2012-09-16 19:11:09 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2012-09-16 19:11:09 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)

2012-09-16 19:11:09 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)

2012-09-16 19:11:09 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:268)

2012-09-16 19:11:09 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:124)

2012-09-16 19:11:09 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2012-09-16 19:11:09 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2012-09-16 19:11:09 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2012-09-16 19:11:09 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source)

2012-09-16 19:11:09 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)

2012-09-16 19:11:09 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2012-09-16 19:11:09 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)

2012-09-16 19:11:09 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)

2012-09-16 19:11:09 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:268)

2012-09-16 19:11:09 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:81)

2012-09-16 19:11:09 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.loadMods(Loader.java:458)

2012-09-16 19:11:09 [iNFO] [sTDERR] ... 4 more

2012-09-16 19:11:09 [iNFO] [sTDERR] Caused by: java.lang.NullPointerException

2012-09-16 19:11:09 [iNFO] [sTDERR] at org.objectweb.asm.ClassReader.<init>(Unknown Source)

2012-09-16 19:11:09 [iNFO] [sTDERR] at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:27)

2012-09-16 19:11:09 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:162)

2012-09-16 19:11:09 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:118)

2012-09-16 19:11:09 [iNFO] [sTDERR] ... 31 more

 

 

 

 

Neither mcp's recompile-reobfuscate nor forge's install commands gave no error for either 1.2.5 and 1.3.2 verisons. They worked flawless. Only this time (1.3.2) there was a lil' warning about server which mcp said was normal. Eclipse was content about what i did too...

 

I have a bit of knowledge about python, i have created some mods for m&b. I'm "brand" new at java (only need it for minecraft modding) So, i did everything what i learned so far. But i stuck in the first place with Java :-X

 

 

edit:

Link to comment
Share on other sites

File should be named "Generic.java" not "tutorial.generic.Generic.java"

 

Oh, i meant there "Generic class in tutorial.generic package" sory.  As i said before, nothing wrong with decompiling, compiling, obsfucating and running the client from mcp or eclipse. It's just crashes my game when i put my mod  there.

 

I reinstalled everything, included Eclipse for java ee developers' latest version. Nothing has changed.

Link to comment
Share on other sites

Caught exception from YourName_ModName

java.lang.ClassNotFoundException: tutorial.generic.Generic

 

Seems fairly straight forward:

You have a class named YourName_ModName which references tutorial.generic.Generic which is not in the class path.;

So you need to install tutorial.generic.Generic into your class path.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Patreon: http://www.patreon.com/lexmanos
Paypal: http://paypal.me/LexManos

BitCoin: 1Q8rWvUNMM2T1ZfDaFeeYQyVXtYoeT6tTn

Link to comment
Share on other sites

Caught exception from YourName_ModName

java.lang.ClassNotFoundException: tutorial.generic.Generic

 

Seems fairly straight forward:

You have a class named YourName_ModName which references tutorial.generic.Generic which is not in the class path.;

So you need to install tutorial.generic.Generic into your class path.

 

I can imagine that this is the real answer for my problem but...

 

I'm sory, am not a java guru at this point. But i'm using Eclipse and.. As serenity(it is now).generic is in the minecraft / common path; and so, as far as i can see that path is a build path in my workspace.. I don't think i 'm not that qualified to do what you offer.

So should i do that thing with mcp or harder on eclipse?

 

I've been searching on the net about this for hours i can't find anything works for me with Eclipse or MCP setting classpath.

 

I've got one thought, probably a retarded one...

Should i do that updatenames.bat ?

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
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.

 Share



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Exultant is a survival RPG server with a custom modpack for 1.12.2 with Spigot plugins. Active server: 7-15 players online most of the time. We have: * Weekend events, arenas, minigames * Shop & auction house. * Plot claim. PVP/PVE (rare that someone PVP). * Custom NPCs with quests. * World generated with RTG, Biomes o' Plenty 170+ mods. Some of the mods: Thaumcraft, Abyssalcraft, Betweenlands, Ancient warfare, Minecolonies, Immersive Engineering , Bewitchment, Fossil Archeology, Erebus, Electroblobs Wizardry, Vampirism, Custom NPCs, Blood magic, Chocolate Quest Repoured, Animania You are not allowed to grief other players bases or around them if they have been claimed. Modpack is here: https://www.curseforge.com/minecraft/modpacks/exultantconquest Discord: https://discord.gg/u6HSWQeMfz Server spec: 64 GB RAM, I9-10900K, CPU 5.3 GHZ, SSD
    • 1.14 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
    • So I create my server and everything goes well, until I run the run.bat file which contains java -Xmx3072M -Xms3072M -jar forgeserver.jar nogui PAUSE I run that and then I get this out of the commands prompt Desktop\forge 1.14.4 server>java -Xmx3072M -Xms3072M -jar forgeserver.jar nogui 2021-10-15 17:55:54,519 main WARN Advanced terminal features are not available in this environment ←[32m[17:55:54] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 28.2.0, --fml.mcpVersion, 20190829.143755, --fml.mcVersion, 1.14.4, --fml.forgeGroup, net.minecraftforge, nogui] ←[m←[32m[17:55:54] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 4.1.0+62+5bfa59b starting: java version 15.0.2 by Oracle Corporation ←[m←[32m[17:55:54] [main/INFO] [ne.mi.fm.lo.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust ←[mException in thread "main" ←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]: java.lang.NoClassDefFoundError: jdk/nashorn/api/scripting/NashornScriptEngineFactory ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at net.minecraftforge.coremod.CoreModEngine.loadCoreMod(CoreModEngine.java:48) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at net.minecraftforge.coremod.CoreModProvider.addCoreMod(CoreModProvider.java:12) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at net.minecraftforge.fml.loading.LoadingModList.addCoreMods(LoadingModList.java:88) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer.discoverMods(ModDiscoverer.java:125) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at net.minecraftforge.fml.loading.FMLLoader.beginModScan(FMLLoader.java:208) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at net.minecraftforge.fml.loading.FMLServiceProvider.runScan(FMLServiceProvider.java:105) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at cpw.mods.modlauncher.TransformationServiceDecorator.runScan(TransformationServiceDecorator.java:111) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at cpw.mods.modlauncher.TransformationServicesHandler.lambda$runScanningTransformationServices$8(TransformationServicesHandler.java:115) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at java.base/java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1766) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at cpw.mods.modlauncher.TransformationServicesHandler.runScanningTransformationServices(TransformationServicesHandler.java:116) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:63) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at cpw.mods.modlauncher.Launcher.run(Launcher.java:75) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1048]:       at net.minecraftforge.server.ServerMain.main(ServerMain.java:57) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1057]: Caused by: java.lang.ClassNotFoundException: jdk.nashorn.api.scripting.NashornScriptEngineFactory ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1057]:       at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:606) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1057]:       at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:168) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1057]:       at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) ←[m←[32m[17:55:55] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1057]:       ... 35 more ←[m
    • 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.