Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323917 - [build] fails to refresh for certain jobs
Summary: [build] fails to refresh for certain jobs
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: 0.7   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-29 16:42 EDT by Benjamin Muskalla CLA
Modified: 2011-01-05 14:44 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Muskalla CLA 2010-08-29 16:42:12 EDT
Just added the Eclipse hudon (https://hudson.eclipse.org/hudson) with all builds and while refreshing, these exceptions were thrown. From what I can see, the Table with builds is only updated up to maven.wst.xml-xpath-processor so I think that's the suspicious build.

!ENTRY org.eclipse.mylyn.builds.core 4 2 2010-08-29 22:39:18.055
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.mylyn.builds.core".
!STACK 1
org.eclipse.core.runtime.CoreException: Unexpected error: Unexpected response from Hudson server: Not Found
	at org.eclipse.mylyn.internal.hudson.core.HudsonCorePlugin.toCoreException(HudsonCorePlugin.java:61)
	at org.eclipse.mylyn.internal.hudson.core.HudsonServerBehaviour.getBuilds(HudsonServerBehaviour.java:105)
	at org.eclipse.mylyn.builds.internal.core.operations.RefreshSession$1.run(RefreshSession.java:86)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.mylyn.builds.internal.core.operations.RefreshSession.refreshBuilds(RefreshSession.java:79)
	at org.eclipse.mylyn.builds.internal.core.operations.RefreshSession.refresh(RefreshSession.java:72)
	at org.eclipse.mylyn.builds.internal.core.operations.RefreshOperation$RefreshJob.doExecute(RefreshOperation.java:48)
	at org.eclipse.mylyn.builds.internal.core.operations.BuildJob.run(BuildJob.java:79)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.eclipse.mylyn.internal.hudson.core.client.HudsonException: Unexpected response from Hudson server: Not Found
	at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient.checkResponse(RestfulHudsonClient.java:107)
	at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient.checkResponse(RestfulHudsonClient.java:101)
	at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient$1.execute(RestfulHudsonClient.java:120)
	at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient$1.execute(RestfulHudsonClient.java:1)
	at org.eclipse.mylyn.internal.hudson.core.client.HudsonOperation.run(HudsonOperation.java:32)
	at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient.getBuild(RestfulHudsonClient.java:127)
	at org.eclipse.mylyn.internal.hudson.core.HudsonServerBehaviour.getBuilds(HudsonServerBehaviour.java:102)
	... 7 more
Comment 1 Steffen Pingel CLA 2010-08-30 14:26:39 EDT
Thanks for doing the testing. I can reproduce this here. We'll need to investigate and improve the error handling.
Comment 2 Steffen Pingel CLA 2010-08-31 22:58:15 EDT
This should be fixed in head. The exception would occur for jobs that were never built and hence return a 404 when the last build is requested.