question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IllegalArgumentException on world load

See original GitHub issue

Zip of world: https://mega.nz/#!GU1lnbjQ!Fp5Z5YmM91WOl8p5oRs_gE9KDzMFXq19SCMFsKW7vGc Stacktrace:

net.minecraft.util.ReportedException: Ticking memory connection
    at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:210) ~[NetworkSystem.class:?]
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:806) ~[MinecraftServer.class:?]
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:687) ~[MinecraftServer.class:?]
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:156) ~[IntegratedServer.class:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:536) [MinecraftServer.class:?]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_65]
Caused by: java.lang.IllegalArgumentException: minY > maxY (65 > 64)
    at cubicchunks.world.cube.Cube$LightUpdateData.queueLightUpdate(Cube.java:531) ~[Cube$LightUpdateData.class:?]
    at cubicchunks.lighting.LightingManager.queueDiffuseUpdate(LightingManager.java:74) ~[LightingManager.class:?]
    at cubicchunks.lighting.LightingManager.columnSkylightUpdate(LightingManager.java:59) ~[LightingManager.class:?]
    at cubicchunks.server.chunkio.IONbtReader.readLightingInfo(IONbtReader.java:255) ~[IONbtReader.class:?]
    at cubicchunks.server.chunkio.IONbtReader.readCube(IONbtReader.java:115) ~[IONbtReader.class:?]
    at cubicchunks.server.chunkio.CubeIO.loadCubeAndAddToColumn(CubeIO.java:170) ~[CubeIO.class:?]
    at cubicchunks.server.ServerCubeCache.loadCube(ServerCubeCache.java:348) ~[ServerCubeCache.class:?]
    at cubicchunks.server.ServerCubeCache.loadCube(ServerCubeCache.java:388) ~[ServerCubeCache.class:?]
    at cubicchunks.world.dependency.DependencyManager.register(DependencyManager.java:122) ~[DependencyManager.class:?]
    at cubicchunks.worldgen.dependency.DependentCubeManager.register(DependentCubeManager.java:75) ~[DependentCubeManager.class:?]
    at cubicchunks.worldgen.WorldGenerator.generateCube(WorldGenerator.java:156) ~[WorldGenerator.class:?]
    at cubicchunks.worldgen.WorldGenerator.generateCube(WorldGenerator.java:172) ~[WorldGenerator.class:?]
    at cubicchunks.server.ServerCubeCache.loadCube(ServerCubeCache.java:369) ~[ServerCubeCache.class:?]
    at cubicchunks.server.ServerCubeCache.loadCube(ServerCubeCache.java:388) ~[ServerCubeCache.class:?]
    at cubicchunks.world.dependency.DependencyManager.register(DependencyManager.java:122) ~[DependencyManager.class:?]
    at cubicchunks.worldgen.dependency.DependentCubeManager.register(DependentCubeManager.java:75) ~[DependentCubeManager.class:?]
    at cubicchunks.worldgen.WorldGenerator.generateCube(WorldGenerator.java:156) ~[WorldGenerator.class:?]
    at cubicchunks.worldgen.WorldGenerator.generateCube(WorldGenerator.java:172) ~[WorldGenerator.class:?]
    at cubicchunks.server.ServerCubeCache.loadCube(ServerCubeCache.java:340) ~[ServerCubeCache.class:?]
    at cubicchunks.server.ServerCubeCache.loadCube(ServerCubeCache.java:384) ~[ServerCubeCache.class:?]
    at cubicchunks.server.PlayerCubeMapEntry.<init>(PlayerCubeMapEntry.java:71) ~[PlayerCubeMapEntry.class:?]
    at cubicchunks.server.PlayerCubeMap.getOrCreateCubeWatcher(PlayerCubeMap.java:304) ~[PlayerCubeMap.class:?]
    at cubicchunks.server.PlayerCubeMap.lambda$addPlayer$6(PlayerCubeMap.java:366) ~[PlayerCubeMap.class:?]
    at cubicchunks.visibility.CuboidalCubeSelector.forAllVisibleFrom(CuboidalCubeSelector.java:43) ~[CuboidalCubeSelector.class:?]
    at cubicchunks.server.PlayerCubeMap.addPlayer(PlayerCubeMap.java:362) ~[PlayerCubeMap.class:?]
    at net.minecraft.server.management.PlayerList.preparePlayer(PlayerList.java:310) ~[PlayerList.class:?]
    at net.minecraft.server.management.PlayerList.playerLoggedIn(PlayerList.java:389) ~[PlayerList.class:?]
    at net.minecraft.server.management.PlayerList.initializeConnectionToPlayer(PlayerList.java:171) ~[PlayerList.class:?]
    at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:263) ~[NetworkDispatcher.class:?]
    at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.access$100(NetworkDispatcher.java:73) ~[NetworkDispatcher.class:?]
    at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.update(NetworkDispatcher.java:212) ~[NetworkDispatcher$1.class:?]
    at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:308) ~[NetworkManager.class:?]
    at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:195) ~[NetworkSystem.class:?]
    ... 5 more

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
Barteks2xcommented, Sep 18, 2016

I hope so. Now I think I should write more comments in my code… I can’t figure out how the code was supposed to work.

1reaction
Barteks2xcommented, Sep 18, 2016

Looks like I just got the same issue myself with my world.

Read more comments on GitHub >

github_iconTop Results From Across the Web

java.lang.IllegalArgumentException: ChunkNibbleArrays ...
IllegalArgumentException: ChunkNibbleArrays should be 2048 bytes not: 0 , it means that your world is corrupt. This error usually occurs when switching ...
Read more >
java.lang.IllegalArgumentException: Name and ID cannot both ...
Minecraft closes when opening a world: java.lang.IllegalArgumentException: Name and ID cannot both be blank.
Read more >
[GUIDE] IllegalArgumentException when loading a location ...
The solution is pretty easy, bukkit only loads normal worlds, not those who where created by your loved world management plugin. If your...
Read more >
Solved - IllegalArgumentException - Bukkit Forums
It only throws the error when the world "mineshaft", as seen in the config file, has NOT been generated. Because it can't make...
Read more >
Name and ID cannot both be blank" : r/Minecraft - Reddit
IllegalArgumentException: Name and ID cannot both be blank" error but taking in mind how that error ... Single player world should load ok....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found