Skip to main content



      Home
Home » Eclipse Projects » Mylyn » Bugzilla connector fails after Mylyn update 3.0.4
Bugzilla connector fails after Mylyn update 3.0.4 [message #64706] Sat, 31 January 2009 05:50 Go to next message
Eclipse UserFriend
Hi all

I've been working for several month with Mylyn 3.0.0 and accessing our
Bugzilla 3.0.4 repository without any problems.

Then I've updated my Eclipse 3.4 installation, part of it was Mylyn 3.0.4.
Now I'm no longer able to query the repository.

When I try to synchronize, I get a dialog titled with "Query
synchronization failed" / "A repository error has occured". In the dialog
itself, I see a HTML version of "Bugzilla – Main Page version 3.0.4".

It looks as if the bugzilla server responds with HTML instead of XML
(although I'm not sure what Mylyn Bugzilla connector really expects).

While playing around, I found another strange detail on the "Bugzilla
Repository Settings" dialog: When I enter my UserID and password and click
on "Validate Settings", I get again "A repository error has occured" -
unfortunately without any other error detail. But when I check "Anonymous
Access", "Validate Settings" succeeds (but that doesn't solve my problem
of course).

Any help appreciated!

Regards
Daniel
Re: Bugzilla connector fails after Mylyn update 3.0.4 [message #65915 is a reply to message #64706] Sun, 01 March 2009 13:58 Go to previous messageGo to next message
Eclipse UserFriend
Hi

the problem still persists... now I've been updating to Mylyn 3.0.5 but I
still get the same error: synchronizing tasks with our Bugzilla repository
does no longer work. Btw, other people in my company encountered exactly
the same problem.

The mentioned dialog shows a HTML response indeed, I can "view source" on
it and I get a HTML source which starts as follows:

<!DOCTYPE 4.01="" "http://www.w3.org/tr/html4/loose.dtd"=""
transitional//en"="" html="" public="" "-//w3c//dtd="">
<html>
<head>
<title>Bugzilla Main Page</title>

With the new Mylyn version 3.0.5 I get a few more error details in the
error log. It says:

eclipse.buildId=M20090211-1700
java.version=1.6.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_CH
Framework arguments: 256M -Xmx2048m -Xms512m -XX:MaxPermSize512m
Command-line arguments: -os win32 -ws win32 -arch x86 256M -Xmx2048m
-Xms512m -XX:MaxPermSize512m


Warning
Sun Mar 01 19:27:28 CET 2009
Error parsing metadata repository
...
Warning
Sun Mar 01 19:27:28 CET 2009
Error at line 13, column 90: Illegal value for attribute "url" of element
"repository": null
...
Warning
Error at line 13, column 90: Missing required attribute in "repository":
url


Any ideas? How can we find the cause of the problem? The error message
'Illegal value for attribute "url" of element "repository": null' doesn't
help, the repository URL is not empty (null) and if I validate repository
settings with 'Anonymous Access', the repository validation is OK, but
validation fails ('A repository error occured') as soon as I set my
bugzilla login credentials in the 'Task Repositories' dialog.

Daniel
Re: Bugzilla connector fails after Mylyn update 3.0.4 [message #66213 is a reply to message #65915] Sat, 07 March 2009 14:53 Go to previous messageGo to next message
Eclipse UserFriend
daniel.brugger@crealogix.com (Daniel ) wrote:

>
> Hi
>
> the problem still persists... now I've been updating to Mylyn 3.0.5 but I
> still get the same error: synchronizing tasks with our Bugzilla repository
> does no longer work. Btw, other people in my company encountered exactly
> the same problem.
>
> The mentioned dialog shows a HTML response indeed, I can "view source" on
> it and I get a HTML source which starts as follows:
>
> <!DOCTYPE 4.01="" "http://www.w3.org/tr/html4/loose.dtd"=""
> transitional//en"="" html="" public="" "-//w3c//dtd="">
> <html>
> <head>
> <title>Bugzilla Main Page</title>
>
> With the new Mylyn version 3.0.5 I get a few more error details in the
> error log. It says:
>
> eclipse.buildId=M20090211-1700
> java.version=1.6.0_11
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_CH
> Framework arguments: 256M -Xmx2048m -Xms512m -XX:MaxPermSize512m
> Command-line arguments: -os win32 -ws win32 -arch x86 256M -Xmx2048m
> -Xms512m -XX:MaxPermSize512m
>
>
> Warning
> Sun Mar 01 19:27:28 CET 2009
> Error parsing metadata repository
> ...
> Warning
> Sun Mar 01 19:27:28 CET 2009
> Error at line 13, column 90: Illegal value for attribute "url" of element
> "repository": null
> ...
> Warning
> Error at line 13, column 90: Missing required attribute in "repository":
> url
>
>
> Any ideas? How can we find the cause of the problem? The error message
> 'Illegal value for attribute "url" of element "repository": null' doesn't
> help, the repository URL is not empty (null) and if I validate repository
> settings with 'Anonymous Access', the repository validation is OK, but
> validation fails ('A repository error occured') as soon as I set my
> bugzilla login credentials in the 'Task Repositories' dialog.
>
> Daniel
>
Hi Daniel,

please give some more information.

What Bugzilla version did you use?
Is the Bugzilla repository accessible from the public?
Please add the whole response and not only the first part.

Regards

Frank
Re: Bugzilla connector fails after Mylyn update 3.0.4 [message #66710 is a reply to message #66213] Tue, 17 March 2009 05:34 Go to previous messageGo to next message
Eclipse UserFriend
Hi Frank

> What Bugzilla version did you use?
Our Bugzilla version is 3.0.4. We also use Testopia 2.1 (in conjunction
with bugzilla) - that's maybe a special point in our installation.

> Is the Bugzilla repository accessible from the public?
Pls write me a short mail (daniel dot brugger at crealogix dot com) and I
will give you the details (I hesitate to write that in a public forum, I
hope you understand).

> Please add the whole response and not only the first part.
I will send it along with the account details.
Btw, the reply is UTF-16 and starts with the bytes 'FF FE' (indicating
UTF-16 little endian).

Thanks a lot for your help!

Daniel
Re: Bugzilla connector fails after Mylyn update 3.0.4 [message #67212 is a reply to message #66710] Tue, 24 March 2009 05:53 Go to previous message
Eclipse UserFriend
Hi all

Problem solved. Frank Becker analyzed the problem and he found the cause:
Our Bugzilla server sits behind a web entry server which also acts as a
cookie store, therefore the "Bugzilla_login" cookie was never sent to the
client (Eclipse).

Now we configured our web entry server to pass through Bugzilla cookies -
and it works.

Many thanks to Frank for his help!

Daniel
Re: Bugzilla connector fails after Mylyn update 3.0.4 [message #596449 is a reply to message #64706] Sun, 01 March 2009 13:58 Go to previous message
Eclipse UserFriend
Hi

the problem still persists... now I've been updating to Mylyn 3.0.5 but I
still get the same error: synchronizing tasks with our Bugzilla repository
does no longer work. Btw, other people in my company encountered exactly
the same problem.

The mentioned dialog shows a HTML response indeed, I can "view source" on
it and I get a HTML source which starts as follows:

<!DOCTYPE 4.01="" "http://www.w3.org/tr/html4/loose.dtd"=""
transitional//en"="" html="" public="" "-//w3c//dtd="">
<html>
<head>
<title>Bugzilla Main Page</title>

With the new Mylyn version 3.0.5 I get a few more error details in the
error log. It says:

eclipse.buildId=M20090211-1700
java.version=1.6.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_CH
Framework arguments: 256M -Xmx2048m -Xms512m -XX:MaxPermSize512m
Command-line arguments: -os win32 -ws win32 -arch x86 256M -Xmx2048m
-Xms512m -XX:MaxPermSize512m


Warning
Sun Mar 01 19:27:28 CET 2009
Error parsing metadata repository
...
Warning
Sun Mar 01 19:27:28 CET 2009
Error at line 13, column 90: Illegal value for attribute "url" of element
"repository": null
...
Warning
Error at line 13, column 90: Missing required attribute in "repository":
url


Any ideas? How can we find the cause of the problem? The error message
'Illegal value for attribute "url" of element "repository": null' doesn't
help, the repository URL is not empty (null) and if I validate repository
settings with 'Anonymous Access', the repository validation is OK, but
validation fails ('A repository error occured') as soon as I set my
bugzilla login credentials in the 'Task Repositories' dialog.

Daniel
Re: Bugzilla connector fails after Mylyn update 3.0.4 [message #596566 is a reply to message #65915] Sat, 07 March 2009 14:53 Go to previous message
Eclipse UserFriend
daniel.brugger@crealogix.com (Daniel ) wrote:

>
> Hi
>
> the problem still persists... now I've been updating to Mylyn 3.0.5 but I
> still get the same error: synchronizing tasks with our Bugzilla repository
> does no longer work. Btw, other people in my company encountered exactly
> the same problem.
>
> The mentioned dialog shows a HTML response indeed, I can "view source" on
> it and I get a HTML source which starts as follows:
>
> <!DOCTYPE 4.01="" "http://www.w3.org/tr/html4/loose.dtd"=""
> transitional//en"="" html="" public="" "-//w3c//dtd="">
> <html>
> <head>
> <title>Bugzilla Main Page</title>
>
> With the new Mylyn version 3.0.5 I get a few more error details in the
> error log. It says:
>
> eclipse.buildId=M20090211-1700
> java.version=1.6.0_11
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_CH
> Framework arguments: 256M -Xmx2048m -Xms512m -XX:MaxPermSize512m
> Command-line arguments: -os win32 -ws win32 -arch x86 256M -Xmx2048m
> -Xms512m -XX:MaxPermSize512m
>
>
> Warning
> Sun Mar 01 19:27:28 CET 2009
> Error parsing metadata repository
> ...
> Warning
> Sun Mar 01 19:27:28 CET 2009
> Error at line 13, column 90: Illegal value for attribute "url" of element
> "repository": null
> ...
> Warning
> Error at line 13, column 90: Missing required attribute in "repository":
> url
>
>
> Any ideas? How can we find the cause of the problem? The error message
> 'Illegal value for attribute "url" of element "repository": null' doesn't
> help, the repository URL is not empty (null) and if I validate repository
> settings with 'Anonymous Access', the repository validation is OK, but
> validation fails ('A repository error occured') as soon as I set my
> bugzilla login credentials in the 'Task Repositories' dialog.
>
> Daniel
>
Hi Daniel,

please give some more information.

What Bugzilla version did you use?
Is the Bugzilla repository accessible from the public?
Please add the whole response and not only the first part.

Regards

Frank
Re: Bugzilla connector fails after Mylyn update 3.0.4 [message #596787 is a reply to message #66213] Tue, 17 March 2009 05:34 Go to previous message
Eclipse UserFriend
Hi Frank

> What Bugzilla version did you use?
Our Bugzilla version is 3.0.4. We also use Testopia 2.1 (in conjunction
with bugzilla) - that's maybe a special point in our installation.

> Is the Bugzilla repository accessible from the public?
Pls write me a short mail (daniel dot brugger at crealogix dot com) and I
will give you the details (I hesitate to write that in a public forum, I
hope you understand).

> Please add the whole response and not only the first part.
I will send it along with the account details.
Btw, the reply is UTF-16 and starts with the bytes 'FF FE' (indicating
UTF-16 little endian).

Thanks a lot for your help!

Daniel
Re: Bugzilla connector fails after Mylyn update 3.0.4 [message #597041 is a reply to message #66710] Tue, 24 March 2009 05:53 Go to previous message
Eclipse UserFriend
Hi all

Problem solved. Frank Becker analyzed the problem and he found the cause:
Our Bugzilla server sits behind a web entry server which also acts as a
cookie store, therefore the "Bugzilla_login" cookie was never sent to the
client (Eclipse).

Now we configured our web entry server to pass through Bugzilla cookies -
and it works.

Many thanks to Frank for his help!

Daniel
Previous Topic:Jira/Bugzilla connector behind proxy: "Stream Closed" message
Next Topic:Query TaskRepository for Resource
Goto Forum:
  


Current Time: Thu May 08 10:51:53 EDT 2025

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

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

Back to the top