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 189306 - NoClassDefFoundError: Could not initialize class com.sun.xml.bind.DatatypeConverterImpl
Summary: NoClassDefFoundError: Could not initialize class com.sun.xml.bind.DatatypeCon...
Status: RESOLVED DUPLICATE of bug 199356
Alias: None
Product: webservices
Classification: Unclassified
Component: JAXB (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-09 11:49 UTC by ilmari2k
Modified: 2011-09-01 12:02 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 167853


Attachments
stacktrace (4.60 KB, text/plain)
2010-08-09 11:49 UTC, ilmari2k
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ilmari2k 2010-08-09 11:49:52 UTC
Build: NetBeans IDE 6.9 (Build 201007282301)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Linux

User Comments:
GUEST: Trying to Open Web Services in the Services Tab

mastorgano: I was trying to view the disponible Web Services

GUEST: opening the Web Services element in the Services window




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 ilmari2k 2010-08-09 11:49:55 UTC
Created attachment 101266 [details]
stacktrace
Comment 2 Exceptions Reporter 2010-08-12 18:50:19 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=167853
Comment 3 Milan Kuchtiak 2010-08-31 12:38:51 UTC
The following fix should help:
http://hg.netbeans.org/web-main/rev/f6c579d94341

The dependency on JAXB API is enough, since JAXB-impl class loading is forced by manifest file.
Comment 4 Quality Engineering 2010-09-01 03:29:08 UTC
Integrated into 'main-golden', will be available in build *201009010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f6c579d94341
User: mkuchtiak@netbeans.org
Log: #189306: removing wrong dependency on JAXB library
Comment 5 tk_fhd_aui 2011-06-02 10:26:43 UTC
Various people, including me, have it on a 7.0 with all updates installed.
Comment 6 jllogan 2011-08-11 18:16:39 UTC
This is a SoapUI incompatibility.
Comment 7 Denis Anisimov 2011-09-01 12:02:57 UTC
I suppose this is the same issue as #199356.
Closing as duplicate.

*** This bug has been marked as a duplicate of bug 199356 ***