EMF.Edit-based validation leads to UI freeze [message #1818892] |
Tue, 31 December 2019 22:35 |
Eclipse User |
|
|
|
Hello,
while experimenting with the validation that an EMF.Edit-based editor offers, I have experienced the following issue: Whenever the "Validate" action is triggered from the menu, there is a certain probability that the UI of the Eclipse instance will freeze at the "Operation in progress..." dialog. When this happens, the Eclipse instance needs to be terminated from its parent IDE. After some experiments (with different valid and invalid models), I would estimate that every second to third invocation of the action leads to this result:
Note that this happens with even the most rudimentary models and with the generated Java code kept unmodified. I have already tried to perform some troubleshooting using a Debugger. When the issue occurs, pausing the execution of the application leads to the following stack trace of main thread:
The dialog that Eclipse tries to open before freezing is actually a "Validation completed successfully" one. Due to the central role of the validation functionality, I suppose that this is not an issue of EMF.Edit, but rather an issue that applies to me specifically. However, I am unsure of how to fix this. Is there something that needs to be kept in mind when using the validation framework?
I am using Eclipse 2019-12 (4.14.0) on Fedora 31.
Thanks!
-
Attachment: freeze.png
(Size: 29.54KB, Downloaded 221 times) -
Attachment: stacktrace.png
(Size: 92.81KB, Downloaded 218 times)
|
|
|
|
|
|
Re: EMF.Edit-based validation leads to UI freeze [message #1818904 is a reply to message #1818901] |
Wed, 01 January 2020 13:59 |
Eclipse User |
|
|
|
Thank you very much for your answers.
I can confirm that before the fix, pressing the space bar actually closes the "Progress Information" dialog. However, doing so does not cause the validation result to be shown in my case. I am also using GNOME on Wayland.
Anyway, version 2.21.0.v20200101-0846 of EMF seems to solve the issue entirely for me. Thank you for this!
|
|
|
Powered by
FUDForum. Page generated in 0.02751 seconds