koolking12 / hudson-eclipse

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

Unable to communicate with Hudson org.xml.sax.SAXParseException: The element type "HR" must be terminated by the matching end-tag "</HR>". #60

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Just after configuration.

What is the expected output? What do you see instead?

exception:
Unable to communicate with Hudson
org.xml.sax.SAXParseException: The element type "HR" must be terminated by
the matching end-tag "</HR>".

What version of the product are you using? On what operating system?
dk.contix.eclipse.hudson_1.0.10.jar
+
Eclipse Build id: 20090920-1017
+
Win Vista

Original issue reported on code.google.com by lookas...@gmail.com on 6 Nov 2009 at 8:39

GoogleCodeExporter commented 8 years ago
I encountered exactly the same problem.

I installed Hudson Plugin V1.0.10 via the update site in
Eclipse IDE for C/C++ Developers, Galileo Build id: 20090920-1017 on a
Windows Vista Business x64 System.

Greetings,
Korexio

Original comment by Kore...@gmail.com on 17 Dec 2009 at 9:55

GoogleCodeExporter commented 8 years ago
I am seeing this as well on Galileo / Windows XP, though I have only seen the 
exception 
once when changing filters. Most of the time this is a silent failure with no 
projects 
listed in the window. "Refreshing Hudson Status" is continually at 0%.

eclipse.buildId=M20100211-1343
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.6.0_16-b01

Original comment by jpsh...@gmail.com on 2 May 2010 at 12:58

GoogleCodeExporter commented 8 years ago
I have a hunch that this is related to credentials not being correctly sent to 
the 
server for the first refresh of the hudson view so the server will return an 
HTML page 
which is not a well formatted XML.

Are you trying to connect to a password protected hudson server when you see 
this 
error?

Original comment by dan.corneanu@gmail.com on 5 May 2010 at 7:57

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
There is a PropertyChangeListener hooked to hudson's preferences which gets 
called 
for each preference field that was changed. Every time it gets called it 
schedules a 
job to do a refresh. If so happens that the job that gets to be run first, 
finds 
the preferences in a dirty state, with the correct server URL but with the 
authentication checkbox set to false, it will try to connect to the server and 
will 
get an "401 Authorization Required" response.

HttpClient.executeMethod() is called several times without inspecting the 
return 
code. I think the first step would be to properly check the return code and log 
a 
message in case of an error.

Next we have to find a way to refresh the hudson view when we are pretty sure 
that 
the values in the preference page are complete. 

Original comment by dan.corneanu@gmail.com on 5 May 2010 at 9:00

GoogleCodeExporter commented 8 years ago
I have the same problem with dk.contix.eclipse.hudson_1.0.10.jar on a virtual 
Machine with Windows Server 2003 Service pack2 and Eclipse Galileo.Hudson 
ver.1.385.
I can't link Eclipse and Hudson. Is there any fix pack or patch? 

Original comment by jose...@gmail.com on 18 Nov 2010 at 4:35

GoogleCodeExporter commented 8 years ago
The selected view filter doesn't work, don't investigate why.
A workaround is to edit the file 
.metadata/.plugins/org.eclipse.core.runtime/.settings/dk.contix.eclipse.hudson.p
refs and remove all reference to the filter

Original comment by wad...@gmail.com on 7 Sep 2011 at 11:44