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 166428

Summary: ClassNotFoundException: org.apache.xml.serializer.OutputPropertiesFactory
Product: third-party Reporter: rdelaplante <rdelaplante>
Component: -- Other --Assignee: issues@third-party <issues>
Status: NEW ---    
Severity: blocker CC: jglick
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=152138
Issue Type: DEFECT Exception Reporter: 152138
Attachments: stacktrace

Description rdelaplante 2009-06-02 18:35:30 UTC
Build: NetBeans IDE 6.7 RC1 (Build 200905282243)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: SunOS, 5.11, x86

User Comments:
rdelaplante: I created a new Maven web project, then opened project properites dialog and selected a Java EE server to use, then pressed OK.



Stacktrace: 
java.lang.NoClassDefFoundError: org/apache/xml/serializer/OutputPropertiesFactory
        at org.apache.xalan.templates.OutputProperties.<init>(OutputProperties.java:83)
        at org.apache.xalan.templates.OutputProperties.<init>(OutputProperties.java:58)
        at org.apache.xalan.processor.ProcessorOutputElem.startElement(ProcessorOutputElem.java:190)
        at org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:626)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
        at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
Comment 1 rdelaplante 2009-06-02 18:35:39 UTC
Created attachment 83117 [details]
stacktrace
Comment 2 Milos Kleint 2009-06-03 06:43:17 UTC
maven support is calling the org.openide.xml.XMLUtil.write() api method to store the xml settings and in this case it
somehow backfires, not specifically maven related.

my guess is that this is a side effect of the module system logic which refuses to load a class from 2 different
classloaders. In this case it seems the com.eviware.soapui.netbeans.module 3rd party module might be involved. Please
try uninstalling this module (and restart the IDE) and see if the error goes away.
Comment 3 rdelaplante 2009-06-03 14:22:44 UTC
I uninstalled SoapUI and problem solved. Thank you!