World Crashes Upon Startup (IllegalArgumentException)

Started by Iggy3434 on Tue, 05/19/2020 - 00:17

Topic category: Help with modding (Java Edition)

Last seen on 20:54, 1. Jun 2020
Joined Dec 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
World Crashes Upon Startup (IllegalArgumentException)
Tue, 05/19/2020 - 00:17

Hey hopefully someone can help me but anyways I've recently been able to convert my 1.10.2 mod to run for 1.12.2 and its been going fine until just today when I try to load a world where it quickly crashes crashes then talks about some illegal argument exception. I tried analyzing it and since it was mentioning chunks. I thought it was just some accidental block spawning in the overworld that was causing the problem but I guess it isn't. Funny enough the world generates fine in superflat mode but not on normal so I can't figure out what the problem is. It's weird that superflat works but not normal. Hopefully someone can help. This mod is also pretty large so just keep that in mind.

 

 

Here's the crash report (this is not loading through mcreator forge, it's loaded through a regular modded 1.12.2)

---- Minecraft Crash Report ----
// Hi. I'm Minecraft, and I'm a crashaholic.

Time: 5/18/20 5:06 PM
Description: Exception in server tick loop

java.lang.IllegalArgumentException
    at net.minecraft.util.WeightedRandom.func_76273_a(SourceFile:18)
    at net.minecraft.util.WeightedRandom.func_76271_a(SourceFile:37)
    at net.minecraft.world.WorldEntitySpawner.func_77191_a(WorldEntitySpawner.java:266)
    at net.minecraft.world.gen.ChunkGeneratorOverworld.func_185931_b(ChunkGeneratorOverworld.java:466)
    at net.minecraft.world.chunk.Chunk.func_186034_a(Chunk.java:1019)
    at net.minecraft.world.chunk.Chunk.func_186030_a(Chunk.java:999)
    at net.minecraft.world.gen.ChunkProviderServer.func_186025_d(ChunkProviderServer.java:157)
    at net.minecraft.server.MinecraftServer.func_71222_d(MinecraftServer.java:344)
    at net.minecraft.server.integrated.IntegratedServer.func_71247_a(IntegratedServer.java:142)
    at net.minecraft.server.integrated.IntegratedServer.func_71197_b(IntegratedServer.java:156)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)
    at java.lang.Thread.run(Thread.java:745)

A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
    Minecraft Version: 1.12.2
    Operating System: Mac OS X (x86_64) version 10.13.6
    Java Version: 1.8.0_74, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 271194168 bytes (258 MB) / 603979776 bytes (576 MB) up to 2147483648 bytes (2048 MB)
    JVM Flags: 7 total; -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
    FML: MCP 9.42 Powered by Forge 14.23.5.2854 5 mods loaded, 5 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

    | State  | ID          | Version      | Source                        | Signature                                |
    |:------ |:----------- |:------------ |:----------------------------- |:---------------------------------------- |
    | LCHIJA | minecraft   | 1.12.2       | minecraft.jar                 | None                                     |
    | LCHIJA | mcp         | 9.42         | minecraft.jar                 | None                                     |
    | LCHIJA | FML         | 8.0.99.99    | forge-1.12.2-14.23.5.2854.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | LCHIJA | forge       | 14.23.5.2854 | forge-1.12.2-14.23.5.2854.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | LCHIJA | timemachine | 1.0.5        | Time Machine V1.0.5.jar       | None                                     |

    Loaded coremods (and transformers): 
    GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
    Profiler Position: N/A (disabled)
    Player Count: 0 / 8; []
    Type: Integrated Server (map_client.txt)
    Is Modded: Definitely; Client brand changed to 'fml,forge'

Last seen on 21:18, 4. Aug 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Open up a bug ticket so you…
Tue, 05/19/2020 - 01:06

Open up a bug ticket so you can fix it.

In one mod element you have…
Tue, 05/19/2020 - 09:13

In one mod element you have spawn setting that has min value set to larger than max value.

Last seen on 20:54, 1. Jun 2020
Joined Dec 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
It worked! Thank you so much…
Tue, 05/19/2020 - 20:40

It worked! Thank you so much, I'm shocked I somehow let the min go above the max.