Jump to content

Recommended Posts

Posted

So, I've made the generic mod from the tutorials, and Eclipse said everything was fine, Minecraft ran fine in eclipse and no crashing/bugs/glitches.

But, I ran compile then re-obfuscate and zipped up  the "generic" file

reobf > minecraft > tutorial > generic

And the wiki said to put my mod in the mods folder.. and I did and nothing happend, I put it in coremods, again nothing.. So, I did the old put everything in the jar, and now it crashed with

 

 

Minecraft has crashed!

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

 

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

 

 

A full error report has been saved to C:\Users\Andrew\AppData\Roaming\.minecraft\crash-reports\crash-2013-02-18_20.51.20-client.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash

 

 

 

--- BEGIN ERROR REPORT fde32fe0 --------

Full report at:

C:\Users\Andrew\AppData\Roaming\.minecraft\crash-reports\crash-2013-02-18_20.51.20-client.txt

Please show that file to Mojang, NOT just this screen!

 

Generated 18/02/13 20:51

 

-- System Details --

Details:

Minecraft Version: 1.4.7

Operating System: Windows 7 (amd64) version 6.1

Java Version: 1.7.0_10, Oracle Corporation

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

Memory: 420955704 bytes (401 MB) / 514523136 bytes (490 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.26 FML v4.7.4.520 Minecraft Forge 6.6.0.497 4 mods loaded, 4 mods active

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

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

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

Generic [Generic] (minecraft.jar) Unloaded->Errored

LWJGL: 2.4.2

OpenGL: Mobile Intel® 4 Series Express Chipset Family GL version 2.1.0 - Build 8.15.10.2202, Intel

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

Type: Client (map_client.txt)

Texture Pack: Default

Profiler Position: N/A (disabled)

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

 

cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: tutorial.generic.generic

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

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

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

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

at asq.a(SourceFile:56)

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

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

Caused by: java.lang.ClassNotFoundException: tutorial.generic.generic

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

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

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

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

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

... 5 more

Caused by: java.lang.NullPointerException

at org.objectweb.asm.ClassReader.(Unknown Source)

at net.minecraftforge.transformers.EventTransformer.transform(EventTransformer.java:29)

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

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

... 32 more

--- END ERROR REPORT cb7999b6 ----------

 

 

 

If you're experienced, this might sound stupid, but how do I actually install my own mod!?

 

EDIT: My .rar actually needed to be .zip thanks for assistance, it's now working :D

Posted

cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: tutorial.generic.generic

 

caps > your class is called Generic.

 

and get a new tutorial to follow. your classes are full of really bad stuff. just saying.

 

My class isn't called Generic. the main class is generic.class and all the rest are Generic"".class apart from the CommonProxy and so on.

Yeah, it's the Forge tutorials, if you mean it's messy it's because on the tutorials if created new mods each time, but I like to keep everything in one file when it's a tutorial.

 

Posted
cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: tutorial.generic.generic

 

Have you changed something with the names or places after reob` ?

It seems like your loader is trying to get something from 'tutorial.generic.generic' that means from folder -> tutorial/generic/generic.class

Take a look if you haven't mistaken with where it should look at, or if you have copied files wrongly.

 

edit: nevermind saw your fix.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

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

Announcements



×
×
  • Create New...

Important Information

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