Difference between revisions of "Crash Reading 101"
Line 2: | Line 2: | ||
==Crash reports== | ==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. | 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 3.2. | + | ===Version 3.2.x=== |
*"cpw.mods.fml.common.LoaderException: java.lang.NoSuchFieldError: field_150354_m" | *"cpw.mods.fml.common.LoaderException: java.lang.NoSuchFieldError: field_150354_m" | ||
*"java.lang.NoClassDefFoundError: net/minecraftforge/common/util/EnumHelper" | *"java.lang.NoClassDefFoundError: net/minecraftforge/common/util/EnumHelper" | ||
Line 24: | Line 24: | ||
*"java.io.UTFDataFormatException: malformed input around byte" | *"java.io.UTFDataFormatException: malformed input around byte" | ||
Update to the newest Cauldron version. | Update to the newest Cauldron version. | ||
− | ===Version 3.1. | + | ===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.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.NoClassDefFoundError: net/minecraftforge/common/util/EnumHelper" | ||
Line 44: | Line 44: | ||
Add -Djava.net.preferIPv4Stack=true to the JVM arguments in your Minecraft profile. | Add -Djava.net.preferIPv4Stack=true to the JVM arguments in your Minecraft profile. | ||
− | ===Version 3.0. | + | ===Version 3.0.x=== |
*"java.lang.NoClassDefFoundError: cpw/mods/fml/common/ICraftingHandler" | *"java.lang.NoClassDefFoundError: cpw/mods/fml/common/ICraftingHandler" | ||
*"cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraftforge/client/event/RenderGameOverlayEvent$Chat" | *"cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraftforge/client/event/RenderGameOverlayEvent$Chat" |
Revision as of 23:22, 4 September 2014
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 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.
"at java.util.ArrayList$Itr.checkForComodification(Unknown Source) ~[?:1.8.0_20]" Downgrade to Java 7.
- "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.
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 net.minecraft.server.MinecraftServer.<init>(MinecraftServer.java:140)"
Add -Djava.net.preferIPv4Stack=true to the JVM arguments in your Minecraft profile.
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)"
Downgrade to Java 1.7.
- "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.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.
Console Errors
- "[Client thread/ERROR]: 1286: Invalid framebuffer operation"
- Black screen except for a small rectangle in the bottom-right of the window.
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. Some Pokémon simply don't have their cries 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 your Java to 1.7.
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...
Credits
Original guide written by AnDwHaT5/TheZigswagoon.