Posted June 5, 20205 yr I've been having a problem with my Slimeblock Elevator on a Minecraft server: while I'm being launched up, my game crashes! java.lang.IllegalArgumentException: The value 18336 is not in the specified inclusive range of 0 to 16383 Previously, this problem has arose and disappeared. It used to stop happening when I turned off OptiFine. I submitted an issue to them, and they said it wasn't OptiFine. The issue was fixed, anyways, but today, it started happening again. I had just updated my mods (which was NOT the problem, btw), and when I hit the button to go up, I crashed again! The first thing I did was remove OptiFine from my mods folder, to see if it was causing it again. It continued to crash. Next, I removed everything from my mods folder (with the exception of the .rar I put all the mods into) and tried it again. Still crashed. java.lang.IllegalArgumentException: The value 18336 is not in the specified inclusive range of 0 to 16383 Why? It's funny. I used to get different numbers each time. Today, they were always the same: 18336 is not in the specified inclusive range of 0 to 16383. I then tried removing my resource packs (except mod resources that I couldn't remove). It finally didn't crash! I was still going to write a bug report because it worked fine no matter what on Vanilla. But, I read the rules and saw that in order to get support, you must be on the latest version. So I "upgraded" from 31.2.0 to 31.2.8. Now it crashed both with and without the resource packs! YAY! (Side note, if it helps: the 31.2.8 was on a different game directory than 31.2.0 but at this point they were both free of mods in the mods folder.) So, I can verify that this is a Minecraft Forge issue, as it happens without any mods, with and without resource packs, and never crashes on Vanilla. If it helps, the game seemed to crash more consistently with resource packs ON, though it may be coincidental as going back to 31.2.0 and disabling resource packs still caused it after I tested 31.2.8 even though they were launched on different game directories, so it wasn't a file in one or the other that triggered it. I'll also add that I got the same number values (18336 is not in the specified inclusive range of 0 to 16383) both in the default ~/.minecraft/ directory and the one I have my mods on. Here are the relevant logs and crash reports: Stacktrace (completely identical between both game directories and 2 back-to-back crashes per directory): -- Head -- Thread: Render thread Stacktrace: at org.apache.commons.lang3.Validate.inclusiveBetween(Validate.java:1032) at net.minecraft.util.BitArray.func_219789_a(SourceFile:37) at net.minecraft.util.palette.PalettedContainer.func_222643_a(PalettedContainer.java:121) at net.minecraft.util.palette.PalettedContainer.func_222641_a(PalettedContainer.java:110) at net.minecraft.world.chunk.ChunkSection.func_177484_a(SourceFile:60) at net.minecraft.world.chunk.ChunkSection.func_222629_a(SourceFile:54) at net.minecraft.world.chunk.Chunk.func_177436_a(Chunk.java:250) at net.minecraft.world.World.func_180501_a(World.java:177) at net.minecraft.tileentity.PistonTileEntity.func_73660_a(PistonTileEntity.java:293) Most Recent 31.2.0 Crash report (modded directory with no mods in mods folder, but there's an archive with the mods in that) Most Recent 31.2.8 Crash report (default directory with no mods in mods folder, but there's a few folders used by some Fabric mods. There are no Fabric mods in the folder, either.) 31.2.0 latest debug.log 31.2.8 latest debug.log I hope you guys can fix this! Thanks in advance for your help! Edited June 5, 20205 yr by emkirsh spoiler thingy is broken
June 6, 20205 yr Author bump. Please help me with this. I see active mods with the ability to close posts but none have responded to this yet.
June 7, 20205 yr Author But the problem only happens with Forge. If Forge is causing the crash, then why would it be Paper? Also, I didn't mean it that way. I just wanted a response and was tired. Sorry if I seemed rude. I'll also submit a bug report to Paper. Edited June 7, 20205 yr by emkirsh
June 7, 20205 yr Author Update: It must've been paper because my server updated and it's fixed. How strange! Feel free to close this thread!
June 7, 20205 yr Author The strangest thing happened! It was working fine with Forge installed, but then I added my mods back and it broke again. I then removed OptiFine and it still broke. I then removed my other mods and it continued to break, despite the fact that it worked earlier. Disabling server resource pack fixed it again, then re-enabling it broke it!
June 8, 20205 yr Post logs. Some tips: Spoiler Modder Support: Spoiler 1. Do not follow tutorials on YouTube, especially TechnoVision (previously called Loremaster) and HarryTalks, due to their promotion of bad practice and usage of outdated code. 2. Always post your code. 3. Never copy and paste code. You won't learn anything from doing that. 4. Quote Programming via Eclipse's hotfixes will get you nowhere 5. Learn to use your IDE, especially the debugger. 6. Quote The "picture that's worth 1000 words" only works if there's an obvious problem or a freehand red circle around it. Support & Bug Reports: Spoiler 1. Read the EAQ before asking for help. Remember to provide the appropriate log(s). 2. Versions below 1.11 are no longer supported due to their age. Update to a modern version of Minecraft to receive support.
June 9, 20205 yr Author latest.log with my regular mods loaded latest.log -- forge only ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Both of the above are on Forge 31.2.0 If you need them on 31.2.8 as well, let me know. Edited June 9, 20205 yr by emkirsh spoiler feature is broken so using gist instead
June 9, 20205 yr Author 12 hours ago, diesieben07 said: The server is sending invalid level data (information about the blocks in the world). Most likely an issue with the server software. I'll send this all over to Paper. Thanks! I guess maybe Vanilla just ignores it or something but Forge is too smart and knows something's wrong? Also, if it's sending back invalid level data, would removing ProtocolLib help? Edited June 9, 20205 yr by emkirsh
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.