Bug 183231

Summary: Eclipse.org bugzilla does not work
Product: [Fedora] Fedora Reporter: Igor Foox <ifoox>
Component: eclipse-bugzillaAssignee: Igor Foox <ifoox>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-27 20:28:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Igor Foox 2006-02-27 17:01:41 UTC
Description of problem:
When trying to run a query against the eclipse.org bugzilla the following error
appears:

!ENTRY org.eclipse.team.core 4 -6 2006-02-27 12:02:44.926
!MESSAGE Error fetching query
https://bugs.eclipse.org/bugs/buglist.cgi?&product=EMF&product=EMFT&product=EPF&product=Equinox&search=Search&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&format=rdf:
Could not interpret the received data. Maybe the Bugzilla URL is invalid or the
Bugzilla version is not supported.
!STACK 1
org.eclipse.team.bugzilla.BugzillaException[102]:
org.eclipse.team.bugzilla.BugzillaException[102]:
org.eclipse.team.bugzilla.BugzillaException: Unrecognized bugzilla version: 2.20.1
    at
org.eclipse.team.bugzilla.xml.VersionHandler.startElement(VersionHandler.java:51)
    at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533)
    at
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:798)
    at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:878)
    at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(XMLDocumentScannerImpl.java:1157)
    at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1794)
    at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
    at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
    at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
    at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
    at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
    at org.eclipse.team.bugzilla.xml.Parser.parse(Parser.java:36)
    at
org.eclipse.team.bugzilla.operations.BugzillaOperations.getVersion(BugzillaOperations.java:85)
    at
org.eclipse.team.bugzilla.operations.BugzillaOperations.getOperations(BugzillaOperations.java:45)
    at
org.eclipse.team.bugzilla.operations.CachedOperations.getOperations(CachedOperations.java:93)
    at
org.eclipse.team.bugzilla.operations.CachedOperations.getQueryData(CachedOperations.java:58)
    at
org.eclipse.team.bugzilla.datatypes.DataCache.refreshQuery(DataCache.java:191)
    at org.eclipse.team.bugzilla.model.BugzillaQuery.refresh(BugzillaQuery.java:80)
    at
org.eclipse.team.bugzilla.operations.RefreshOperation.fetch(RefreshOperation.java:159)
    at
org.eclipse.team.bugzilla.operations.RefreshOperation.fetchElement(RefreshOperation.java:137)
    at
org.eclipse.team.bugzilla.operations.RefreshOperation.run(RefreshOperation.java:122)
    at
org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableContext.java:146)
    at
org.eclipse.team.internal.ui.actions.JobRunnableContext$ResourceJob.runInWorkspace(JobRunnableContext.java:72)
    at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)


Version-Release number of selected component (if applicable):
0.2.2

How reproducible:
Always

Steps to Reproduce:
1. Add the eclipse.org bugzilla to the Bugs View
2. Attempt to run any query against the bugzilla
  
Actual results:
Error dialog with above in the log

Expected results:
No error.

Additional info:
From the stack trace it seems like a simple mis-interpretation of the version
string (i.e. to strict of a matching criteria).

Comment 1 Igor Foox 2006-02-27 17:20:20 UTC
Andrew can you reassign to me? I forgot to change the owner field. 

Comment 2 Andrew Overholt 2006-02-27 18:31:08 UTC
I see you're using the Sun JVM.  Does it work with what we ship (gcj/gij)?

Comment 3 Igor Foox 2006-02-27 18:52:27 UTC
No, it's a bug in eclipse-bugzilla, I was just using Sun for debugging.

Comment 4 Igor Foox 2006-02-27 20:28:16 UTC
This is now fixed in CVS, although the fix was kinda ugly. I've created
bz#183249 to fix the general issue of ugly version handling.