[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5744) Deadlock after CSS editor usage
Viacheslav Kabanovich (JIRA)
jira-events at lists.jboss.org
Fri Feb 12 05:28:10 EST 2010
[ https://jira.jboss.org/jira/browse/JBIDE-5744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12514178#action_12514178 ]
Viacheslav Kabanovich commented on JBIDE-5744:
----------------------------------------------
After discussing with Maxim, it looks like main thread is not locked at line 1418 in Tree, but runs eternally in while-cycle
1415 while (rect.bottom < nmcd.bottom) {
1416 int top = rect.top + height;
1417 OS.SetRect (rect, rect.left, top, rect.right, top + height);
1418 OS.DrawEdge (hDC, rect, OS.BDR_SUNKENINNER, OS.BF_BOTTOM);
1419 }
because variable 'height' is equal to 0.
Value 0 was assigned to 'height' as the result of
height = (int)/*64*/OS.SendMessage (handle, OS.TVM_GETITEMHEIGHT, 0, 0);
The tree control instance is that used by the Eclipse's Property View.
I think that whatever may be our errors in implementing property source for the view, OS.SendMessage should not return 0.
Maxim, please report this behavior of Tree to Eclipse's Bugzilla.
> Deadlock after CSS editor usage
> -------------------------------
>
> Key: JBIDE-5744
> URL: https://jira.jboss.org/jira/browse/JBIDE-5744
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsp/jsf/xml source editing
> Environment: Win 2003 Server
> JBT - 3.1.0.v201001262102N-H170-CR2
> Reporter: Krasimir Goutcev
> Assignee: Viacheslav Kabanovich
> Fix For: 3.1.1
>
> Attachments: .log, mainTread.log, TestCase.swf, threaddump-1264750937841.tdump
>
>
> for reproduce this for test case you should :
> 1.place cursor in <rich:menuItem ... />
> 2.in Properties view click on row "iconStyle"
> 3. click on button "..."
> 4.Click "Ok" button
> only restart eclipse will help.
--
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
More information about the jbosstools-issues
mailing list