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 51627

Summary: Cannot open netbeans projects (nbbuild/misc) - java.lang.AssertionError: Illegal project.xml
Product: java Reporter: Antonin Nebuzelsky <anebuzelsky>
Component: UnsupportedAssignee: Tomas Zezula <tzezula>
Status: CLOSED WONTFIX    
Severity: blocker CC: 9813414134rathi
Priority: P1    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: java.lang.AssertionError: Illegal project.xml

Description Antonin Nebuzelsky 2004-11-18 10:22:27 UTC
With the latest trunk builds opening netbeans
projects (e.g. via opening nbbuild/misc) raises
java.lang.AssertionError: Illegal project.xml.
Comment 1 Antonin Nebuzelsky 2004-11-18 10:24:01 UTC
Created attachment 18945 [details]
java.lang.AssertionError: Illegal project.xml
Comment 2 David Konecny 2004-11-18 11:14:13 UTC
Tomas, looks related to multiple source roots?
Comment 3 Tomas Zezula 2004-11-18 13:27:05 UTC
This is an incompatible change between two dev builds.
You have to fix the project.xml file.
Remove namespace from root's attribute id and name.

NS:id NS:name should be changed to id and name.

The files in NetBeans CVS are OK. You have localy modified project.xml
on your disk. If you remove them and update CVS it should be fixed. 
Comment 4 Antonin Nebuzelsky 2004-11-18 13:30:44 UTC
It works for me now.
Thanks.
Comment 5 Tomas Zezula 2004-11-27 20:02:58 UTC
*** Issue 51568 has been marked as a duplicate of this issue. ***