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.
Summary: | Exception when opened html project | ||
---|---|---|---|
Product: | projects | Reporter: | Martin Grebac <mgrebac> |
Component: | Ant | Assignee: | Jesse Glick <jglick> |
Status: | CLOSED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 41535 |
Description
Martin Grebac
2004-07-12 16:01:59 UTC
Yes, some freeform project has a corrupt or missing project.xml. But APH fails to deal with the problem gracefully. I know about it. Have working patch & unit test. Parse errors in project.xml should now be reported to the log file (annotated with the file name responsible), but project loading should continue (and any programmatic changes to project.xml via APH should write out well-formed XML data). Of course in such a case the project data will probably be missing critical information and so further project operations may give other errors. I am not sure how the problem happened in your case since a fatal parse error in the XML should have prevented the project from being loaded to begin with; perhaps the parse error was introduced after it was loaded? committed * Up-To-Date 1.3 ant/project/src/org/netbeans/modules/project/ant/AntBasedProjectFactorySingleton.java committed * Up-To-Date 1.4 ant/project/src/org/netbeans/modules/project/ant/Util.java committed * Up-To-Date 1.20 ant/project/src/org/netbeans/spi/project/support/ant/AntProjectHelper.java committed * Up-To-Date 1.10 ant/project/test/unit/src/org/netbeans/spi/project/support/ant/AntBasedTestUtil.java committed * Up-To-Date 1.13 ant/project/test/unit/src/org/netbeans/spi/project/support/ant/AntProjectHelperTest.java didn't happen again |