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 56797 - A deadlock after add a project to project libraries
Summary: A deadlock after add a project to project libraries
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords: THREAD
Depends on:
Blocks: 56909
  Show dependency tree
 
Reported: 2005-03-22 13:35 UTC by ehucka
Modified: 2006-03-24 13:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
full threaddump (18.07 KB, text/plain)
2005-03-22 13:35 UTC, ehucka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ehucka 2005-03-22 13:35:22 UTC
I tried to add some projects to my project's compile-time libraries.
Always when I had add a project to libraries and confirmed Project Properties
dialog the Project Properties Changed dialog appeared and IDE froze.
I must set the project dependencies by editing of nbproject/* files.
Comment 1 ehucka 2005-03-22 13:35:48 UTC
Created attachment 21032 [details]
full threaddump
Comment 2 ehucka 2005-03-22 15:48:32 UTC
I recognized that the project is from 4.0. It probably wants to upgrade it to 4.1.
Comment 3 Jesse Glick 2005-03-23 17:44:53 UTC
Not sure. IMHO this is a bug in Explorer/Nodes - that it tries to use a Mutex
just to repaint, while using multiple threads - but that cannot be fixed right
now. Perhaps it would suffice for
J2SEPhysicalViewProvider.LogicalViewChildren.stateChanged to be a little safer
still and call setKeys not only later, but always in EQ - e.g.
EventQueue.invokeLater, not rp.post (meaning J2SEPhysicalViewProvider.rp could
be deleted as it is used only for this)?
Comment 4 Tomas Zezula 2005-03-24 09:36:18 UTC
Checking in
j2seproject/src/org/netbeans/modules/java/j2seproject/ui/J2SEPhysicalViewProvider.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/J2SEPhysicalViewProvider.java,v
 <--  J2SEPhysicalViewProvider.java
new revision: 1.48; previous revision: 1.47
done
Comment 5 ehucka 2005-05-04 11:39:31 UTC
v