koolking12 / hudson-eclipse

Automatically exported from code.google.com/p/hudson-eclipse
0 stars 0 forks source link

Connection to hudson fails - "Unable to get Hudson status." #35

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
- install plugin on eclipse v3.3
- open Hudson preferences
- specify base URL of http://myServer:8080/hudson
- click "Check url" - "Valid url" displayed
- hit apply (the error dialog pops up)
- open the Hudson view and click the refresh status button (the error
dialog pops up)

What is the expected output? What do you see instead?
I expect to see status info for hudson.  An eclipse error dialog window. 
"Unable to get Hudson status."  Reason: "Unable to communicate with Hudson"
Details: "No status constant for value disabled"

What version of the product are you using? On what operating system?
hudson-eclipse v1.0.6
eclipse v3.3.0
running eclipse with v1.6.0_12
Hudson ver. 1.293

Please provide any additional information below.
The only thing of note is that we run hudson on the default tomcat port of
8080.

I double checked the URL.  When I paste http://myServer:8080/hudson into a
browser the hudson dashboard is displayed.  Also
http://myServer:8080/hudson/api/xml responds with an XML document.  I have
attached the output to this bug.

I don't see anything in the Error Log that applies directly to the error
message displayed every time i try to refresh the Hudson status.  This is
the only entry in the Error Log that seems to directly relate to the
hudson-eclipse plugin:

!ENTRY org.eclipse.jface 2 0 2009-05-18 12:26:24.955
!MESSAGE Ignored reentrant call while viewer is busy. This is only logged
once per viewer instance, but similar calls will still be ignored.
!STACK 0
java.lang.RuntimeException
    at org.eclipse.jface.viewers.ColumnViewer.isBusy(ColumnViewer.java:79)
    at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:496)
    at
org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1390)
    at
dk.contix.eclipse.hudson.JobContentProvider$2$1.run(JobContentProvider.java:67)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
    at org.eclipse.jface.window.Window.open(Window.java:796)
    at org.eclipse.jface.dialogs.ErrorDialog.open(ErrorDialog.java:333)
    at org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog.java:397)
    at org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog.java:362)
    at
dk.contix.eclipse.hudson.JobContentProvider.getElements(JobContentProvider.java:
119)
    at
org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:
937)
    at
org.eclipse.jface.viewers.ColumnViewer.getRawChildren(ColumnViewer.java:660)
    at
org.eclipse.jface.viewers.AbstractTableViewer.getRawChildren(AbstractTableViewer
.java:1066)
    at
org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.
java:871)
    at
org.eclipse.jface.viewers.StructuredViewer.getSortedChildren(StructuredViewer.ja
va:994)
    at
org.eclipse.jface.viewers.AbstractTableViewer.internalRefreshAll(AbstractTableVi
ewer.java:682)
    at
org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewe
r.java:630)
    at
org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewe
r.java:617)
    at
org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:1433)
    at
org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.
java:1368)
    at
org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.
java:1330)
    at
org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1431)
    at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:503)
    at
org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1390)
    at
dk.contix.eclipse.hudson.views.HudsonView$1.propertyChange(HudsonView.java:161)
    at org.eclipse.core.runtime.Preferences$1.run(Preferences.java:505)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at
org.eclipse.core.runtime.Preferences.firePropertyChangeEvent(Preferences.java:50
8)
    at
org.eclipse.core.internal.preferences.legacy.PreferenceForwarder.preferenceChang
e(PreferenceForwarder.java:112)
    at
org.eclipse.core.internal.preferences.EclipsePreferences$2.run(EclipsePreference
s.java:746)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at
org.eclipse.core.internal.preferences.EclipsePreferences.firePreferenceEvent(Ecl
ipsePreferences.java:749)
    at
org.eclipse.core.internal.preferences.EclipsePreferences.putBoolean(EclipsePrefe
rences.java:776)
    at
org.eclipse.ui.preferences.ScopedPreferenceStore.setValue(ScopedPreferenceStore.
java:803)
    at
org.eclipse.jface.preference.BooleanFieldEditor.doStore(BooleanFieldEditor.java:
156)
    at org.eclipse.jface.preference.FieldEditor.store(FieldEditor.java:676)
    at
org.eclipse.jface.preference.FieldEditorPreferencePage.performOk(FieldEditorPref
erencePage.java:343)
    at
org.eclipse.jface.preference.PreferencePage.performApply(PreferencePage.java:431
)
    at
org.eclipse.jface.preference.PreferencePage$2.widgetSelected(PreferencePage.java
:282)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
    at org.eclipse.jface.window.Window.open(Window.java:796)
    at
dk.contix.eclipse.hudson.views.actions.OpenPreferencesAction.run(OpenPreferences
Action.java:25)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionCont
ributionItem.java:545)
    at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.
java:490)
    at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContribution
Item.java:402)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
    at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java
:106)
    at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ecli
pseAppLauncher.java:106)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLau
ncher.java:76)
    at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
    at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
    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:504)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
!SESSION 2009-05-18 12:44:21.501
-----------------------------------------------
eclipse.buildId=I20070625-1500
java.version=1.6.0_12
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86

Original issue reported on code.google.com by carlo...@gmail.com on 18 May 2009 at 5:11

Attachments:

GoogleCodeExporter commented 8 years ago
Please let me know if you need any other information or need to me try anything.

Carlos

Original comment by carlo...@gmail.com on 18 May 2009 at 5:12

GoogleCodeExporter commented 8 years ago
Fixed in svn - status disabled was not handled correctly after refactoring.

Original comment by jre...@gmail.com on 18 May 2009 at 8:36

GoogleCodeExporter commented 8 years ago
Is a version 1.0.7 likely to come out soon with this fix in it?

Original comment by buck...@gmail.com on 20 May 2009 at 8:25

GoogleCodeExporter commented 8 years ago
Issue 37 has been merged into this issue.

Original comment by jre...@gmail.com on 20 May 2009 at 3:40

GoogleCodeExporter commented 8 years ago
Issue 38 has been merged into this issue.

Original comment by jre...@gmail.com on 20 May 2009 at 3:41

GoogleCodeExporter commented 8 years ago
Great - I am looking forward to seeing what this plugin gives us.

Original comment by edwinpau...@gmail.com on 20 May 2009 at 7:01