Crash at startup after upgrade
harley9699699 opened this issue ยท 12 comments
Go to the version that is fine
then remove all Logistical sorters or someting related to mekanism inventory system
do the upgrade again and replace the pipes
try it :)
Oh my God! That'd take forever. Crap. Guess I stay on the old one then. Geez.
I've got one line alone that's over 300 long, to an incrementally moved digital miner. That doesn't take into account ALL of the ones and color-coded ones tied directly to all of the machines.
I believe I have the same issue. I had broke about five Advanced Logistical Transporters but crashed the moment I broke the Advanced Logistical Transporter that was attached to the Logistical Sorter. I was using the 8.1.6.250 versions when the crash occurred. I was playing SSP but now I am unable to load that world. The same crash occurs immediately upon loading the world now. I am going to follow M4vErw1kiXL's advice to see if that allows me to load this world again.
Here's my crash log:
http://pastebin.com/TCqmfsgz
@unpairedbracket, does this have anything to do with the recent inventory management changes?
I too have the same error; https://gist.github.com/QORTEC/a36332859c6e9cca229d.
I my testing this error only seams to happen when I am loading an existing world, reading the text above I'm guessing its b/c I have Mekanism blocks placed on my world...
@M4vErw1kiXL:
Thank you for your suggestion unfortunately It's not feasible on large builds/servers. As a server admin/modpack maintainer I cannot ask my users to remember where they placed all of their Mekanism related blocks and then remove them. This process could take an ungodly amount of time, I would sooner restart the world since that would probably cause less wrath...
My paste of what appears to be the same crash: http://pastebin.com/1fGD6maK
For what it is worth, I can only get it to crash when using the Logistical Sorter to pull FROM an Applied Energistics 2 charger.
Reproduction steps that work (where 'work' is 'crash spectacularly') for me:
AE2 Charger -> Logistical Sorter -> Basic Logistical Transporter
Set the Logistical Sorter filter via ItemStack to Charged Certus Quartz. Click save. Boom.
The pipe is required. It won't crash if it is just a charger, sorter pair. It does not matter if there is a destination for the pipe. It'll go yucky if there is a chest at the end or not.
No promises that other reports are using the same setup, of course!
Since I'm free, and I just crashed... I decided to take a look.
The variable 'side' is being accessed in the StackSearcher constructor BEFORE its initialized.... which would cause a NPE.
I was really lucky that I never used any logistical transporters in my world until now LOL.
From what I can see, as soon as theres any filters set, and its outputting to Logistical Transporters, and the block its pulling from is an instance of ISidedInventory(which would probably be most blocks with sided inventories), it will crash.
This bug was introduced by commit d5f5565
@harley9699699 @HowardRoark2016 @QORTEC @Ommina
EDIT: UPDATE TO 8.1.7
@ruifung Is this fixed in v8.1.6.250?
EDIT: No, I just ran it through a decompiler to see and its not fixed. Use the version I compiled above.
@ruifung I'm using you fix, but can I update to v8.1.7.252 and still not have the crash?