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.
After breakages while editing my project.xml file to support multiple (compile/run/debug).single targets, I deleted my ~/.netbeans/dev directory, and the nbproject directory in my project. Opened daily build 200510111800. New project-> existing sources with ant file. Continued with setup, In output, I get a tab: Output- Errors in /home/pbw/netbeans/Folio/nbproject/project.xml, with the text cvc-complex-type.2.4.a: Invalid content was found starting with element 'general-data'. One of '{WC[##other:"http://www.netbeans.org/ns/project/1"]}' is expected. (This error was occurring after my earlier edits to implement the single file targets I wanted (as per the documentation on anvanced freeform projects). In the end, I lost the name of the project in the projects window - just ??? appeared. That's why I scrubbed everything and started from scratch.)
Changed platform and OS.
Looks like the same problem as in issue #66563. The problem is probably caused by an incompatible version of xerces on the classpath. Could you please attach here: 1. messages.log from your userdir. 2. content of the nbproject/ directory of your project. This should help to identify the problem. Thanks.
I had reverted to using 4.1, and rebuilt my nbproject directories. I uninstalled my old copy of 5.0dev (and 4.2dev), downloaded the current qbuild (200510131600) and installed it, after making copies of the nbproject directories in my projects. I started 5.0dev, and imported my 4.1 settings. The nbproject file showed no glaring changes. I then tried to add output directories and a javadocs directory to my main project. When I OK'ed the changes, the error message cvc-complex-type.2.4.a: Invalid content was found starting with element 'java-data'. One of '{WC[##other:"http://www.netbeans.org/ns/project/1"]}' is expected. popped up in and output window labelled "Output - Errors in /home/pbw/netbeans/Folio/nbproject/project.xml", as before. Nothing obvious in messages.log, which I will attach. I will also attach a jar of the nbproject directory, and a jar of the ~/.netbeans/dev directory. I intend to revert to 4.1 now.
Created attachment 25991 [details] messages.log file at time of error message
Created attachment 25992 [details] nbproject directory of main project
Created attachment 25993 [details] ~/.netbeans/dev directory
jre/lib/endorsed in my 1.5.0.05 installation contains xalan 2.7.0 and xerces 2.7.1.
Thanks, I will take a look on it. One more question: do you run NB4.1 on the same JDK as NB5.0?
Yes, same JDK.
Most probably duplicate of issue #66563. Thanks for the help (I am able to reproduce the problem now). *** This issue has been marked as a duplicate of 66563 ***