Procedure, overlay, and mob editor freeze UI on blockly editor on macOS

Submitted by f_com on Sat, 05/05/2018 - 18:45
Issue description

When I open procedures editor, and I want to place a block of fire instead of another block (X) which is triggered if the block is destroyed by an explosion. So when I press to choose which block will be placed instead of a block X, the whole MCreator just freezes.

EDIT BY DEVELOPERS:

This bug was fixed. To try if it works, download mcreator.jar from the link provided below and replace mcreator.jar from your installation with the downloaded one. After you do this, run MCreator and try to use the procedure block selection feature. A similar bug was found in overlay and mob creator. Due to many changes required to fix this, we are asking users of any platform to test MCreator with this fixed jar file to see if we broke anything else by fixing this.

Download link to fixed mcreator.jar 1.7.9: http://www.mediafire.com/file/7steqcjrfzsm00a/mcreator.jar

Please note that this mcreator.jar is covered by our TOS as any other MCreator file.

Attachment Size
File contains full error log and a workplace318.11 KB 318.11 KB

Issue comments

Submitted by Klemen on Sat, 05/05/2018 - 18:55

So this only happens when you click on the gray box when selecting the block in procedure maker?

Try to run MCreator from the terminal and provide error log from actual MCreator. The log you provided does not contain any information that could help me locate the cause. Thanks!

Submitted by Klemen on Sun, 05/06/2018 - 08:10

I have uploaded a new version with a potential fix at 6.5 9:10 CEST. Please re-download and re-install MCreator and report back if this issue is still present.

I suspected bad thread management between UI and block editor. I hope this fixed the bug you reported.

Please report back!

Sorry for a late response, I had to leave urgently...
I tried it and the issue is still present( I tried to launch it via terminal but it gave no logs. The mcreator freezes and it doesn't respond so i can't collect error logs(

Submitted by Klemen on Sun, 05/06/2018 - 17:01

Could you please run command java -version in the terminal and report back with the output you get? Thanks!

This is the output:
 

java -versioniMac-Farrukh:~ farrukh$ java -version

java version "1.8.0_171"

Java(TM) SE Runtime Environment (build 1.8.0_171-b11)

Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)

Submitted by Klemen on Mon, 05/07/2018 - 10:11

This is a very strange issue. I will look further and reply back if I manage to find the cause of this bug.

To other macOS users, if anyone else has this issue, please provide as much information as possible so we can resolve this issue.

Submitted by Klemen on Mon, 05/07/2018 - 16:47

I don't think so. I will try to understand the error log you provided and try to spot the error. But this is definitely a Java bug, the best we can do is to find a workaround.

Submitted by Klemen on Mon, 05/07/2018 - 17:02

If you have time, you can try to update to Java 8u172. Right now you have Java 8u171. This might help, but I am not sure. Make sure to keep it on Java 8 though as version 9 is not supported at all.

Submitted by Klemen on Sun, 05/13/2018 - 11:10

Is there any user with macOS that would be ready to help me fix this bug. I anyone volunteers, I can reach to him via mail and send him some test versions of MCreator with potential bugfix for this.

I would like to help you fix the problem! To be honest, I dont understand a single word of java but if I just have to test some mcreator versions, this should be feasable. Can you see my email or do I have to send it?

Submitted by Klemen on Fri, 05/18/2018 - 16:22

FalsetuneD, I will send you the potentially fixed version to the email you used to create the account after I manage to find potential causes of this crash.