java.lang.LinkageError: loader constraint violation: loader (instance of sun/misc/Launcher$ExtClassLoader) previously initiated loading for a different type with name "org/w3c/dom/stylesheets/StyleSheet"

Eclipse Bugzilla | andreas.kohn | 2 years ago
  1. 0

    Bug 466690 – Eclipse no longer starts with Java 9 b61+: NoClassDefFoundError: org/w3c/dom/stylesheets/StyleSheetList

    eclipse.org | 5 months ago
    java.lang.LinkageError: loader constraint violation: loader (instance of sun/misc/Launcher$ExtClassLoader) previously initiated loading for a different type with name "org/w3c/dom/stylesheets/StyleSheet"
  2. 0

    Eclipse no longer starts with Java 9 b61+: NoClassDefFoundError: org/w3c/dom/stylesheets/StyleSheetList

    Eclipse Bugzilla | 2 years ago | andreas.kohn
    java.lang.LinkageError: loader constraint violation: loader (instance of sun/misc/Launcher$ExtClassLoader) previously initiated loading for a different type with name "org/w3c/dom/stylesheets/StyleSheet"
  3. 0

    Bug 466683 – Java 9 b61+: Eclipse 4.x does not start because org.w3c.dom.** has been moved to extension classpath

    eclipse.org | 6 months ago
    java.lang.LinkageError: loader constraint violation: loader (instance of sun/misc/Launcher$ExtClassLoader) previously initiated loading for a different type with name "org/w3c/dom/stylesheets/StyleSheet"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java 9 b61+: Eclipse 4.x does not start because org.w3c.dom.** has been moved to extension classpath

    Eclipse Bugzilla | 2 years ago | tom.schindl
    java.lang.LinkageError: loader constraint violation: loader (instance of sun/misc/Launcher$ExtClassLoader) previously initiated loading for a different type with name "org/w3c/dom/stylesheets/StyleSheet"
  6. 0

    Linkage error in JMockit 1.12

    GitHub | 2 years ago | svenwaibel
    java.lang.LinkageError: loader (instance of sun/misc/Launcher$AppClassLoader): attempted duplicate class definition for name: "..../ToTest$1"

    7 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.LinkageError

      loader constraint violation: loader (instance of sun/misc/Launcher$ExtClassLoader) previously initiated loading for a different type with name "org/w3c/dom/stylesheets/StyleSheet"

      at java.lang.ClassLoader.defineClass1()
    2. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.defineClass1(Native Method)
      2. java.lang.ClassLoader.defineClass(ClassLoader.java:759)
      3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      4. java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
      5. java.net.URLClassLoader.access$100(URLClassLoader.java:73)
      6. java.net.URLClassLoader$1.run(URLClassLoader.java:368)
      7. java.net.URLClassLoader$1.run(URLClassLoader.java:362)
      8. java.security.AccessController.doPrivileged(Native Method)
      9. java.net.URLClassLoader.findClass(URLClassLoader.java:361)
      10. java.lang.ClassLoader.loadClass(ClassLoader.java:423)
      11. java.lang.ClassLoader.loadClass(ClassLoader.java:410)
      12. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:262)
      13. java.lang.ClassLoader.loadClass(ClassLoader.java:356)
      13 frames
    3. Eclipse OSGi
      ModuleClassLoader.loadClass
      1. org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:435)
      2. org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)
      3. org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)
      4. org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
      4 frames
    4. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:356)
      1 frame
    5. org.eclipse.e4
      ThemeEngine.applyStyles
      1. org.eclipse.e4.ui.css.core.impl.dom.StyleSheetListImpl.item(StyleSheetListImpl.java:36)
      2. org.eclipse.e4.ui.css.core.impl.dom.ViewCSSImpl.getComputedStyle(ViewCSSImpl.java:68)
      3. org.eclipse.e4.ui.css.core.impl.engine.AbstractCSSEngine.applyStyles(AbstractCSSEngine.java:369)
      4. org.eclipse.e4.ui.css.core.impl.engine.AbstractCSSEngine.applyStyles(AbstractCSSEngine.java:354)
      5. org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngine.applyStyles(ThemeEngine.java:516)
      5 frames
    6. Eclipse Workbench SWT
      PartRenderingEngine$6.style
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$6.style(PartRenderingEngine.java:1282)
      1 frame
    7. Workbench
      WorkbenchThemeManager$WorkbenchThemeChangedHandler.handleEvent
      1. org.eclipse.ui.internal.themes.WorkbenchThemeManager$WorkbenchThemeChangedHandler.overrideAlreadyExistingDefinitions(WorkbenchThemeManager.java:476)
      2. org.eclipse.ui.internal.themes.WorkbenchThemeManager$WorkbenchThemeChangedHandler.handleEvent(WorkbenchThemeManager.java:400)
      2 frames
    8. org.eclipse.e4
      UIEventHandler$1.run
      1. org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40)
      1 frame
    9. RWT
      Synchronizer.syncExec
      1. org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:186)
      1 frame
    10. Eclipse UI
      UISynchronizer.syncExec
      1. org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145)
      1 frame
    11. RWT
      Display.syncExec
      1. org.eclipse.swt.widgets.Display.syncExec(Display.java:4609)
      1 frame
    12. Eclipse Workbench SWT
      E4Application$1.syncExec
      1. org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:211)
      1 frame
    13. org.eclipse.e4
      UIEventHandler.handleEvent
      1. org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:36)
      1 frame
    14. org.eclipse.equinox
      EventHandlerTracker.dispatchEvent
      1. org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)
      2. org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
      3. org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
      3 frames
    15. Eclipse OSGi
      ListenerQueue.dispatchEventSynchronous
      1. org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
      2. org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
      2 frames
    16. org.eclipse.equinox
      EventComponent.sendEvent
      1. org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
      2. org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
      3. org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
      3 frames
    17. org.eclipse.e4
      ThemeEngine.restore
      1. org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngine.sendThemeChangeEvent(ThemeEngine.java:487)
      2. org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngine.setTheme(ThemeEngine.java:466)
      3. org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngine.setTheme(ThemeEngine.java:389)
      4. org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngine.restore(ThemeEngine.java:560)
      4 frames
    18. Eclipse Workbench SWT
      PartRenderingEngine$4.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.setCSSTheme(PartRenderingEngine.java:1405)
      2. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.initializeStyling(PartRenderingEngine.java:1298)
      3. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1022)
      3 frames
    19. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      1 frame
    20. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
      1 frame
    21. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
      1 frame
    22. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
      1 frame
    23. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      1 frame
    24. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
      1 frame
    25. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      1 frame
    26. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
      1 frame
    27. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    28. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      4 frames
    29. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:502)
      4 frames
    30. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1499)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1472)
      4 frames