Mekanism

Mekanism

111M Downloads

Salination Plants causing client crash (Not Responding)

mikestancato opened this issue ยท 38 comments

commented

For some reason (for the second time) whenever I come into range of my salination plants, my client completely freezes and locks me out of the game. When I restart Minecraft and try to the load the world it immediately locks up and doesn't respond. I fixed it the first time by lowering my loaded chunks and moving into the area slowly. After adding 8 more plants and with my character being right next to them, the issue has happened again and it's now impossible to fix it by lowering my vision range. I have 4GB dedicated to MC and 8GB of ram. I tried turning off machine effects/lighting/sound, still didn't help. Furthermore the game isn't producing a log. I can guarantee it is due to the salination plants because I have them 600+ meters away from my base with no other objects other than a tesseract.

commented

I just wanted to add to this issue, as it is one of the few places I have found searching on google discussing this problem, that I have neither EnderIO nor Mekanism and I am still getting this crash/freeze. It is random and unpredictable.

Just to reiterate:

java.lang.NullPointerException: Unexpected error
    at cofh.lib.util.LinkedHashList.delete(LinkedHashList.java:267)
    at cofh.lib.util.LinkedHashList.shift(LinkedHashList.java:168)
    at net.minecraft.world.World.func_72939_s(World.java:50532)
    at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:2006)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:973)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898)
    at net.minecraft.client.main.Main.main(SourceFile:148)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
commented

This is actually an integration issue. I guarantee it won't happen without other mods installed.

commented

well we like playing with other mods!
this needs to be fixed somehow /=

commented

i wouldnt say its his fault, he works hard to get these fixes.

Im just hoping there is someway to fix this, i already made a report on the same problem, i have the same type of mods, but its harder for me to remove them to test it on a 24/7 server where its happening.

Perhaps try removing enderio, ive heard speculation that it could be the culprit, or maybe it really is just something really sneaky in mekanism, who knows.

commented

Yeah. I am pretty disappointed at this point. Dismissing an issue as "integration" doesn't make it okay. I am running the most common and needed mods. Ender IO, AE2, MFR, Magical Crops, Tinker's Construct, Big Reactors. I am running 42 mods in total which is already an insanely low amount.

commented

Down to 24 mods (including cores/apis) Latest log output:

java.lang.NullPointerException: Unexpected error
at net.minecraft.world.World.func_72939_s(World.java:1935)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1994)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:961)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

I have no idea where to go from here.

commented

i would re-add the mods till the world works again, and then skip over the mod when it begins working, and just continue removing mods(have you been checking the world every time you remove the mod to see if the problems fixed)

commented

In the process of doing that now. Will keep you updated.

commented

Sorry, I've had a long day - I just get so many of these types of issues. I'm fairly certain the issue is EnderIO, hopefully they will push an update fairly soon.

commented

@mikestancato try removing enderio if you get the chance and see if the problem stops(make sure to make a backup of your world)

If it is enderio, i'll make sure to report it to them

and np @aidancbrady you work really hard on your mod, all the textures, and even the amount of realism you put into it(like the reactor) and the whole mod itself, its probably one of th top best mods out

commented

I am currently doing so. Stripped down to 28 mods so far. Seems it could be a CoFH issue. Will update.

commented

@mikestancato hmm i reported it to CoFH but they say its possibly mekanism, but i guess we'll find out based on your report

commented

It's an issue with CoFH and Mekanism.

java.lang.NullPointerException: Unexpected error
at cofh.lib.util.LinkedHashList.delete(LinkedHashList.java:267)
at cofh.lib.util.LinkedHashList.shift(LinkedHashList.java:168)
at net.minecraft.world.World.func_72939_s(World.java:50532)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1994)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:961)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

Trying to figure out where to go from here.

commented

i had the same error, are those the only mods remaining? CoFH mods and mekanism?

commented

Yes. I am now trying different versions of CoFH to see if I can fix or get different results. Will updates again shortly.

commented

ok, im going to link cofh back to this, so now they know it is their mods

commented

@KingLemming So that crash we all have been trying to figure out, we have narrowed it down.

The only mods remaining that this guy has are Mekanism and CoFH mods.
So it is indeed some type of issue between you two.

commented

