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.
DTDParser in FileEntityResolver that is used for parsing .settings files seems to be missing a setter for the error handler (as it is usual - e.g. in XMLDataObjectInfoParser). The effect is that if some error happens during parsing, an error message is printed to std err by the xml default error handler. This is superfluous since there is custom logging of the parsing errors in FileEntityResolver.DTDParser. Specifically for window system settings files that are knowingly failing sometimes there is no error notification - this is broken by printing the error message from DefaultErrorHandler. In SQLDeveloper there are conditions that cause this happen frequently - filling console with bogus Fatal Error messages. The fix seems to be trivial, I'll attach a patch.
Created attachment 141420 [details] patch adding missing setErrorHandler(this), works equally, just does not print messages to System.err
Integrated as http://hg.netbeans.org/core-main/rev/959120ac6a9f Thank you very much for the patch, Tomas.
Integrated into 'main-silver', will be available in build *201310240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/959120ac6a9f User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #237485: Missing ErrorHandler for xml parsing in FileEntityResolver Patch by Tomas Pavek.
Integrated into 'releases' jdev_aspen branch as 71228c2dcc99.