OpenMods / OpenBlocks

Random collection of blocks
Other
298 stars 149 forks source link

NullPointerException getCornerFluidLevel #607

Open ProsperCraft opened 9 years ago

ProsperCraft commented 9 years ago

http://pastebin.com/ZHnMGFS3

OpenBlocks-1.7.10-1.3-snapshot-566

java.lang.NullPointerException: Rendering Block Entity at openblocks.common.tileentity.TileEntityTank.getCornerFluidLevel(TileEntityTank.java:366)

boq commented 9 years ago

Sanity check: do you have Optifine or Fastcraft installed? Logs suggest that you don't have them, but looks like some classes are ASMed (mismatched line numbers).

ProsperCraft commented 9 years ago

I think at the time of this crash I did not have fastcraft or sampler installed. I have been testing with them off and on, I am sorry.

Puremin0rez commented 9 years ago

Just got the same crash a few minutes ago. Running Optifine + Fastcraft

Voidi commented 9 years ago

Can confirm these. Any advise to fix?

nevercast commented 9 years ago

What was the formation of your Tanks? ( How were they arranged? ) Did this occur on world/chunk load or immediately after you placed a tank? Did you place it alone or did it have neighbours?

boq commented 9 years ago

I have no idea what was causing TESR to render before validate() call (couldn't even find valid path in code), but I added null checks in b98fa2861c9af7cb4e6457e2e1abe021a58ed90f. Was keeping this issue to remind me to dig deeper.

Voidi commented 9 years ago

Seames not fixed in the recent version.

boq commented 9 years ago

Well, that's interesting, because this exact stacktrace is now simply impossible. If you can reproduce this error, please post crashlog.

Voidi commented 9 years ago

http://www.dertobi.name/~tobias/upload/Minecraft/logs/OBTank/

boq commented 9 years ago

Ok, something is doing weird things in there.

Can you describe what were you doing before crash? Have you moved tank with any other mods? I see ArchimedesShipsPlus on your list.

Voidi commented 9 years ago

Nothing unnormal i think, This concrete crash is from a player on my server, he has a large wall of Tanks filled fully with Water, and harvested a tank with a Tinkers Construct Pickaxe.

boq commented 9 years ago

Ok, another try: fd467be (snapshot 587).