CoFH Core Versions:
RC7-266 : Loads into world then almost immediately crashes ("Shutting Down Server" -> CTD)
Log Info:
java.lang.NullPointerException: Unexpected error
at cofh.lib.util.LinkedHashList.delete(LinkedHashList.java:267)

RC7-211 : Loads into world and game freezes completely. (Only way to close is ctrl/alt/del)
No log info given.

RC7-207 : Same as 211

commented

It does that even in latest version, sometimes you freeze, sometimes you dont, its random.
Lets wait and see what KingLemming and aidan have to say whenever they are here

commented

This is on Mek's side, sorry guys.

Here's why:

java.lang.NullPointerException: Unexpected error
at cofh.lib.util.LinkedHashList.delete(LinkedHashList.java:267)
at cofh.lib.util.LinkedHashList.shift(LinkedHashList.java:168)
at net.minecraft.world.World.func_72939_s(World.java:50532)

We have a list. It responds to things that happen in World, as is clearly shown here. If this were on our end, it would happen 100% every time with every. single. chunk. It doesn't.

There is something unique to Mek's salination plants that screws with World and/or the chunk loading process.

commented

Can someone test this without EnderIO and see if the crash still happens? I can't reproduce this with only Mekanism and CoFHCore/TE.

commented

i have mek 8 cofhcore/te ender io and many others and i have never got this crash, no idea

commented

well the problem for me is, removing enderio from the server causes a crash
didnt crash this time, will try and test to see if problems fixed

commented

Removing EnderIO seems to have fixed it
Should i tag crazypants?

commented

That's what I thought. EnderIO does some fancy reflection stuff with Solar evaporation plants if I'm not mistaken, considering the class name changed since v7, there's a good chance that is the root of the issue. I'll keep providing support, but I assure you this is not on my end.

commented

@tterrag1098 please look into this

commented

How could EIO cause this? We don't mess with evaporation plants as far as I know.

commented

What I'd like to know is: Which mod is ASMing Minecraft here? All those line numbers make no sense at all.

commented

Im not sure, but this only happens when EnderIO and Mekanism are put together

commented

Could it be a 3-way mod conflict? Has this been reproduced with only Mekanism and EnderIO, and nothing else?

commented

well according to @mikestancato he kept removing mods, and he was down to only Mekanism CoFH and EnderIO, after removing EnderIO the problem stopped.

I removed EnderIO and the problem stopped as well.
Maybe its Mekanism doing something with EnderIO or its EnderIO doing something with Mekanism.

hopefully this can be worked out, because a lot of people are starting to get this problem.

commented

if you would like, download my modpack IndustrialAgeTheTurning on technic, and the server is auto downloaded, you can see the problem there, or get enderio and mekanism and build a bunch of solar evaporation plants and see if you can reproduce the crash, im not sure if it happens all the time, or if its just random

commented

Oh wow, yeah. I see what you mean @HenryLoenwind - line 50532 doesn't exist (there are only 4507 lines in World) and updateEntities (aka func_72939_s) runs from L2013 to L2242 in the version I'm looking at. I'll take a look at behaviour with only Mekanism and EnderIO installed, and if I can reproduce in a dev env I'll see if I can work out what's going on. Might be difficult if mods are ASMing Minecraft all over the place, though.

commented

@unpairedbracket if theres any other info you need just let me know, goodluck!

commented

any progress on this at all?

commented

This isn't just an issue with EnderIO, I'm pretty sure. Here's why:

After I had put up a few solar evaps on a creative world I kept experiencing the crashes when trying to start up the game. However, it only began to occur after I had finally left the region and attempted to reload those chunks upon my return. I haven't used a single EnderIO block/conduit/etc on that save, but I did have some fluiducts running from the solar evaps into a tesseract. After popping into MCEdit and removing them both, I was then able to load perfectly fine. I've since replaced the setup with Mekanism's mechanical pipe and ender tanks, removing both the tesseracts and fluiducts, and have had no issues since.

This leads me to believe it's an interaction between more than just EnderIO and Mekanism; CoFH doesn't play well with the new API either.

commented

fix pleaseeee

commented

i got this issue too - i got several crash logs for it - and apparently Fastcraft doesnt like the way it is dealth with too, can provide them if needed