View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001413||Industrial-Craft²||machines||public||2014-09-27 18:14||2014-10-08 10:48|
|Product Version||Builds for MC 1.7.10|
|Target Version||Fixed in Version|
|Summary||0001413: NPE from .canDrain check on tanks inside machines|
|Description||IFluidHandler canDrain check on tanks that are internal to the ic2 machines, for example the condenser and fluid reactor, will cause an NPE that crashes the game for good.|
|Steps To Reproduce||Perform canDrain check on ic2 machine with tank.|
|Additional Information||It's permanently fatal to your save. Make a backup.|
|Tags||No tags attached.|
2014-09-25-1.log.gz (1,955 bytes)
||Could be a bug with LogisticsPipes, retry w/o and use an other mod like EnderIO or BC wich also support fluid-transport.|
||I will do a complete investigation, but I know it performs a canDrain on the thermal expansion tanks... but NOT the buildcraft ones. For that it uses ISpecialTankHandler because BC always does a "FALSE" return on canDrain. Oh yah the developers over on LP told me it was IC2 bug when I reported it. I'll report what I find after digging in the buildcraft source.|
Well, maybe its just me, but its not clear what you mean.
As far as I can guess you try to drain out a tank inside a ic2-machine with an other mod (in this case LP) wich fails by named NPE. The StackTrace says that LP try to call named method but gets null. So anything inside this method seems to be null. Sadly ic2-team doesnt publish the siurce so we could investigate.
||yah that's right LP does a candrain check and it always comes back null.|
Still unclear : do you get NULL as a return or does the method you call crash with a NPE ?
Anyway : as we all know Direwolf these mods can work all together, i thing just the currenty public builds just not compatible.
||method .canDrain crashes with NPE and it does that on any machine with a tank. Including nuclear reactor in fluid mode. The mods work great together, as long as you never put a fluid provider on an ic2 machine. It's the only pipe that performs the canDrain. I grepped through the LP source code.|
||fixed in next Build add check to all IC2 Maschine to return "false" if internal .canDrain value is set to null|
|2014-09-27 18:14||freakyd||New Issue|
|2014-09-27 22:14||freakyd||File Added: 2014-09-25-1.log.gz|
|2014-09-30 04:04||sen-mithrarin||Note Added: 0003476|
|2014-09-30 18:42||freakyd||Note Added: 0003486|
|2014-09-30 21:36||sen-mithrarin||Note Added: 0003487|
|2014-10-02 18:02||freakyd||Note Added: 0003488|
|2014-10-03 10:43||sen-mithrarin||Note Added: 0003493|
|2014-10-03 17:48||freakyd||Note Added: 0003495|
|2014-10-08 10:48||Thunderdark||Note Added: 0003503|
|2014-10-08 10:48||Thunderdark||Status||new => resolved|
|2014-10-08 10:48||Thunderdark||Resolution||open => fixed|
|2014-10-08 10:48||Thunderdark||Assigned To||=> Thunderdark|