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: | xml errors not nicely handled for sun-resources.xml | ||
---|---|---|---|
Product: | serverplugins | Reporter: | _ pcw <pcw> |
Component: | Sun Appserver 9 | Assignee: | Vince Kraemer <vkraemer> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | Sun | ||
OS: | All | ||
Issue Type: | TASK | Exception Reporter: | |
Attachments: |
Build output for deploy action showing errors.
message log |
Description
_ pcw
2008-02-26 21:14:03 UTC
Created attachment 57306 [details]
Build output for deploy action showing errors.
Created attachment 57308 [details]
message log
There are three exceptions in the message log. Ignore the one caught and logged by getDDRoot0() (the first one). It should be handled separately and isn't a problem. The second two, caught and logged in getResourcesGraph() are the ones that need work - this code path does not seem to have good error handling. There does not appear to be a clear way to return a stable graph (or null) along with an error about what is wrong with the true graph so that the caller can present this nicely to the user (regardless of whether the caller is the sun-resources node in the project or the deploy code.) Also to consider is what deploy should do when sun-resources.xml cannot be read -- currently it prints errors in the build output but deploys and shows the build as successful. Can we do better? no issue should be assigned to issues. redistributing the load |