[
https://jira.jboss.org/jira/browse/JBIDE-4534?page=com.atlassian.jira.plu...
]
Denis Golovin commented on JBIDE-4534:
--------------------------------------
the problem is that model starts revalidation for taglibs from none-ui thread, at the same
time visual editor blocks ui thread and trying to call the same invalidation. result is
revalidation in syncExec waits for UI thread availability and ui thread waits for
TaglibMapping to be unlocked.
Execution JUnit tests for VPE sometimes sleeps for long time
------------------------------------------------------------
Key: JBIDE-4534
URL:
https://jira.jboss.org/jira/browse/JBIDE-4534
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Reporter: Maxim Areshkau
Assignee: Maxim Areshkau
Priority: Critical
Fix For: 3.1.0.M3
Attachments: MainThread.txt, ThradWhichBlocksMaiinThread.txt
Execution of junit tests sometimes sleeps. Hard to reproduce.
In VpeController see line 266, place of main thread sleep.
if (xm != null) {
WebProject.getInstance(xm).getTaglibMapping().revalidate(
WebAppHelper.getWebApp(xm));
}
Method 'revalidate' is synchronized and blocked by other thread.
See threads stacks in attachment.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira