Thaumic-Tinkerer / ThaumicTinkerer

A Spiritual Successor to the Elemental Tinkerer mod. This time Thaumcraft flavoured.
142 stars 121 forks source link

TileEntityFunnelRenderer NPE crash 1.12.2-5.0-620a0c5 #1056

Open TaoismDeepLake opened 2 years ago

TaoismDeepLake commented 2 years ago

crash-2022-01-24_22.07.08-client.txt Received this from community.

GaeaKat commented 2 years ago

Need more information on this I am afraid, what was being done to get the error, and such

TaoismDeepLake commented 2 years ago

The player who reported this was incapable to provide a clear 100% reproduce method. He said he put HammerLib(hammercore) and this together. When it occured, there was great mist showing on the screen.

How about adding a try-catch and do some log in the catch?

TaoismDeepLake commented 2 years ago

Also, thank you for your timely respond.

GaeaKat commented 2 years ago

Given I can not reproduce it, It isn't something I can randomly try catch. the exception there tells me the line and honestly none of that line should EVER be null unless something is playing about removing tile entities.

TaoismDeepLake commented 2 years ago

In that case, I will inform you when further information are provided by that player. Thank you for your support.

TaoismDeepLake commented 2 years ago

Further info are provided by that player. I have identified two type of TileEntityFunnelRenderer crashes from the info. Say that they are Type A and Type B. Type A is that TileEntityFunnelRenderer.java:45 crash. The "Eldritch Guardian" entity in Thaumcraft6 brings strong mist when it shows up. If "fast render" of optifine is turned ON, it will crash as the mist arise. Type B comes with TileEntityFunnel.java:111 log, which has HammerLib in its stacktrace, attached as follow:

crash-2022-01-25_00.26.30-client.txt It appeares randomly if "fast render" of optifine is turned OFF.

P.S. "Fast render" is "快速渲染" in Chinese, and I'm not 100% sure about its English origin, it could be "Quick Render" "Swift Render"or such, as I do not use Optifine myself. It is possible that Optifine caused this, as optifine is reported to cause strange bugs in Cyber-brick's Spiders2.0 mod.