Big Reactors

Big Reactors

11M Downloads

NPE in ContainerReactorController

Torins opened this issue · 2 comments

commented

Someone on our server had a NPE in line 32: this.part.getReactorController().stopUpdatingPlayer(player);

Log: http://pastebin.com/j70LnUD4

All he said is that he went AFK with the GUI open. I assume "part" was null, but assuming someone else didn't remake the reactor while he was away, I don't know how could the tile entity become null. (Then again, I don't mod, so I may just be unaware of some Forge mechanic).

The error can be reproduced (assuming i'm right about "part" being null, otherwise it's a separate issue) by blowing up the reactor so it doesn't form a proper multiblock machine, while having the GUI open.

commented

Fixed in 0.2 dev branch. Will be in 0.2.0.

commented

Interesting. Thanks for the report, I'll try to find a fix for this.
On Jul 20, 2013 2:41 PM, "Torins" [email protected] wrote:

Someone on our server had a NPE in line 32:
this.part.getReactorController().stopUpdatingPlayer(player);

Log: http://pastebin.com/j70LnUD4

All he said is that he went AFK with the GUI open. I assume "part" was
null, but assuming someone else didn't remake the reactor while he was
away, I don't know how could the tile entity become null. (Then again, I
don't mod, so I may just be unaware of some Forge mechanic).

The error can be reproduced (assuming i'm right about "part" being null)
by blowing up the reactor so it doesn't form a proper multiblock machine,
while having the GUI open.


Reply to this email directly or view it on GitHubhttps://github.com//issues/23
.