Uploaded image for project: 'SonarQube Eclipse'
  1. SonarQube Eclipse
  2. SONARCLIPS-309

Sonar plugin fails with Eclipse 3.7.2 / Mylyn 3.8

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.4
    • Component/s: Review
    • Labels:
      None
    • Environment:
      Eclipse 3.7.2 / Mylyn 3.8

      Description

      I cannot open any Review task from our Sonar server.

      What steps will reproduce the problem?
      1. Add new Review connector pointing to an existing Sonar server.
      2. Create query which returns results (either open or closed reviews)
      3. Open any task return from the query:

      Result: Editor Pane stays empty, sometimes exception is thrown.
      Will attach stack traces from the error log.

      – Error Details –
      Date: Fri Jul 20 15:15:57 CEST 2012
      Message: Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
      Severity: Error
      Product: Eclipse 1.4.2.20120131-1457 (org.eclipse.epp.package.jee.product)
      Plugin: org.eclipse.ui.workbench
      Session Data:
      eclipse.buildId=M20120208-0800
      java.version=1.6.0_30
      java.vendor=Sun Microsystems Inc.
      BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
      Framework arguments: -product org.eclipse.epp.package.jee.product -keyring /home/joerg/.eclipse-keyring/.keyring
      Command-line arguments: -os linux -ws gtk -arch x86 -product org.eclipse.epp.package.jee.product -keyring /home/joerg/.eclipse-keyring/.keyring

      Exception Stack Trace:

      java.lang.NullPointerException
      	at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
      	at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.setVisible(TabbedStackPresentation.java:381)
      	at org.eclipse.ui.internal.PartStack.setVisible(PartStack.java:1047)
      	at org.eclipse.ui.internal.PartSashContainer.remove(PartSashContainer.java:739)
      	at org.eclipse.ui.internal.EditorSashContainer.removeEditor(EditorSashContainer.java:295)
      	at org.eclipse.ui.internal.EditorAreaHelper.closeEditor(EditorAreaHelper.java:84)
      	at org.eclipse.ui.internal.EditorAreaHelper.closeEditor(EditorAreaHelper.java:62)
      	at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1454)
      	at org.eclipse.ui.internal.WorkbenchPage.closeAllEditors(WorkbenchPage.java:1262)
      	at org.eclipse.ui.internal.WorkbenchPage.dispose(WorkbenchPage.java:1846)
      	at org.eclipse.ui.internal.WorkbenchWindow.closeAllPages(WorkbenchWindow.java:894)
      	at org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1729)
      	at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:730)
      	at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:715)
      	at org.eclipse.ui.internal.WorkbenchWindow$6.run(WorkbenchWindow.java:867)
      	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      	at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:865)
      	at org.eclipse.jface.window.WindowManager.close(WindowManager.java:109)
      	at org.eclipse.ui.internal.Workbench$18.run(Workbench.java:1114)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1111)
      	at org.eclipse.ui.internal.Workbench.access$15(Workbench.java:1040)
      	at org.eclipse.ui.internal.Workbench$25.run(Workbench.java:1284)
      	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      	at org.eclipse.ui.internal.Workbench.close(Workbench.java:1282)
      	at org.eclipse.ui.internal.Workbench.close(Workbench.java:1254)
      	at org.eclipse.ui.internal.handlers.QuitHandler.execute(QuitHandler.java:41)
      	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
      	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
      	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
      	at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
      	at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
      	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
      	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
      	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
      	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
      	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.Display.runDeferredEvents(Display.java:3588)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
      	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
      	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
      	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
      	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
      	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)
      
      1. stacktrace-1.txt
        6 kB
        Jörg Thönnes
      2. stacktrace-2.txt
        5 kB
        Jörg Thönnes
      3. stacktrace-3.txt
        7 kB
        Jörg Thönnes

        Issue Links

          Activity

          Hide
          jthoennes Jörg Thönnes added a comment -

          OK, will do

          Show
          jthoennes Jörg Thönnes added a comment - OK, will do
          Hide
          freddy.mallet Freddy Mallet added a comment -

          Manually tested with both Eclipse 3.7.2 and Eclipse 4.2

          Show
          freddy.mallet Freddy Mallet added a comment - Manually tested with both Eclipse 3.7.2 and Eclipse 4.2
          Hide
          jthoennes Jörg Thönnes added a comment -

          If there is a nightly snapshot I would also offer to test with Eclipse 3.8 and Mylyn 3.8.1.

          Show
          jthoennes Jörg Thönnes added a comment - If there is a nightly snapshot I would also offer to test with Eclipse 3.8 and Mylyn 3.8.1.
          Hide
          freddy.mallet Freddy Mallet added a comment -

          See this thread of discussion : http://sonar.markmail.org/thread/6nzexkrtsa3lsmh6

          Show
          freddy.mallet Freddy Mallet added a comment - See this thread of discussion : http://sonar.markmail.org/thread/6nzexkrtsa3lsmh6
          Hide
          jthoennes Jörg Thönnes added a comment -

          Thanks, Freddy.

          Show
          jthoennes Jörg Thönnes added a comment - Thanks, Freddy.

            People

            • Assignee:
              dgageot David Gageot
              Reporter:
              jthoennes Jörg Thönnes
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: