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 67595 - [client] UI freeze while add client to the j2se project
Summary: [client] UI freeze while add client to the j2se project
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Grebac
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2005-10-26 14:59 UTC by Lukas Jungmann
Modified: 2005-11-10 10:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
threaddump (18.31 KB, text/plain)
2005-10-26 15:01 UTC, Lukas Jungmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2005-10-26 14:59:15 UTC
[build 200510251800, jdk 1.5.0_06]

-create j2se app project
-add websvc client to the project

=> just got UI freeze, but not 100% reproducible, thread dump is attached
Comment 1 Lukas Jungmann 2005-10-26 15:01:09 UTC
Created attachment 26362 [details]
threaddump
Comment 2 Andrei Badea 2005-10-26 15:47:44 UTC
Suggest using:

            public void fileFolderCreated (FileEvent fe) {
                SwingUtilities.invokeLater(new Runnable() {
                    public void run() {
                        refreshKey(KEY_SERVICE_REFS);
                    }
                });
            }

instead of just calling refreshKey() in order to fix this issue.
Comment 3 Andrei Badea 2005-10-27 18:50:21 UTC
Same bug in the web (WebViews) and EJB (LogicalViewChildren) projects (although
in the EJB project it is commented out). Please merge the J2SE fix to both projects.
Comment 4 Martin Grebac 2005-10-31 12:47:31 UTC
Fixed in trunk:

IDE: [31/10/05 14:47] Committing Files started
Checking in web/project/src/org/netbeans/modules/web/project/ui/WebViews.java;
/cvs/web/project/src/org/netbeans/modules/web/project/ui/WebViews.java,v  <-- 
WebViews.java
new revision: 1.49; previous revision: 1.48
done
Checking in
j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/ui/logicalview/LogicalViewChildren.java;
/cvs/j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/ui/logicalview/LogicalViewChildren.java,v
 <--  LogicalViewChildren.java
new revision: 1.27; previous revision: 1.26
done
Checking in
java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/J2SELogicalViewProvider.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/J2SELogicalViewProvider.java,v
 <--  J2SELogicalViewProvider.java
new revision: 1.10; previous revision: 1.9
done

Comment 5 Lukas Jungmann 2005-11-10 10:43:48 UTC
Didn't see this for more then week => ver.