Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Crash when pressing "ESC" to close GUI #99

Open
016Nojr opened this issue Apr 4, 2020 · 6 comments
Open

Crash when pressing "ESC" to close GUI #99

016Nojr opened this issue Apr 4, 2020 · 6 comments

Comments

@016Nojr
Copy link

016Nojr commented Apr 4, 2020

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

Version: 4.0.0-alpha 1

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

@hnOsmium0001
Copy link
Collaborator

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

@016Nojr
Copy link
Author

016Nojr commented Apr 4, 2020

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

@Bellwar
Copy link

Bellwar commented May 4, 2020

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

@hnOsmium0001
Copy link
Collaborator

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?)

@Bellwar
Copy link

Bellwar commented May 5, 2020

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
Copy link

Bellwar commented May 5, 2020

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.

@hnOsmium0001 hnOsmium0001 changed the title [1.15.2] Crash when pressing "ESC" to close GUI Crash when pressing "ESC" to close GUI May 5, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants