NullPointerException when trying to bind to SonarQube

eclipse
sonarlint

(Haverkamp) #1

Hi,

I get following NullPointerException in Dialog “Connect to SonarQube Server” after entering username, Password and pressing next:
!ENTRY org.eclipse.jface 4 2 2018-10-25 14:04:27.928
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.jface”.
!STACK 0
java.lang.NullPointerException
at org.sonarlint.eclipse.ui.internal.server.wizard.ServerConnectionModel.setUserOrgs(ServerConnectionModel.java:196)
at org.sonarlint.eclipse.ui.internal.server.wizard.ServerConnectionWizard.tryLoadOrganizations(ServerConnectionWizard.java:290)
at org.sonarlint.eclipse.ui.internal.server.wizard.ServerConnectionWizard.handlePageChanging(ServerConnectionWizard.java:253)
at org.eclipse.jface.wizard.WizardDialog$6.run(WizardDialog.java:1518)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil.lambda$0(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
at org.eclipse.jface.wizard.WizardDialog.firePageChanging(WizardDialog.java:1515)
at org.eclipse.jface.wizard.WizardDialog.doPageChanging(WizardDialog.java:877)
at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1161)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:864)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:413)
at org.eclipse.jface.dialogs.Dialog.lambda$0(Dialog.java:619)
at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:81)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
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:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)

Version:
SonarLint for Eclipse 4.0.0.201810170711 org.sonarlint.eclipse.feature.feature.group SonarSource

rest of eclipse:
Buildship: Eclipse Plug-ins for Gradle 2.2.1.v20180125-1441 org.eclipse.buildship.feature.group Eclipse Buildship
Code Recommenders for Java Developers 2.5.2.v20180401-1226 org.eclipse.recommenders.rcp.feature.feature.group Eclipse Code Recommenders
Code Recommenders Mylyn Integration 2.5.2.v20180401-1226 org.eclipse.recommenders.mylyn.rcp.feature.feature.group Eclipse Code Recommenders
Code Recommenders News Feed 2.5.2.v20180401-1226 org.eclipse.recommenders.news.rcp.feature.feature.group Eclipse Code Recommenders
Code Recommenders Snipmatch 2.5.2.v20180401-1226 org.eclipse.recommenders.snipmatch.rcp.feature.feature.group Eclipse Code Recommenders
EclEmma Java Code Coverage 3.1.0.201804041601 org.eclipse.eclemma.feature.feature.group Eclipse EclEmma
Eclipse IDE for Java Developers 4.7.3.20180405-1200 epp.package.java Eclipse Packaging Project
Eclipse Java Development Tools 3.13.4.v20180330-0919 org.eclipse.jdt.feature.group Eclipse.org
Eclipse Platform 4.7.3.v20180330-0640 org.eclipse.platform.feature.group Eclipse.org
Eclipse RCP 4.7.3.v20180330-0640 org.eclipse.rcp.feature.group Eclipse.org
Eclipse XML Editors and Tools 3.9.2.v201803221834 org.eclipse.wst.xml_ui.feature.feature.group Eclipse Web Tools Platform
Git integration for Eclipse 4.9.2.201712150930-r org.eclipse.egit.feature.group Eclipse EGit
Git integration for Eclipse - Task focused interface 4.9.2.201712150930-r org.eclipse.egit.mylyn.feature.group Eclipse EGit
Java implementation of Git 4.9.2.201712150930-r org.eclipse.jgit.feature.group Eclipse JGit
m2e - Maven Integration for Eclipse (includes Incubating components) 1.8.3.20180227-2137 org.eclipse.m2e.feature.feature.group Eclipse.org - m2e
m2e - slf4j over logback logging (Optional) 1.8.3.20180227-2137 org.eclipse.m2e.logback.feature.feature.group Eclipse.org - m2e
Mylyn Builds Connector: Hudson/Jenkins 1.15.0.v20170411-2141 org.eclipse.mylyn.hudson.feature.group Eclipse Mylyn
Mylyn Context Connector: Eclipse IDE 3.23.0.v20170411-2108 org.eclipse.mylyn.ide_feature.feature.group Eclipse Mylyn
Mylyn Context Connector: Java Development 3.23.0.v20170411-2108 org.eclipse.mylyn.java_feature.feature.group Eclipse Mylyn
Mylyn Task List 3.23.1.v20170623-0008 org.eclipse.mylyn_feature.feature.group Eclipse Mylyn
Mylyn Task-Focused Interface 3.23.0.v20170414-0629 org.eclipse.mylyn.context_feature.feature.group Eclipse Mylyn
Mylyn Tasks Connector: Bugzilla 3.23.1.v20170623-0008 org.eclipse.mylyn.bugzilla_feature.feature.group Eclipse Mylyn
Mylyn Versions Connector: Git 1.15.0.v20170411-2003 org.eclipse.mylyn.git.feature.group Eclipse Mylyn
Mylyn WikiText 3.0.19.201711172000 org.eclipse.mylyn.wikitext_feature.feature.group Eclipse Mylyn
Native JavaHL 1.8 Implementation (Optional) 6.0.0.I20160427-1700 org.polarion.eclipse.team.svn.connector.javahl18.feature.group Polarion Software
Native JavaHL 1.9 Implementation (Optional) 6.0.0.I20160427-1700 org.polarion.eclipse.team.svn.connector.javahl19.feature.group Polarion Software
Oomph Setup 1.9.0.v20180310-0545 org.eclipse.oomph.setup.feature.group Eclipse Oomph Project
SonarLint for Eclipse 4.0.0.201810170711 org.sonarlint.eclipse.feature.feature.group SonarSource
SparkBuilderGeneratorFeature 0.0.19.201810182013 com.helospark.SparkBuilderGeneratorFeature.feature.group null
SVNKit 1.8.14 Implementation (Optional) 6.0.4.I20161211-1700 org.polarion.eclipse.team.svn.connector.svnkit18.feature.group Polarion Softwar

Kind regards

Jörg


(Christian Grant) #2

I’m getting the above as well.