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 70780

Summary: ide hung after changing an imported build file
Product: projects Reporter: feibingzhou <feibingzhou>
Component: AntAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P1    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description feibingzhou 2005-12-23 22:37:37 UTC
the ide locks up when changing an imported build file, here is the stack trace 
for awt-eventqueue-1:

Name: AWT-EventQueue-1
State: BLOCKED on java.lang.Object@19c8927 owned by: AntProjectSupport
[MasterFileObject@e0447e[file:/C:/emaik/base/netbeans/build.xml]]
Total blocked: 6,365  Total waited: 32,358

Stack trace: 
org.apache.tools.ant.module.xml.AntProjectSupport.getDocument
(AntProjectSupport.java:141)
org.apache.tools.ant.module.xml.AntProjectSupport.getProjectElement
(AntProjectSupport.java:316)
org.apache.tools.ant.module.loader.AntProjectDataEditor.annotateWithProjectName
(AntProjectDataEditor.java:83)
org.apache.tools.ant.module.loader.AntProjectDataEditor.messageName
(AntProjectDataEditor.java:67)
org.openide.text.CloneableEditor$2.run(CloneableEditor.java:459)
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:242)
java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:163)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 Jan Becicka 2005-12-27 09:58:56 UTC
Ant should be owner of this?
Comment 2 Jesse Glick 2005-12-27 13:40:40 UTC
Do not modify Ant scripts using the NB editor in 5.0 beta 2.

*** This issue has been marked as a duplicate of 68650 ***