Error while connecting Sonar in Eclipse -
i trying use eclipse plugin connect instance of sonar have installed locally on machine: using following details:
http:// localhost:9000 username:admin password:admin
but showing error instance
the stack trace:
java.lang.nosuchfielderror: instance @ org.sonar.ide.eclipse.core.internal.servers.serversmanager.getservers(serversmanager.java:41) @ org.sonar.ide.eclipse.ui.internal.preferences.sonarserverpreferencepage.inittable(sonarserverpreferencepage.java:92) @ org.sonar.ide.eclipse.ui.internal.preferences.sonarserverpreferencepage.createcontents(sonarserverpreferencepage.java:81) @ org.eclipse.jface.preference.preferencepage.createcontrol(preferencepage.java:232) @ org.eclipse.jface.preference.preferencedialog.createpagecontrol(preferencedialog.java:1501) @ org.eclipse.jface.preference.preferencedialog$14.run(preferencedialog.java:1258) @ org.eclipse.core.runtime.saferunner.run(saferunner.java:42) @ org.eclipse.ui.internal.jfaceutil$1.run(jfaceutil.java:49) @ org.eclipse.jface.util.saferunnable.run(saferunnable.java:175) @ org.eclipse.jface.preference.preferencedialog.showpage(preferencedialog.java:1252) @ org.eclipse.ui.internal.dialogs.filteredpreferencedialog.showpage(filteredpreferencedialog.java:674) @ org.eclipse.jface.preference.preferencedialog$10.run(preferencedialog.java:708) @ org.eclipse.swt.custom.busyindicator.showwhile(busyindicator.java:70) @ org.eclipse.jface.preference.preferencedialog$9.selectionchanged(preferencedialog.java:704) @ org.eclipse.jface.viewers.structuredviewer$3.run(structuredviewer.java:867) @ org.eclipse.core.runtime.saferunner.run(saferunner.java:42) @ org.eclipse.ui.internal.jfaceutil$1.run(jfaceutil.java:49) @ org.eclipse.jface.util.saferunnable.run(saferunnable.java:175) @ org.eclipse.jface.viewers.structuredviewer.firepostselectionchanged(structuredviewer.java:865) @ org.eclipse.jface.viewers.structuredviewer.handlepostselect(structuredviewer.java:1205) @ org.eclipse.jface.viewers.structuredviewer$5.widgetselected(structuredviewer.java:1230) @ org.eclipse.jface.util.openstrategy.firepostselectionevent(openstrategy.java:251) @ org.eclipse.jface.util.openstrategy.access$5(openstrategy.java:245) @ org.eclipse.jface.util.openstrategy$3.run(openstrategy.java:419) @ org.eclipse.swt.widgets.runnablelock.run(runnablelock.java:35) @ org.eclipse.swt.widgets.synchronizer.runasyncmessages(synchronizer.java:134) @ org.eclipse.swt.widgets.display.runasyncmessages(display.java:4041) @ org.eclipse.swt.widgets.display.readanddispatch(display.java:3660) @ org.eclipse.jface.window.window.runeventloop(window.java:825) @ org.eclipse.jface.window.window.open(window.java:801) @ org.eclipse.ui.internal.dialogs.workbenchpreferencedialog.open(workbenchpreferencedialog.java:211) @ org.eclipse.ui.internal.openpreferencesaction.run(openpreferencesaction.java:65) @ org.eclipse.jface.action.action.runwithevent(action.java:498) @ org.eclipse.jface.action.actioncontributionitem.handlewidgetselection(actioncontributionitem.java:584) @ org.eclipse.jface.action.actioncontributionitem.access$2(actioncontributionitem.java:501) @ org.eclipse.jface.action.actioncontributionitem$5.handleevent(actioncontributionitem.java:411) @ org.eclipse.swt.widgets.eventtable.sendevent(eventtable.java:84) @ org.eclipse.swt.widgets.widget.sendevent(widget.java:1053) @ org.eclipse.swt.widgets.display.rundeferredevents(display.java:4066) @ org.eclipse.swt.widgets.display.readanddispatch(display.java:3657) @ org.eclipse.ui.internal.workbench.runeventloop(workbench.java:2640) @ org.eclipse.ui.internal.workbench.runui(workbench.java:2604) @ org.eclipse.ui.internal.workbench.access$4(workbench.java:2438) @ org.eclipse.ui.internal.workbench$7.run(workbench.java:671) @ org.eclipse.core.databinding.observable.realm.runwithdefault(realm.java:332) @ org.eclipse.ui.internal.workbench.createandrunworkbench(workbench.java:664) @ org.eclipse.ui.platformui.createandrunworkbench(platformui.java:149) @ org.eclipse.ui.internal.ide.application.ideapplication.start(ideapplication.java:115) @ org.eclipse.equinox.internal.app.eclipseapphandle.run(eclipseapphandle.java:196) @ org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.runapplication(eclipseapplauncher.java:110) @ org.eclipse.core.runtime.internal.adaptor.eclipseapplauncher.start(eclipseapplauncher.java:79) @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:369) @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:179) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(unknown source) @ sun.reflect.delegatingmethodaccessorimpl.invoke(unknown source) @ java.lang.reflect.method.invoke(unknown source) @ org.eclipse.equinox.launcher.main.invokeframework(main.java:620) @ org.eclipse.equinox.launcher.main.basicrun(main.java:575) @ org.eclipse.equinox.launcher.main.run(main.java:1408) @ org.eclipse.equinox.launcher.main.main(main.java:1384)
i have run analysis of project before trying connect. issue here?
have provided server address in eclipse sonar plugin preferences or edited preconfigured entry? not every version of sonar can used every version of eclipse, make sure yours fits. , finally, please verify not using local analysis mode. although sonar installation on same machine, want use server mode analysis.
Comments
Post a Comment