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 198034 - NoClassDefFoundError: Could not initialize class com.sun.xml.bind.DatatypeConverterImpl
Summary: NoClassDefFoundError: Could not initialize class com.sun.xml.bind.DatatypeCon...
Status: CLOSED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Selenium (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-23 10:26 UTC by sky198
Modified: 2014-12-09 09:32 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 178487


Attachments
stacktrace (2.24 KB, text/plain)
2011-04-23 10:26 UTC, sky198
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sky198 2011-04-23 10:26:22 UTC
This bug was originally marked as duplicate of bug 189306, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.0 (Build 201104080000)
VM: Java HotSpot(TM) Client VM, 20.0-b11, Java(TM) SE Runtime Environment, 1.6.0_25-b06
OS: Windows 7

User Comments:
sky198: open the web servers

GUEST: Trying to Open Web Services in the Services Tab

Trii: expanding the webservices node in the services tab. I don't have any services set up but I do have the latest version of the SoapUI plugin installed

GUEST: I was adding a web service client for one of the services running on Glassfish 3.0.1

amoza87: trying to list availables WebServices




Stacktrace: 
java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.bind.DatatypeConverterImpl
   at com.sun.xml.bind.v2.runtime.JAXBContextImpl$3.run(JAXBContextImpl.java:287)
   at com.sun.xml.bind.v2.runtime.JAXBContextImpl$3.run(JAXBContextImpl.java:286)
   at java.security.AccessController.doPrivileged(AccessController.java:0)
   at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:285)
   at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1140)
   at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:154)
Comment 1 sky198 2011-04-23 10:26:26 UTC
Created attachment 107915 [details]
stacktrace
Comment 2 Jaroslav Tulach 2011-04-25 22:00:21 UTC
New report from 7.0 
http://statistics.netbeans.org/exceptions/exception.do?id=505453
indicates this is a problem between 

java.lang.ClassNotFoundException: Will not load class org.apache.xerces.jaxp.datatype.DatatypeFactoryImpl arbitrarily from one of ModuleCL@d3ade7[org.netbeans.libs.xerces] and ModuleCL@1dbb27d[org.netbeans.modules.selenium.server] starting from SystemClassLoader[593 modules]; see http://wiki.netbeans.org/DevFaqModuleCCE
Comment 3 godvu 2011-05-07 01:31:40 UTC
To developer of Netbean,
I can't open the Web Services. When I click on the web service, immediately , it's occur error as above (Issue #198034 - NoClassDefFoundError: Could not initialize clas)
Comment 4 davti 2011-05-13 06:00:35 UTC
Same here this occurs when you try to open the web services tree element...
Comment 5 Martin Fousek 2011-05-13 08:45:51 UTC
godvu, davti do you have installed Selenium Server plugin? Or it happens also without that?

If it's so, could you write me steps for reproducing that, please?
It it's not and it's really due to Selenium Server plugin I'm afraid that you have to wait since I will have time for rewriting it from scratch which imply in use SS as an external server. :/ So you would have to uninstall it when it blocks your work.
Comment 6 davti 2011-06-28 03:19:31 UTC
yes removing the selenium plugin solved this issue...
Comment 7 Martin Fousek 2012-01-09 18:33:12 UTC
That's already fixed in latest versions of Selenium Server plugin.