Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 339013

Summary: [upstream][jenkins][hudson] Unexpected error: Element type "origin"
Product: z_Archived Reporter: Brendon <brendon2020>
Component: MylynAssignee: Mylyn Inbox <mylyn-inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P3 CC: steffen.pingel
Version: 0.7   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
URL: http://issues.jenkins-ci.org/browse/JENKINS-8855
Whiteboard:
Bug Depends on:    
Bug Blocks: 357679    

Description Brendon CLA 2011-03-05 14:08:15 EST
using version 0.7.0.I20110305-0336 with mylyn version 3.5.0.I20110305-0336

It detects my jenkins server (1.3999) fine but refreshing the build status or trying to look at a build gives me the following error.

Refresh of server 'homeserver' failed
Unexpected error: Element type "origin" must be followed by either attribute specifications, ">" or "/>".
Element type "origin" must be followed by either attribute specifications, ">" or "/>".

Running a build works, it gives me the same error but actually does run the build

The history view works at displaying all the builds but doesn't let you see the details.
Comment 1 Steffen Pingel CLA 2011-03-05 17:05:24 EST
Thanks for the report. I am able to reproduce this with ci.jenkinks-ci.org. I'll look into it.
Comment 2 Steffen Pingel CLA 2011-03-05 17:14:40 EST
Looks like Jenkins produces invalid XML when you open http://ci.jenkins-ci.org/job/gerrit_master/lastBuild/api/xml for instance:

XML Parsing Error: not well-formed
Location: http://ci.jenkins-ci.org/job/gerrit_master/lastBuild/api/xml
Line Number 1, Column 168:

...  <buildsByBranchName><origin/master><buildNumber>

The / is not valid in the element name. This needs to be fixed on the server side. Can you report this problem to the Jenkins project directly?
Comment 3 Brendon CLA 2011-03-05 17:33:33 EST
looks like it has been reported 
http://issues.jenkins-ci.org/browse/JENKINS-8855

should i close this issue?
Comment 4 Steffen Pingel CLA 2011-03-05 20:55:39 EST
Thanks for the link. I'll mark this bug as resolved. Hopefully it will be fixed in Jenkins soon.
Comment 5 Steffen Pingel CLA 2011-08-12 12:03:20 EDT
Unfortunately Hudson now has this problem: http://issues.hudson-ci.org/browse/HUDSON-8838 .