facebook

NoClassDefFoundError after theme update

  1. DevStyle
  2.  > 
  3. Theme Problems
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #525032 Reply

    menion
    Participant

    Hi all
    Yesterday I have done an eclipse update. The only item included in the update was Dark Theme
    Now I get a NoClassDefFoundError when following C/C++ symbols or when I cycle between opened files.
    Apparently this happen only when the target file (meaning the file where is the symbol I follow or the file I wish to open in the file tabs) is “out of cache”
    i.s

    1) Current tab is file1.c -> switch to file2.c get the error. Switch back between file1.c and file2.c no error, but if I go to file3.c error again

    Attached the callback trace of the exception

    !ENTRY org.eclipse.ui.workbench 4 2 2017-05-31 09:44:41.326
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
    !STACK 0
    java.lang.NoClassDefFoundError: org/eclipse/wst/common/project/facet/core/ProjectFacetsManager
    	at com.genuitec.eclipse.monitor.internal.MEFacetsInstalledProjectTracker.getFacetsInstalledForProject(MEFacetsInstalledProjectTracker.java:101)
    	at com.genuitec.eclipse.monitor.internal.MEFacetsInstalledProjectTracker.checkIfRelevantToConsume(MEFacetsInstalledProjectTracker.java:79)
    	at com.genuitec.eclipse.monitor.internal.MEFacetsInstalledProjectTracker.access$0(MEFacetsInstalledProjectTracker.java:77)
    	at com.genuitec.eclipse.monitor.internal.MEFacetsInstalledProjectTracker$1.partOpened(MEFacetsInstalledProjectTracker.java:56)
    	at org.eclipse.ui.internal.WorkbenchPage$22.run(WorkbenchPage.java:5084)
    	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    	at org.eclipse.ui.internal.WorkbenchPage.firePartOpened(WorkbenchPage.java:5081)
    	at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart$2.handleEvent(CompatibilityPart.java:120)
    	at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40)
    	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:233)
    	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145)
    	at org.eclipse.swt.widgets.Display.syncExec(Display.java:4821)
    	at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:211)
    	at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:36)
    	at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:201)
    	at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
    	at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
    	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
    	at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
    	at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
    	at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
    	at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:94)
    	at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:60)
    	at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
    	at org.eclipse.e4.ui.model.application.ui.basic.impl.PartImpl.setObject(PartImpl.java:410)
    	at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:131)
    	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:975)
    	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:651)
    	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:757)
    	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:728)
    	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:722)
    	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:706)
    	at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1324)
    	at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java:72)
    	at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40)
    	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:233)
    	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145)
    	at org.eclipse.swt.widgets.Display.syncExec(Display.java:4821)
    	at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:211)
    	at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:36)
    	at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:201)
    	at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
    	at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
    	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
    	at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
    	at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
    	at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
    	at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:94)
    	at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:60)
    	at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
    	at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:173)
    	at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer$5.widgetSelected(StackRenderer.java:1102)
    	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
    	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
    	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
    	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1103)
    	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1088)
    	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:802)
    	at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3167)
    	at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1850)
    	at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:333)
    	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
    	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
    	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4236)
    	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3824)
    	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
    	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
    	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
    	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
    	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
    	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
    	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
    	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
    	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
    	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
    	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.lang.reflect.Method.invoke(Unknown Source)
    	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
    	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
    	at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
    Caused by: java.lang.ClassNotFoundException: org.eclipse.wst.common.project.facet.core.ProjectFacetsManager cannot be found by com.genuitec.eclipse.monitor_13.0.0.201705041952
    	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:461)
    	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372)
    	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:364)
    	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
    	at java.lang.ClassLoader.loadClass(Unknown Source)
    	... 91 more
    #525034 Reply

    menion
    Participant

    Hi
    Actually I have found the solution
    You must install “Eclipse Faceted Project Framework”
    Now either there is a missing dependency in the Dark Theme package or this class is checked by mistake and never used
    Bye

    #525076 Reply

    support-swapna
    Moderator

    menion,

    Thank you for the details. This is a known issue and the dev team is already working on it. We will keep you posted when the fix is out.

    Apologies for inconvenience caused.

    –Swapna
    MyEclipse Support

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: NoClassDefFoundError after theme update

You must be logged in to post in the forum log in