Difference between revisions of "Crash Reading 101"
Line 57: | Line 57: | ||
===Non-Pixelmon crashes=== | ===Non-Pixelmon crashes=== | ||
*"at net.minecraft.server.MinecraftServer.<init>(MinecraftServer.java:140)" | *"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)" | *"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. | Add "-Djava.net.preferIPv4Stack=true" to your VM args in the profile you are using. This is found on the Minecraft launcher. |
Revision as of 11:35, 21 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.
- "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.
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.
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)"
Do not use Java 8 with Minecraft. Downgrade to Java 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.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]"
Do not use Java 8 with Minecraft. Downgrade to Java 7.
- "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"
- Black screen except for a small rectangle in the bottom-left of the window.
This is a Forge 1.7.10 bug. 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 and there is currently a bug where many Pokémon cries aren't playing.
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 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.