Results 1 to 2 of 2

Thread: STS 2.0.RELEASE Get An Exception When I Open A POM File

  1. #1

    Unhappy STS 2.0.RELEASE Get An Exception When I Open A POM File

    I have udpate STS to the 2.8.0.release recently. And I am aware that the Maven integration update notice (http://blog.springsource.com/2011/10...Tea m+Blog%29). The STS version seems to have the Maven integration update already. When I open a POM file, I get the following exception. Can someone tell me how to solve this "no editor descriptor" problem?

    Code:
    org.eclipse.ui.PartInitException: No editor descriptor for id org.maven.ide.eclipse.editor.MavenPomEditor
    	at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:601)
    	at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
    	at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
    	at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
    	at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
    	at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
    	at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
    	at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
    	at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1245)
    	at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1198)
    	at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(PartStack.java:834)
    	at org.eclipse.ui.internal.PartStack.access$1(PartStack.java:823)
    	at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.java:137)
    	at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:133)
    	at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:269)
    	at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:278)
    	at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)
    	at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$2.handleEvent(DefaultTabFolder.java:88)
    	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
    	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
    	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:774)
    	at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:2745)
    	at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1432)
    	at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:257)
    	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
    	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
    	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
    	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
    	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
    	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
    	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
    	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
    	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
    	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:601)
    	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
    	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
    	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
    	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
    [URL="http://vicina.info"] 新闻,社区新闻,分类广告

  2. #2
    Join Date
    Aug 2008
    Location
    Vancouver, BC
    Posts
    750

    Default

    You are trying to open one of your maven pom files using the editor of the old m2eclipse, but since that version has been uninstalled, the associated editor no longer exists. Hence the mesage "No editor descriptor...".

    You are probably seeing this because you had a few open pom files before the upgrade and then after the upgrade, you restarted. These pom files were still open and wanted to be open in the "org.maven.ide.eclipse.editor.MavenPomEditor", but that editor no longer exists. You can simply close these files and re-open them in the default editor and the problem should go away.

    Send another message here if you still see these exceptions after closing and reopening the files.
    Andrew Eisenberg, Ph.D.
    SpringSource, a division of VMware
    SpringSource Tools Team
    More about AJDT, Groovy-Eclipse, and Grails tooling

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •