Ender IO Zoo

Ender IO Zoo

962k Downloads

Crash on certain unsupported facade paint

Alex-hawks opened this issue ยท 10 comments

commented

Issue Description:

Crash on certain unsupported facade paint
In this case I painted an Item Buffer with an ExU2 TNT Generator

What happens:

It crashes. Here is the log from MultiMC
https://paste.ee/p/zLob1

What you expected to happen:

Either render properly, or fail at rendering and just render nothing

Steps to reproduce:

  1. Paint Item Buffer with ExU2 TNT Generator.
  2. Attempt to view inventory containing result
  3. https://paste.ee/p/zLob1

Affected Versions (Do not use "latest"):

  • EnderIO: 1.10.2-3.1.169
  • EnderCore: 1.10.2-0.4.1.65-beta
  • Minecraft: 1.10.2
  • Forge: 12.18.3.2254

Your most recent log file where the issue was present:

https://paste.ee/p/zLob1

commented

Did you update ExU2 between painting the item and the crash?

commented

(Tagging for "vanilla bug but we need a workaround")

commented

nope. it crashed as soon as I opened the Iron Chest that my Painting Machine auto-outputs to

commented

To be honest, I was half expecting this to not work, by not rendering. I was just hoping it would.
One way to fix it might be to catch the exception and return either air or the invisible block as the source block, if it has issues like this

commented

One more note, the server didn't care that this happened. It just kept going

commented

@Alex-hawks that is because the server does not render anything.

commented

@bookerthegeek I'm well aware of that, I just felt I should mention that because this code can be called on the server

commented

Might be time to get input from @rwtema
Also, the version of Extra Utilities 2 used for this was 1.3.0

commented

I contacted RW on IRC, I just cannot see if there's an answer from work. ;)

commented

BTW: I'm still looking into the reason for the blockState property rejecting one of its values. That should not happen in the first place.