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

Summary: A deadlock after add a project to project libraries
Product: java Reporter: ehucka <ehucka>
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: CLOSED FIXED    
Severity: blocker Keywords: THREAD
Priority: P2    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 56909    
Attachments: full threaddump

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