[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmf] Live Validation in GMF editor leads to deadlock (Has anyone seen this, too?)
|
Hi!
I applied live validation using oAW-Checks with cyclic checking on
my (non-rcp) GMF editor and it works well in general. While
editingthe model in my editor I sometimes get the following dialog:
<http://page.mi.fu-berlin.de/kamenzky/forum/a/editing.png>
In most of these cases the only option is to cancel the "Waiting
User Operation" job. Otherwise Eclipse hangs.
I set the "Validation Provider Priority" in my gmfgen from "Low"
to "Medium" and then the dialog popped up less often. But after I
opened two different editors operating in the same model the dialog
appeared even more often. (Because of these two editors also
two"executing oAW Checks" jobs were executed which do the checking.)
When I save the changes in my model the two editors must be
synchronized which is actually done by the GMF runtime. Then
thefollowing dialog always shows up which also ends in a deadlock
unless I cancel the "Waiting User Operation" job:
<http://page.mi.fu-berlin.de/kamenzky/forum/a/saving.png>
Before I applied live validation I never had problems like this.
I think by applying live validation a hazard for deadlocks
isintroduced. The occurence of a deadlock becomes more likely the
more validation jobs are executed and the longer a single
checkingcycle takes.
Has anyone seen this, too?
Does anyone know something about that "Waiting User Operation"?
How may I fix this?
Your help is highly appreciated!
Nicolai
--
I'm trying a new usenet client for Mac, Nemo OS X.
You can download it at http://www.malcom-mac.com/nemo