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 143001

Summary: [65cat] Deadlock when changing project.xml by hand in freeform project
Product: projects Reporter: misterm <misterm>
Component: Ant FreeformAssignee: Milan Kubec <mkubec>
Status: RESOLVED FIXED    
Severity: blocker Keywords: RANDOM, THREAD
Priority: P1    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: Thread dump

Description misterm 2008-08-06 07:17:31 UTC
[ BUILD # : 200808051401 ]
[ JDK VERSION : 1.6.0_04 ]

Here is what I did:

1. A project had references to old jars (x-3.0.jar) that had been
replaced (x-3.1.jar);
2. The project had three source roots with two independent
classpaths;
3. I tried to fix it by hand, doing a replace, since it would be (in
theory) much simpler than using GUI;
4. No other changes have been accidentally made, like breaking some
schema URL due to the replace operation;
5. When I save the file, the IDE hangs.
Comment 1 misterm 2008-08-06 07:19:05 UTC
Created attachment 66642 [details]
Thread dump
Comment 2 Milos Kleint 2008-08-06 08:05:41 UTC
->freeform
Comment 3 misterm 2008-08-06 08:16:50 UTC
Changing back to P1 according to this:

http://wiki.netbeans.org/BugPriorityGuidelines

" crash or deadlock 	 Reproducible, unavoidable crash or deadlock"
Comment 4 Milan Kubec 2008-08-06 12:42:50 UTC
Fixed.

http://hg.netbeans.org/main/rev/aebc06110af3
Comment 5 Quality Engineering 2008-08-06 15:59:45 UTC
Integrated into 'main-golden', available in build *200808061401* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/aebc06110af3
User: Milan Kubec <mkubec@netbeans.org>
Log: #143001: possible deadlock when saving freeform project.xml