Jump to content

1.7.10 Eclipse doesn't run my mod


Hextor

Recommended Posts

I placed the code into a default folder. (I made it about a year ago, the way that a youtube guide told me, gradlew setupDecomp... etc)

The run configuration says GradleStart is the main class. I actually managed to get an error message:

 

[18:44:29] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer

[18:44:29] [Client thread/INFO] [FML]: Searching C:\Users\Hextor\Desktop\Aethoscraft\eclipse\mods for mods

[18:44:43] [Client thread/ERROR] [FML]: Unable to read a class file correctly

java.lang.ArrayIndexOutOfBoundsException: 1869638089

at org.objectweb.asm.ClassReader.readInt(ClassReader.java:2340) ~[asm-debug-all-5.0.3.jar:5.0.3]

at org.objectweb.asm.ClassReader.getAttributes(ClassReader.java:2198) ~[asm-debug-all-5.0.3.jar:5.0.3]

at org.objectweb.asm.ClassReader.accept(ClassReader.java:565) ~[asm-debug-all-5.0.3.jar:5.0.3]

at org.objectweb.asm.ClassReader.accept(ClassReader.java:506) ~[asm-debug-all-5.0.3.jar:5.0.3]

at cpw.mods.fml.common.discovery.asm.ASMModParser.<init>(ASMModParser.java:53) [ASMModParser.class:?]

at cpw.mods.fml.common.discovery.JarDiscoverer.discover(JarDiscoverer.java:72) [JarDiscoverer.class:?]

at cpw.mods.fml.common.discovery.ContainerType.findMods(ContainerType.java:42) [ContainerType.class:?]

at cpw.mods.fml.common.discovery.ModCandidate.explore(ModCandidate.java:71) [ModCandidate.class:?]

at cpw.mods.fml.common.discovery.ModDiscoverer.identifyMods(ModDiscoverer.java:131) [ModDiscoverer.class:?]

at cpw.mods.fml.common.Loader.identifyMods(Loader.java:362) [Loader.class:?]

at cpw.mods.fml.common.Loader.loadMods(Loader.java:487) [Loader.class:?]

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:206) [FMLClientHandler.class:?]

at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) [Minecraft.class:?]

at net.minecraft.client.Minecraft.run(Minecraft.java:942) [Minecraft.class:?]

at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_60]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_60]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_60]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]

at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]

at GradleStart.main(Unknown Source) [start/:?]

[18:44:44] [Client thread/ERROR] [FML]: There was a problem reading the entry com/google/common/io/MultiInputStream.class in the jar C:\Users\Hextor\.gradle\caches\modules-2\files-2.1\com.google.guava\guava\17.0\9c6ef172e8de35fd8d4d8783e4821e57cdef7445\guava-17.0.jar - probably a corrupt zip

Link to comment
Share on other sites

I ran clearCache and etc., everything went well. When I start the game forge says i have 4 mods loaded (my own included), but nothing appears in-game (besides vanilla content ofc.)

 

When I run the game i get the same error message, what I've posted before.

Link to comment
Share on other sites

Try manually deleting the Jar file at C:\Users\Hextor\.gradle\caches\modules-2\files-2.1\com.google.guava\guava\17.0\9c6ef172e8de35fd8d4d8783e4821e57cdef7445\guava-17.0.jar, the error you posted states that the jar is likely corrupted.

 

@diesieben07: The cleanCache task only cleans the ForgeGradle files, not the cached files in ~/.gradle/caches/modules-2, which is where normal dependencies are downloaded.

Don't make mods if you don't know Java.

Check out my website: http://shadowfacts.net

Developer of many mods

Link to comment
Share on other sites

Why is that shit? :D

How do you clean those then? Apart from "just nuke them manually"?

 

I've no idea, but that's the behavior according to the help and out and various bits of the code.

 

I'm not sure if there's a task that cleans the normal Gradle deps, but using the --refresh-dependencies option should force Gradle to download them again, replacing them in the cache.

Don't make mods if you don't know Java.

Check out my website: http://shadowfacts.net

Developer of many mods

Link to comment
Share on other sites

I deleted the corrupted JAR and ran sDecW and stuff like that. After finishing there was and error: project "minecraft" is missing required source folder src/Aethoscraft, solved that and now there are no problems or error messages at all, but the problem still exists.

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