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.
Currently XMLUtil in updater.jar has a bunch of reflection crap in it to write out XML documents, which you can and should do with plain JAXP.
Created attachment 13005 [details] Suggested patch - compiles but otherwise untested
I'm going to try apply this patch in nb3.6, if no problems will be integrated.
Created attachment 13237 [details] a appeared deadlock when updating
When updating downloaded NBM from AU then NPE is thrown and followed the deadlock, see attachment.
Sorry, the createDocument method was wrong; in place of return factory.newDocumentBuilder().newDocument(); there should of course be return factory.newDocumentBuilder().getDOMImplementation().createDocument(null, rootQName, null);
Good, it works ok now. I'll apply the patch.
fixed