Skip to main content



      Home
Home » Eclipse Projects » Mylyn » Bugzilla not providing well-formed document
Bugzilla not providing well-formed document [message #19014] Wed, 25 July 2007 09:52 Go to next message
Eclipse UserFriend
Originally posted by: martin.klinke.xavo.de

Hi,

I'm using Eclipse 3.2 with Mylyn 2.0.0 and the Bugzilla Connector. I am
able to add a Bugzilla repository, but when it comes to updating the
attributes (either via the context menu action or when trying to create
a form query) I get the following error message:

Error updating attributes.

"The markup in the document following the root element must be well-formed."

The weird thing is, that there are several instances of Bugzilla on our
server with the exact same software version installed (symbolic links on
Linux etc.) and another instance I tried worked fine. So this can't be a
bug in Bugzilla...
Could someone please tell me, what I can do to fix this as I would
really love to use Mylyn with this repository...
Can I somehow get to the document that is malformed, e.g. by using the
browser or some XML-RPC tool? Unfortunately, there is no entry in the
error log either...

Thanks for your answers,
Martin Klinke
Re: Bugzilla not providing well-formed document [message #19036 is a reply to message #19014] Wed, 25 July 2007 10:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alex_blewitt.yahoo.com

Most likely, it's giving you some HTML error message (e.g. 404) which isn't XML and thus barfing. Unfortunately, there's no way to see what the output is as otherwise it would be obvious.

Alex.
Re: Bugzilla not providing well-formed document [message #19573 is a reply to message #19014] Thu, 26 July 2007 07:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: martin.klinke.xavo.de

OK, I found the solution myself...

The crucial difference between both Bugzilla instances was the table
keyworddefs.
The one that Mylyn worked with had one entry in the table, the other
one's table was empty. So config.cgi of the instance with no keyworddefs
failed (SQL syntax exception...) and did not return the appropriate
configuration format.

I wish the error message had included the URL with the problematic
content so I hadn't needed to check out the Mylyn sources and debug to
the place where the exception was thrown...

Martin
Re: Bugzilla not providing well-formed document [message #19757 is a reply to message #19573] Thu, 26 July 2007 12:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alex_blewitt.yahoo.com

I filed an enhancement request to allow you to view the back-and-forth over a web connection for debugging purposes. Who knows, it might even be a bugday bug ...

Alex.
Re: Bugzilla not providing well-formed document [message #20907 is a reply to message #19573] Fri, 27 July 2007 23:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rob.elves.eclipse.org

Martin Klinke wrote:
> I wish the error message had included the URL with the problematic
> content so I hadn't needed to check out the Mylyn sources and debug to
> the place where the exception was thrown...

Generally cases which result in an unexpected content type (html? vs rdf
in this case) a small html error dialog should be presented with the
response from Bugzilla. Please post a bug report and we'll look into
improving the error handling for this case.

Thanks,

-Rob
Re: Bugzilla not providing well-formed document [message #20943 is a reply to message #20907] Mon, 30 July 2007 04:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: martin.klinke.xavo.de

Robert Elves wrote:
> [...] Please post a bug report and we'll look into
> improving the error handling for this case.
>

Alex replied some days ago that he had already "filed an enhancement
request to allow you to view the back-and-forth over a web connection
for debugging purposes".

Please post the bug id here, if you read this, Alex ;)

Thanks,
Martin
Re: Bugzilla not providing well-formed document [message #20953 is a reply to message #20943] Mon, 30 July 2007 14:21 Go to previous message
Eclipse UserFriend
Originally posted by: alex_blewitt.yahoo.com

https://bugs.eclipse.org/bugs/show_bug.cgi?id=195658
Re: Bugzilla not providing well-formed document [message #575112 is a reply to message #19014] Wed, 25 July 2007 10:29 Go to previous message
Eclipse UserFriend
Most likely, it's giving you some HTML error message (e.g. 404) which isn't XML and thus barfing. Unfortunately, there's no way to see what the output is as otherwise it would be obvious.

Alex.
Re: Bugzilla not providing well-formed document [message #575642 is a reply to message #19014] Thu, 26 July 2007 07:26 Go to previous message
Eclipse UserFriend
OK, I found the solution myself...

The crucial difference between both Bugzilla instances was the table
keyworddefs.
The one that Mylyn worked with had one entry in the table, the other
one's table was empty. So config.cgi of the instance with no keyworddefs
failed (SQL syntax exception...) and did not return the appropriate
configuration format.

I wish the error message had included the URL with the problematic
content so I hadn't needed to check out the Mylyn sources and debug to
the place where the exception was thrown...

Martin
Re: Bugzilla not providing well-formed document [message #575830 is a reply to message #19573] Thu, 26 July 2007 12:54 Go to previous message
Eclipse UserFriend
I filed an enhancement request to allow you to view the back-and-forth over a web connection for debugging purposes. Who knows, it might even be a bugday bug ...

Alex.
Re: Bugzilla not providing well-formed document [message #576079 is a reply to message #19573] Fri, 27 July 2007 23:14 Go to previous message
Eclipse UserFriend
Martin Klinke wrote:
> I wish the error message had included the URL with the problematic
> content so I hadn't needed to check out the Mylyn sources and debug to
> the place where the exception was thrown...

Generally cases which result in an unexpected content type (html? vs rdf
in this case) a small html error dialog should be presented with the
response from Bugzilla. Please post a bug report and we'll look into
improving the error handling for this case.

Thanks,

-Rob
Re: Bugzilla not providing well-formed document [message #576385 is a reply to message #20907] Mon, 30 July 2007 04:09 Go to previous message
Eclipse UserFriend
Robert Elves wrote:
> [...] Please post a bug report and we'll look into
> improving the error handling for this case.
>

Alex replied some days ago that he had already "filed an enhancement
request to allow you to view the back-and-forth over a web connection
for debugging purposes".

Please post the bug id here, if you read this, Alex ;)

Thanks,
Martin
Re: Bugzilla not providing well-formed document [message #576505 is a reply to message #20943] Mon, 30 July 2007 14:21 Go to previous message
Eclipse UserFriend
https://bugs.eclipse.org/bugs/show_bug.cgi?id=195658
Previous Topic:I have seen references to sub-tasks...
Next Topic:Using Mylyn from other plug-ins (task picker)
Goto Forum:
  


Current Time: Thu Jul 03 05:34:56 EDT 2025

Powered by FUDForum. Page generated in 0.11051 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top