StevesFactoryManager icon indicating copy to clipboard operation
StevesFactoryManager copied to clipboard

Crash when pressing "ESC" to close GUI

Open 016Nojr opened this issue 4 years ago • 6 comments

Client crashed when trying to close the GUI using "ESC"

Version: 4.0.0-alpha 1

Crashlog: https://gist.github.com/016Nojr/005d3240a857fddaac2022cafd8a56ed

016Nojr avatar Apr 04 '20 14:04 016Nojr

Can you provide a SSCCE? I did encounter it once a long time ago, but I can't seem to consistently reproduce it.

hnOsmium0001 avatar Apr 04 '20 19:04 hnOsmium0001

Now when you mention it, I am having issues myself. Will try reproducing it.

016Nojr avatar Apr 04 '20 21:04 016Nojr

If this helps here is mine. Also at the time, the GIU was in front of JEI and I could point and click on blocks in JEI and some stuff didn't render over. It was some sort of layers interceptions.

My crash file. https://pastebin.com/L4X0Bpyu

Bellwar avatar May 04 '20 17:05 Bellwar

Thanks for the support, but crash report isn't really helping. Most of them say the same thing: this line

}

has a NullPointerException. I have absolutely no clue how that happens (I assume it's a remapping caused line number mismatch issue?)

hnOsmium0001 avatar May 05 '20 03:05 hnOsmium0001

You need to cut one element and close it afterwards. That crashes with that error.

I don't know if a crash at 626 means the function at 625 is crashing trying to save something that is cut or if it is the loop getting a child that "isn't" on the board. I don't have an environment and don't want to download it, so I can't look too far into the code. From the very little I did in coding I would say the function saveData is crashing, by trying to save a child that was cut before, but it returns a crash at the end of the loop at 626.

Bellwar avatar May 05 '20 08:05 Bellwar

https://pastebin.com/1NnfPHKS

This crash is when trying to cut it and then cut it again. The part you try to cut doesn't even disappear after the first one... hmm can't do it again, I deleted that element and the new one doesn't do it. There is something in the element that saves wrongly and causing this to happen.

Also mentioning the GUI there is some problem with a pointer. When expanding an element and working in it the pointer drags random another element to that position. I don't know if you know about that or it is specific to me.

EDIT: I can reproduce it, but have no idea how. If I make two Redstone triggers and assigned them to the same block. After few tries of cuting and pasting one of them breaks down and cutting him crashs the game at save.

Bellwar avatar May 05 '20 08:05 Bellwar