Spring Tool Suite
  1. Spring Tool Suite
  2. STS-1948

Frequent errors after installing STS 2.7.1

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 2.7.1.RELEASE
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I've installed STS 2.7.1 and I get a lot of errors after a short time of using Eclipse. The errors make Eclipse unusable, since immediately after I close the error dialog it reopens. Restarting is the only option.

      Installation details:

      • I have only installed 'SpringSource Tool Suite (required)'.
      • I am running Eclipse Java EE IDE for Web Developers, Build id: 20110615-0604
      • Platform: Linux/GTK/x86_64
      java.lang.NullPointerException
      	at org.eclipse.swt.widgets.MenuItem.getAccelGroup(MenuItem.java:316)
      	at org.eclipse.swt.widgets.MenuItem.setEnabled(MenuItem.java:657)
      	at org.eclipse.ui.menus.CommandContributionItem.updateMenuItem(CommandContributionItem.java:631)
      	at org.eclipse.ui.menus.CommandContributionItem.update(CommandContributionItem.java:580)
      	at org.eclipse.jface.action.MenuManager.update(MenuManager.java:880)
      	at org.eclipse.jface.action.MenuManager.update(MenuManager.java:880)
      	at org.eclipse.jface.action.MenuManager.update(MenuManager.java:880)
      	at org.eclipse.ui.internal.Workbench.updateActiveWorkbenchWindowMenuManager(Workbench.java:3337)
      	at org.eclipse.ui.internal.Workbench.access$0(Workbench.java:3299)
      	at org.eclipse.ui.internal.Workbench$1.windowActivated(Workbench.java:3264)
      	at org.eclipse.ui.internal.Workbench$14.run(Workbench.java:1002)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.internal.Workbench.fireWindowActivated(Workbench.java:1000)
      	at org.eclipse.ui.internal.WorkbenchWindow$28.shellActivated(WorkbenchWindow.java:3141)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:88)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1263)
      	at org.eclipse.swt.widgets.Shell.filterProc(Shell.java:731)
      	at org.eclipse.swt.widgets.Display.filterProc(Display.java:1543)
      	at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
      	at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2258)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3207)
      	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:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	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)
      
      1. .log
        628 kB
        Eugene Batogov
      2. .log
        76 kB
        Eugene Batogov
      3. .log
        669 kB
        Eugene Batogov
      4. STS.log
        76 kB
        Eugene Batogov

        Activity

        Hide
        Steffen Pingel added a comment -

        This problem appears to be an upstream bug in the platform and is also tracked here:

        348205: NullPointerException in xml editor
        https://bugs.eclipse.org/bugs/show_bug.cgi?id=348205

        Show
        Steffen Pingel added a comment - This problem appears to be an upstream bug in the platform and is also tracked here: 348205: NullPointerException in xml editor https://bugs.eclipse.org/bugs/show_bug.cgi?id=348205
        Hide
        Eugene Batogov added a comment -

        new full log with this errors ...

        Show
        Eugene Batogov added a comment - new full log with this errors ...
        Hide
        Eugene Batogov added a comment -

        NEW STS LOG WITH THIS ERRORS ...

        Show
        Eugene Batogov added a comment - NEW STS LOG WITH THIS ERRORS ...
        Hide
        Eugene Batogov added a comment -

        STS log at 2011-10-06

        Show
        Eugene Batogov added a comment - STS log at 2011-10-06
        Hide
        Tomasz Zarna added a comment -

        Eugene, can you please grab an STS with Eclipse 3.7.2 or higher i.e. 3.1.0.RELEASE and give it a try?

        Show
        Tomasz Zarna added a comment - Eugene, can you please grab an STS with Eclipse 3.7.2 or higher i.e. 3.1.0.RELEASE and give it a try?

          People

          • Assignee:
            Unassigned
            Reporter:
            Robert Munteanu
          • Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              First Response Date: