Bug 182711
Summary: | Doesn't work with Bugzilla v 2.20: no Products found | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Wolfi <wstering> | ||||||||
Component: | eclipse-bugzilla | Assignee: | Igor Foox <ifoox> | ||||||||
Status: | CLOSED UPSTREAM | QA Contact: | |||||||||
Severity: | high | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | rawhide | CC: | eu | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | I see that Bugzilla release 2.20 is from September 2005, but eclipse-bugzilla is from July 2005. | ||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2006-03-17 15:20:33 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: | |||||||||||
Attachments: |
|
Description
Wolfi
2006-02-24 08:23:13 UTC
The version available at the update site is an older version. We are currently in the process of moving update sites and also updating the version that's there. I'll post on this bug as soon as we do that so that you can updgrade and retest. Any news here, Igor? Thanks for the reminder Andrew. There is now a new update-site at http://sourceware.org/eclipse/update , could you try the version there (0.2.2) and verify if this still occurs? (In reply to comment #3) > Thanks for the reminder Andrew. There is now a new update-site at > http://sourceware.org/eclipse/update , could you try the version there (0.2.2) > and verify if this still occurs? Thanks for the update. I changed my update site reference to the new location and updated the bugzilla feature. Now I get the following exception, when opening the "Bug Systems" view (see below). I'm not quite sure whether the install/update went OK on my machine, as I'm not able to see the Bugzilla feature in the "Manage Configuration" dialog. I'll try with a fresh eclipse (3.1.2) installation tomorrow and report back asap! java.lang.NullPointerException at org.eclipse.team.bugzilla.persistence.ProviderPersistenceAdapter.restore(ProviderPersistenceAdapter.java:65) at org.eclipse.team.bugzilla.persistence.ContainerPersistenceAdapter.restore(ContainerPersistenceAdapter.java:42) at org.eclipse.team.bugzilla.persistence.AbstractPersistenceAdapter.restoreElement(AbstractPersistenceAdapter.java:157) at org.eclipse.team.bugzilla.persistence.PersistenceManager.restoreChild(PersistenceManager.java:169) at org.eclipse.team.bugzilla.persistence.PersistenceManager.restoreChildren(PersistenceManager.java:197) at org.eclipse.team.bugzilla.persistence.PersistenceManager.restoreProviders(PersistenceManager.java:138) at org.eclipse.team.bugzilla.BugzillaFactory.getStoredProviders(BugzillaFactory.java:44) at org.eclipse.team.bugs.internal.main.StoredProvidersManager.instantiateStoredProviders(StoredProvidersManager.java:71) at org.eclipse.team.bugs.internal.main.StoredProvidersManager.getStoredProviders(StoredProvidersManager.java:54) at org.eclipse.team.bugs.extension.Providers.<init>(Providers.java:91) at org.eclipse.team.bugs.extension.Providers.getInstance(Providers.java:46) at org.eclipse.team.bugs.internal.views.BugView.createPartControl(BugView.java:53) at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:305) at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:180) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552) at org.eclipse.ui.internal.Perspective.showView(Perspective.java:1655) at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:937) at org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPage.java:920) at org.eclipse.ui.internal.WorkbenchPage$13.run(WorkbenchPage.java:3199) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3196) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3174) at org.eclipse.ui.handlers.ShowViewHandler.openView(ShowViewHandler.java:146) at org.eclipse.ui.handlers.ShowViewHandler.openOther(ShowViewHandler.java:102) at org.eclipse.ui.handlers.ShowViewHandler.execute(ShowViewHandler.java:70) at org.eclipse.ui.internal.ShowViewMenu$3.run(ShowViewMenu.java:113) at org.eclipse.jface.action.Action.runWithEvent(Action.java:996) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2867) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2572) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948) Hi Wolfi, I've seen this error before, it is because of some changes to the persistence layer (how we store information about bugs you viewed). Unfortunately it's a bit flaky, it happens sometimes, but not always. I believe that if you close Eclipse, and then reopen it then this issue should go away. If it this doesn't help, please try running it with a new workspace and adding opening the Bugs View. Please let me know how this works. If you cannot make it work in your old workspace then please let me know here. Reinstalling a fresh Eclipse is a pretty drastic measure, and I think is unneeded in this case. Andrew, could you please reassign the bug to me? FYI I fixed the bug that gave you the NullPointerException, this should be in the next release. Could you also verify whether the solution above solved this problem for you? Hi Igor, sorry for the delay, I have been abroad for a couple of days. I'll test the NullPointerException case tomorrow, when I'm back at the office. Meanwhile, I tried version 0.2.2 on a fresh (and thus nearly empty) installation of Bugzilla 2.20.1, on eclipse 3.1.2 (an installation that never saw the bugzilla plugin before) on Linux (FC3) and can confirm that it works. I can't see the "Classifications", though, but I assume, this is not (yet?) supported, being a rather new bugzilla feature. Hi Wolfi, Thanks for testing, I'm glad it works. I am going to close this bug for now since the problem is resolved. Please let me know if this returns. You're right, Classifications are not supported yet. This is most evident with the eclipse.org bugzilla which is pretty broken without classification ( see https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=179180). We are working on this and I hope this will be solved within a week or two, please look at the website for announcements of a new version. Hi Igor, I made the tests in my other environment at work (Windows, eclipse 3.1.1), using bugzilla plugin 0.2.2, using a new workspace, as you suggested: - the view openes now without exception. - I am able to add a bug system connected to my bugzilla 2.20.1 installation. - I still don't see any products or other elements, e.g. bug properties in the "Advanced" mode of the "Add Query" dialog. - I get error messages when trying to add a bug# (Add > Bug Report... and Add > Query...). I'll attach screenshots of the dialog boxes and the relevant parts of my web server's (apache) access log. Created attachment 126209 [details]
Error dialog when adding a query
Created attachment 126210 [details]
Error dialog when adding a bug report
Created attachment 126211 [details]
Apache access log file
Hi again, Found it! I investigated things a little further. I had this working on my other installation, but not on this one, so I suspected some Bugzilla configuration issue being the cause. And so it was: The "requirelogin" parameter has to be set to "off" or "no" for this to work. Although you provide login information input fields in the "Add Bugsystem" dialog, they seem to address different things. Should this be made an issue of its own? Hi Wolfi, Thanks for the informative analysis. The bugzilla plugin currently does not support logging into a bugzilla because it doesn't support any operations that usually require it (i.e. adding a bug, changing a bug, etc.). Most public bugzilla installations do not require you to log in in order to view bugs, so the plugin work. The fields in the Add Bug System dialog are experimental (and there's a warning about this), and currently only work with the Red Hat bugzilla (this one). The reason being that the Red Hat bugzilla has an implementation of an XML-RPC interface that allows me to easily implement complex operations, for other bugzillas we need to use screen scraping for that. There is an effort to get this sort of support into the upstream bugzilla (https://bugzilla.mozilla.org/show_bug.cgi?id=224577), but it's not there yet. Is there any particular compelling reason that you need to be able to have login=on? If it's important I will see how difficult that would be to implement. (In reply to comment #15) Hi Igor, thanks for your clarification. I feel, an XML-RPC interface would be an important addition to Bugzilla. I am using a "bridge" between my version control (subversion) and bugzilla, but it's rather a kludge, parsing URLs, hacking together HTTP POSTs and so, and very much bugzilla version dependent... > Is there any particular compelling reason that you need to be able to have > login=on? If it's important I will see how difficult that would be to implement. No reason, at least not now, as we're using bugzilla internally, in a non-routed subnet only. So I simply changed settings to requirelogin=off and it's OK for now. Well, thanks a lot for your help! Hi Wolfi, Glad to help, let me know if you have any other problems. *** Bug 185723 has been marked as a duplicate of this bug. *** |