Bazaar integration stopped working for existing Bazaar-bound projects

Bug #531380 reported by Nir Shemy
This bug report is a duplicate of:  Bug #526740: XML-RPC service broken by bzr-2.1. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Plugin for Eclipse
New
Undecided
Unassigned

Bug Description

The bug started on the same day I upgraded my bzr version, but I'm not 100% sure it's related.

I used to work with Eclipse 3.5.1 (Galileo SR1) with bzrEclipse 1.1.1.210.
My (new) bzr version is 2.1.0
My bzr-xmloutput version is 0.8.6

In attempt to maybe fix the problem, I just upgraded to Eclipse 3.5.2 (Galileo SR2), and re-installed the bzrEclipse plugin,
but the problems remains.

This bug happens with projects that were already working with Bazaar sucessfully.
The symptoms are that all files expect the project itself are not marked with the appropriate icon and the Team submenu
display irrelevant options.

A stack trace from .log file:
!ENTRY org.eclipse.ui.workbench 4 2 2010-03-03 16:13:01.457
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException
        at org.vcs.bazaar.eclipse.internal.core.model.LocalBranch.isBound(LocalBranch.java:149)
        at org.vcs.bazaar.eclipse.ui.actions.BindAction.isEnabledByType(BindAction.java:69)
        at org.vcs.bazaar.eclipse.ui.actions.WorkspaceAction.isEnabled(WorkspaceAction.java:58)
        at org.vcs.bazaar.eclipse.ui.internal.TeamAction.setActionEnablement(TeamAction.java:315)
        at org.vcs.bazaar.eclipse.ui.actions.BzrAction.setActionEnablement(BzrAction.java:86)
        at org.vcs.bazaar.eclipse.ui.internal.TeamAction.selectionChanged(TeamAction.java:298)
        at org.eclipse.ui.internal.PluginAction.refreshEnablement(PluginAction.java:206)
        at org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:277)
        at org.eclipse.ui.internal.ObjectActionContributor$1.run(ObjectActionContributor.java:157)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
        at org.eclipse.ui.internal.ObjectActionContributor.contributeObjectActions(ObjectActionContributor.java:160)
        at org.eclipse.ui.internal.ObjectActionContributorManager.contributeObjectActions(ObjectActionContributorManager.java:97)
        at org.eclipse.ui.internal.PopupMenuExtender.addObjectActions(PopupMenuExtender.java:262)
        at org.eclipse.ui.internal.PopupMenuExtender.menuAboutToShow(PopupMenuExtender.java:339)
        at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:338)
        at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:469)
        at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:465)
        at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:491)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:235)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1200)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1181)
        at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:199)
        at org.eclipse.swt.widgets.Display.runPopups(Display.java:3519)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3109)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        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:597)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

The error repeats several times in the log with different stack traces (with actions other than BindAction).

Revision history for this message
Guillermo Gonzalez (verterok) wrote :

Hi,

Thanks for reporting this issue.

The version of xmloutput isn't compatible with bzr-2.1, I'll be working on other bug fixes (in xmloutput during the weekend) and hope to have a new release 0.8.7 for next week.

if you can pull the latest trunk of xmloutput, bzr-eclipse should work again.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.