NPE after update from 1.6.2/1.1.2 to 1.6.6/1.2.3 (MC 1.7.10)
Issue #34
resolved
NullPointerException crash, after update of Glenn's Gases (both mods)
I don't know the code, so take the following with a big grain of salt: Based on a fast look through the source code, it seems filter is null due to some invalid tag compound. How exactly the tag got invalid is unclear to me, it might be specific to my upgrade path (used to be 1.6.2 and 1.1.2). Maybe a defensive
if (filter == null) {
filter = new GasTypeFilterOpen();
}
in TileEntityDirectionalGasPropellor might help, but admittedly this is kind of a hack.
In any case, thank you for this terrific mod!
Comments (3)
-
-
Could you give this version a download and see if the issue is resolved? I'm unable to reproduce the error on my machine. trentv.net/gasesFramework-1.7.10-1.2.3-bugfix-test.jar
-
repo owner - changed status to resolved
- Log in to comment
I'll look at it, and I'm pretty sure I know why that exists. Mind throwing the world file my way so I can verify when I fix it?