Difference between revisions of "Crash Reading 101"
Line 10: | Line 10: | ||
*"net.minecraftforge.fml.common.LoaderException: java.lang.IllegalAccessError: tried to access field net.minecraft.client.renderer.entity.RenderManager.field_178636_l from class com.pixelmonmod.pixelmon.client.ClientProxy" | *"net.minecraftforge.fml.common.LoaderException: java.lang.IllegalAccessError: tried to access field net.minecraft.client.renderer.entity.RenderManager.field_178636_l from class com.pixelmonmod.pixelmon.client.ClientProxy" | ||
Rename the Pixelmon jar from ".jar.zip" to ".jar". If you do not see the ".zip" extension, you need to have extensions showing on your system; a tutorial on how to do so can be found [http://www.pcadvisor.co.uk/how-to/software/3341794/how-show-or-hide-file-extensions/ here]. | Rename the Pixelmon jar from ".jar.zip" to ".jar". If you do not see the ".zip" extension, you need to have extensions showing on your system; a tutorial on how to do so can be found [http://www.pcadvisor.co.uk/how-to/software/3341794/how-show-or-hide-file-extensions/ here]. | ||
− | |||
− | |||
− | |||
===Version 3.4.''x''=== | ===Version 3.4.''x''=== | ||
*"cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraftforge/event/world/BlockEvent$PlaceEvent" | *"cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraftforge/event/world/BlockEvent$PlaceEvent" |
Revision as of 19:01, 12 May 2015
So I herd you liek crashing? Well good! I am here to help to fix those pesky crashes! Welcome to Crash Reading 101. A "crash" course! Minecraft runs very specifically especially when installing mods and the smallest error, as you know, can cause the mod to crash! >:( but do not fret! I am here to help! Let's start. Here I have gathered a bunch of crashes around the Pixelmon forums and compiled them into one universal tutorial anyone can understand!
Contents
Crash reports
The following messages are found under the section that says description near the top of the report. Each bullet point is a separate crash report.
Version 4.0.x
- "net.minecraftforge.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraftforge/client/model/IModel"
- "net.minecraftforge.fml.common.LoaderException: java.lang.NoSuchMethodError: net.minecraftforge.client.model.ModelLoader.setCustomStateMapper(Lnet/minecraft/block/Block;Lnet/minecraft/client/renderer/block/statemap/IStateMapper;)V"
- "java.lang.NoClassDefFoundError: net/minecraftforge/common/util/EnumHelper"
Use the recommended Forge version listed on the Pixelmon downloads page.
- "net.minecraftforge.fml.common.LoaderException: java.lang.IllegalAccessError: tried to access field net.minecraft.client.renderer.entity.RenderManager.field_178636_l from class com.pixelmonmod.pixelmon.client.ClientProxy"
Rename the Pixelmon jar from ".jar.zip" to ".jar". If you do not see the ".zip" extension, you need to have extensions showing on your system; a tutorial on how to do so can be found here.
Version 3.4.x
- "cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraftforge/event/world/BlockEvent$PlaceEvent"
Your Forge version is outdated. You must being using Forge 10.13.1.1219 or later.
- "java.lang.NoSuchMethodError: net.minecraftforge.common.util.EnumHelper.addArmorMaterial(Ljava/lang/String;Ljava/lang/String;I[II)Lnet/minecraft/item/ItemArmor$ArmorMaterial;
The newest 1.7.10 Forge versions cause this error. Use the Forge version recommended on the Pixelmon downloads page.
Version 3.3.x
- "cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: com.pixelmonmod.pixelmon.Pixelmon"
Do not extract the Pixelmon jar file. Place the entire downloaded file directly into the mods folder.
- "java.lang.UnsupportedClassVersionError: coloredlightscore/src/asm/ColoredLightsCoreLoadingPlugin : Unsupported major.minor version 51.0"
- "cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: com.pixelutilities.Basemod"
- "cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: com.pqqqqq.spawnofpsyduck.SpawnOfPsyduck"
Both PixelUtilities and Spawn of Psyduck require Java 7 or 8 to function and will not work with Java 6.
- "cpw.mods.fml.common.MissingModsException"
If you are using Wawla, you need to install Waila, Not Enough Items, and CodeChickenCore in order for it to work.
Version 3.2.x
- "cpw.mods.fml.common.LoaderException: java.lang.NoSuchFieldError: field_150354_m"
- "java.lang.NoClassDefFoundError: net/minecraftforge/common/util/EnumHelper"
You have the wrong Minecraft and/or Forge version. Pixelmon 3.2 is for Minecraft 1.7.10 using a version of Forge that is at least 10.13.0.1187.
- "cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: com.pixelmonmod.pixelmon.Pixelmon"
Do not extract the Pixelmon jar file. Place the entire downloaded file directly into the mods folder.
- "at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:507)"
You have multiple copies of Pixelmon inside the mods folder. Remove all but one copy.
- "cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: com.pqqqqq.spawnofpsyduck.SpawnOfPsyduck"
Spawn of Psyduck does not work with Java 6. Update to Java 7 or Java 8.
- "at com.pixelmonmod.pixelmon.sounds.Sounds.clearMusic(Sounds.java:90)"
Delete the Pixelmon.h2.db file in the database folder.
- "at java.nio.Buffer.checkIndex(Unknown Source)"
- "Mod rejections [FMLMod:pixelmon:(3.2.x)]"
Your version of Pixelmon must match the version of Pixelmon that is on the server you are trying to join.
- "java.lang.ClassCastException: com.pixelmonmod.pixelmon.client.camera.EntityCamera cannot be cast to net.minecraft.client.entity.EntityPlayerSP"
Do not use Optifine with this version of Pixelmon.
Version 3.1.x
- "java.lang.IllegalStateException: cannot determine the type of the type parameter 'REQ': class cpw.mods.fml.common.network.simpleimpl.SimpleChannelHandlerWrapper"
- "java.lang.NoClassDefFoundError: net/minecraftforge/common/util/EnumHelper"
- "java.lang.NoSuchMethodError: net.minecraft.client.gui.ScaledResolution.<init>"
- "at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:192)"
- "java.lang.NoSuchMethodError: com.google.common.collect.Multimaps.filterValues(Lcom/google/common/collect/SetMultimap;Lcom/google/common/base/Predicate;)Lcom/google/common/collect/SetMultimap;"
All of these errors occur with incorrect versions of Minecraft and/or Forge being used. Make sure you are running Minecraft 1.7.2 and either Forge 10.12.2.1121 or 10.12.2.1147.
- "cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: com.pixelmonmod.pixelmon.Pixelmon"
Do not extract the Pixelmon jar file. Place the entire downloaded file directly into the mods folder.
- "java.lang.RuntimeException: Unknown character ' ' in"
Delete your Pixelmon.cfg file.
- "at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:506)"
You have multiple Pixelmon jars in the mods folder. Only one Pixelmon jar should be in the mods folder at once.
- "at com.pixelmonmod.pixelmon.sounds.Sounds.clearMusic(Sounds.java:90)"
Delete the Pixelmon.h2.db file in the database folder.
Version 3.0.x
- "java.lang.NoClassDefFoundError: cpw/mods/fml/common/ICraftingHandler"
- "cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraftforge/client/event/RenderGameOverlayEvent$Chat"
- "java.lang.NoSuchMethodError: net.minecraft.launchwrapper.LaunchClassLoader.clearNegativeEntries(Ljava/util/Set;)V"
- "java.lang.VerifyError: Bad type on operand stack"
- "java.lang.VerifyError: (class: pixelmon/Pixelmon, method: onServerStart signature: (Lcpw/mods/fml/common/event/FMLServerStartingEvent;)V) Incompatible argument to function"
You have the wrong version of Minecraft, Forge, or both. Pixelmon 3.0.4 runs on Minecraft 1.6.4 using Forge version 9.11.1.965.
- "cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: pixelmon.Pixelmon"
Do not extract the Pixelmon jar file. Place the entire downloaded file directly into the mods folder.
- "java.lang.RuntimeException: Unknown character ' ' in"
- "java.lang.RuntimeException: Unmatched quote in '/config/pixelmon.cfg:175'"
Delete the Pixelmon.cfg file.
- "at pixelmon.sounds.Sounds.addPokemonSound(Sounds.java:106)"
Java 8 does not normally work with this version of Forge. You can use the Legacy Java Fixer to fix this issue.
- "at net.minecraft.block.Block.<init>(Block.java:349)"
You have item ID conflicts between mods. Modify the offending item IDs or remove the mods that are causing the problem.
- "at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:123)"
Not Enough Items does not work with this version of Pixelmon.
Non-Pixelmon crashes
- "at net.minecraft.server.MinecraftServer.<init>(MinecraftServer.java:140)"
- "at net.minecraft.server.MinecraftServer.<init>(MinecraftServer.java:146)"
- "at net.minecraft.client.Minecraft.func_71371_a(Minecraft.java:2088)"
Add "-Djava.net.preferIPv4Stack=true" to your VM args in the profile you are using. This is found on the Minecraft launcher.
- "at java.util.ArrayList$Itr.checkForComodification(Unknown Source) ~[?:1.8.0_20]"
Update to the latest Forge version.
- "at com.mojang.util.UUIDTypeAdapter.fromUUID(UUIDTypeAdapter.java.22)"
You have a cracked account and are trying to join a premium server. Buy Minecraft.
- "at java.nio.Buffer.checkIndex(Unknown Source)"
Lower your render distance to 16 chunks or less.
- "java.lang.OutOfMemoryError: Java heap space"
You haven't allocated enough memory to Minecraft. In the JVM arguments in your Minecraft profile, find the argument that starts with "-Xmx" and increase it to something like "-Xmx1G" or "-Xmx2G" (be sure that your system has enough RAM to do so).
- "java.io.UTFDataFormatException: malformed input around byte"
Update to the newest Cauldron version.
Console Errors
- "[Client thread/ERROR]: 1286: Invalid framebuffer operation"
- Blank screen except for a small rectangle in the bottom-left of the window.
This is a bug with older versions of Forge. Either update to at least Forge 10.13.2.1226 or add "-Dforge.forceNoStencil=true" to the JVM arguments in your Minecraft profile.
- "[Client thread/WARN]: Unable to play unknown soundEvent: pixelmon:pixelmon.mob."
If you can hear sounds in-game and this still appears in the console, there's nothing wrong on your side. Some Pokémon don't have their cries implemented yet.
- "[Client thread/ERROR]: Using missing texture, unable to load pixelmon:textures/items/blocks/mechanicalanvil.png"
This is not an issue. The mechanical anvil simply doesn't have its texture implemented yet.
Other
- "Java Version: 1.6.0_65"
If this shows up in your system details of the Minecraft crash report, you are running the wrong Java and several issues may occur in battle, such as priority and stat boosts becoming negative. Update to Java 7 or Java 8.
If your crash report doesn't match any of these issues, post the full report in the support tracker.
I will add more as I find more posts on the forums ^_^ happy crashing. I think...