This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 115887 - UI freeze after adding operation to ws from wsdl
Summary: UI freeze after adding operation to ws from wsdl
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
: 115820 115865 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-18 16:47 UTC by Lukas Jungmann
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump (23.29 KB, text/plain)
2007-09-18 16:48 UTC, Lukas Jungmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2007-09-18 16:47:13 UTC
-create new ejb module
-create new WS from WSDL there (I used http://www.webservicex.net/globalweather.asmx?wsdl)
-add new opearion to it (I used one with no parameters and xsd:decimal return type)

=> UI is frozen, only restart of the IDE helps (could be random and similar to already filed issue 115850)...
Comment 1 Lukas Jungmann 2007-09-18 16:48:21 UTC
Created attachment 49002 [details]
thread dump
Comment 2 bhate 2007-09-18 20:29:15 UTC
code generator issue -> milan
Comment 3 Milan Kuchtiak 2007-09-19 11:57:42 UTC
This is what we do in MethodGenerator.generateMethod() :
we call 
JavaSource.runModificationTask(task).commit() in RequestProcessor thread.
Comment 4 Miloslav Metelka 2007-09-19 12:28:17 UTC
The problem is that HighlightingDrawLayer needs to read-lock the document before accessing the view hierarchy. I'll fix
that.
Comment 5 Miloslav Metelka 2007-09-19 13:21:47 UTC
/cvs/editor/libsrc/org/netbeans/editor/HighlightingDrawLayer.java,v  <--  HighlightingDrawLayer.java
new revision: 1.5; previous revision: 1.4
Comment 6 Vitezslav Stejskal 2007-09-20 13:43:44 UTC
*** Issue 115820 has been marked as a duplicate of this issue. ***
Comment 7 Vitezslav Stejskal 2007-09-25 10:16:03 UTC
*** Issue 115865 has been marked as a duplicate of this issue. ***
Comment 8 Lukas Jungmann 2007-10-22 14:39:06 UTC
v.