Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-1183

AbstractMethodError for WorkspaceLocationConfiguratorParticipant.doCreateExtension after installing some extensions

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.3.M2
    • Fix Version/s: 2.5.0.RC1
    • Component/s: None
    • Labels:
    • Environment:

      Description

      This is an STS instance that I've installed several extensions into: that seems to have broken something. During startup with a newly created workspace I see the following error:

      An internal error occurred during: "Workspace Configuration".

      java.lang.AbstractMethodError: com.springsource.sts.ide.configurator.WorkspaceLocationConfiguratorParticipant.doCreateExtension(Ljava/io/File;Lorg/eclipse/core/runtime/IProgressMonitor;)Lcom/springsource/sts/ide/configurator/ConfigurableExtension;
      at com.springsource.sts.ide.configurator.WorkspaceLocationConfiguratorParticipant.detectExtensions(WorkspaceLocationConfiguratorParticipant.java:43)
      at com.springsource.sts.ide.internal.configurator.ConfiguratorImporter.detectExtensions(ConfiguratorImporter.java:168)
      at com.springsource.sts.ide.internal.configurator.ConfiguratorImporter$1.run(ConfiguratorImporter.java:328)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

      When I now try to access the Extensions tab, I get the same error:

      java.lang.AbstractMethodError: com.springsource.sts.ide.configurator.WorkspaceLocationConfiguratorParticipant.doCreateExtension(Ljava/io/File;Lorg/eclipse/core/runtime/IProgressMonitor;)Lcom/springsource/sts/ide/configurator/ConfigurableExtension;
      at com.springsource.sts.ide.configurator.WorkspaceLocationConfiguratorParticipant.detectExtensions(WorkspaceLocationConfiguratorParticipant.java:43)
      at com.springsource.sts.ide.internal.configurator.ConfiguratorImporter.getInstalledBundles(ConfiguratorImporter.java:443)
      at com.springsource.sts.internal.ide.ui.discovery.DashboardExtensionsPage$DashboardDiscoveryViewer.getInstalledFeatures(DashboardExtensionsPage.java:398)
      at org.eclipse.mylyn.internal.discovery.ui.wizards.DiscoveryViewer$17.run(DiscoveryViewer.java:1455)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

      From the top of my head, these are the extensions I added:

      • Subclipse
      • EGit
      • Grails (framework + plugin)
      • Groovy (framework + plugin)
      • The Google GWT stuff

      Any idea what has caused this error? Seems like a partial up- or downgrade of some internal STS components?

        Activity

        Hide
        cdupuis Christian Dupuis added a comment -

        Steffen, I guess this is some sort of semi-updated STS installation?

        Christian

        Show
        cdupuis Christian Dupuis added a comment - Steffen, I guess this is some sort of semi-updated STS installation? Christian
        Hide
        spingel Steffen Pingel added a comment -

        Yes, this can happen if the Grails extension has an old version. Joris, can you try updating all extensions to the latest version? I will add a guard to handle this case better in the code.

        Show
        spingel Steffen Pingel added a comment - Yes, this can happen if the Grails extension has an old version. Joris, can you try updating all extensions to the latest version? I will add a guard to handle this case better in the code.
        Hide
        jkuipers Joris Kuipers added a comment -

        Can I do that using the regular Eclipse update mechanism? Because the extensions tab is now broken...

        Show
        jkuipers Joris Kuipers added a comment - Can I do that using the regular Eclipse update mechanism? Because the extensions tab is now broken...
        Hide
        spingel Steffen Pingel added a comment -

        Yes, you can install the latest version of the Grails tooling directly from this update site: http://dist.springsource.com/snapshot/TOOLS/nightly/e3.6

        Show
        spingel Steffen Pingel added a comment - Yes, you can install the latest version of the Grails tooling directly from this update site: http://dist.springsource.com/snapshot/TOOLS/nightly/e3.6
        Hide
        spingel Steffen Pingel added a comment -

        This is fixed now. Sorry for the inconvenience. Please let me know in case updating to the latest Grails feature did not resolve the error.

        Show
        spingel Steffen Pingel added a comment - This is fixed now. Sorry for the inconvenience. Please let me know in case updating to the latest Grails feature did not resolve the error.
        Hide
        jkuipers Joris Kuipers added a comment -

        I just updated (just) the Grails tooling plus dependencies to the latest nightlies, but now get a similar error on another method:

        java.lang.AbstractMethodError
        at com.springsource.sts.ide.configurator.WorkspaceLocationConfiguratorParticipant.detectExtensions(WorkspaceLocationConfiguratorParticipant.java:43)
        at com.springsource.sts.ide.internal.configurator.ConfiguratorImporter.getInstalledBundles(ConfiguratorImporter.java:443)
        at com.springsource.sts.internal.ide.ui.discovery.DashboardExtensionsPage$DashboardDiscoveryViewer.getInstalledFeatures(DashboardExtensionsPage.java:398)
        at org.eclipse.mylyn.internal.discovery.ui.wizards.DiscoveryViewer$17.run(DiscoveryViewer.java:1455)
        at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

        More things that need upgrading? I'm a bit hesitant to upgrade everything to a nightly version, maybe I should just reinstall STS and leave out the Groovy/Grails tooling for now? I'm not using it regularly anyway.

        Show
        jkuipers Joris Kuipers added a comment - I just updated (just) the Grails tooling plus dependencies to the latest nightlies, but now get a similar error on another method: java.lang.AbstractMethodError at com.springsource.sts.ide.configurator.WorkspaceLocationConfiguratorParticipant.detectExtensions(WorkspaceLocationConfiguratorParticipant.java:43) at com.springsource.sts.ide.internal.configurator.ConfiguratorImporter.getInstalledBundles(ConfiguratorImporter.java:443) at com.springsource.sts.internal.ide.ui.discovery.DashboardExtensionsPage$DashboardDiscoveryViewer.getInstalledFeatures(DashboardExtensionsPage.java:398) at org.eclipse.mylyn.internal.discovery.ui.wizards.DiscoveryViewer$17.run(DiscoveryViewer.java:1455) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) More things that need upgrading? I'm a bit hesitant to upgrade everything to a nightly version, maybe I should just reinstall STS and leave out the Groovy/Grails tooling for now? I'm not using it regularly anyway.
        Hide
        spingel Steffen Pingel added a comment -

        Sorry for the slow response, I lost track of this issue. You should now be able to update to the latest 2.5.0.M3 milestone release from this update site: http://dist.springsource.com/milestone/TOOLS/update/e3.6 . I would recommend updating all STS extensions to ensure that you have a consistent installation.

        Show
        spingel Steffen Pingel added a comment - Sorry for the slow response, I lost track of this issue. You should now be able to update to the latest 2.5.0.M3 milestone release from this update site: http://dist.springsource.com/milestone/TOOLS/update/e3.6 . I would recommend updating all STS extensions to ensure that you have a consistent installation.

          People

          • Assignee:
            Unassigned
            Reporter:
            jkuipers Joris Kuipers
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: