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.

Bug 47754 - cannot create or import any project
Summary: cannot create or import any project
Status: CLOSED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-23 23:14 UTC by gjoseval90
Modified: 2008-12-22 23:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages log (9.85 KB, text/plain)
2004-08-23 23:20 UTC, gjoseval90
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gjoseval90 2004-08-23 23:14:14 UTC
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)
...............
Comment 1 gjoseval90 2004-08-23 23:17:48 UTC
(even with samples!)
Comment 2 gjoseval90 2004-08-23 23:20:08 UTC
Created attachment 17055 [details]
messages log
Comment 3 gjoseval90 2004-08-23 23:28:03 UTC
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)
Comment 4 rmatous 2004-08-24 11:29:49 UTC
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.



Comment 5 gjoseval90 2004-08-24 16:41:00 UTC
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
Comment 6 Marian Mirilovic 2005-07-19 15:07:55 UTC
verified/closed