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.
every time I try to create or import a project, got this exception: org.apache.xml.serialize.XMLSerializer.setNamespaces(boolean) at org.openide.xml.XMLUtilImpl.handleImplementationException(XMLUtilImpl.java:185) ...............
(even with samples!)
Created attachment 17055 [details] messages log
sorry...the exception is: java.io.IOException: Unsupported DOM document implementation! java.lang.NoSuchMethodException: org.apache.xml.serialize.XMLSerializer.setNamespaces(boolean) at org.openide.xml.XMLUtilImpl.handleImplementationException(XMLUtilImpl.java:185)
Not enough information. Please provide system info to know product version, java VM, classpath, boot & ext classpath etc Evaluation: definitely not reproducible, probably some old version of XMLSerializer somwehere in jre\lib\ext - wrong configuration class org.apache.xml.serialize.XMLSerializer should be on classpath and method setNamespaces should be reachable. XMLSerializer is on classpath because there is special pseudomodule org.netbeans.libs.xerces that ensures it. In distribution there should be: ../nbbuild/netbeans/ide4/modules/autoload/ext/xerces-2.6.2.jar This xerces-2.6.2.jar should contain org.apache.xml.serialize.XMLSerializer. Following module should be turned on: org.netbeans.libs.xerces/1 [1.4 2.6.2] Result: INVALID If you are sure that problem is NB code then provide requested information and reopen.
It was a problem with an old version of xerces included in an Informix-JDBC driver (included in the classpath), now I have replaced it with a 2.6.2 version I downloaded and everything works fine. I guess you should be aware of this... thanks
verified/closed