bazaar plugin installed but fails?

Bug #413854 reported by Robert Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Plugin for Eclipse
Invalid
Undecided
Unassigned

Bug Description

 affects bzr-eclipse
 done

I installed eclipse 3.5
bazaar team plugin from the bazaar-vcs.org repo
configured and tested at this point; all good.

installed the maven2 integration for bzr

now, in the error log I get:
---
Could not instantiate provider
org.vcs.bazaar.eclipse.core.repository.BazaarTeamProvider for project
bzr.dev.
---
no stack trace is available
---
eclipse.buildId=I20090611-1540
java.version=1.6.0_0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_AU
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product
org.eclipse.epp.package.java.product
---

and the menu item for configuring bazaar under window-preferences-team
is missing.

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 413854] [NEW] bazaar plugin installed but fails?

turns out there is a second report with a trace:

org.eclipse.team.core.TeamException: Could not instantiate provider
org.vcs.bazaar.eclipse.core.repository.BazaarTeamProvider for project
bzr.dev.
at
org.eclipse.team.core.RepositoryProvider.mapNewProvider(RepositoryProvider.java:165)
at
org.eclipse.team.core.RepositoryProvider.mapExistingProvider(RepositoryProvider.java:235)
at
org.eclipse.team.core.RepositoryProvider.getProvider(RepositoryProvider.java:507)
at
org.eclipse.team.internal.ccvs.ui.CVSLightweightDecorator.isMappedToCVS(CVSLightweightDecorator.java:192)
at
org.eclipse.team.internal.ccvs.ui.CVSLightweightDecorator.decorate(CVSLightweightDecorator.java:147)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:263)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager
$LightweightRunnable.run(LightweightDecoratorManager.java:81)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)
at org.eclipse.ui.internal.decorators.DecorationScheduler
$1.ensureResultCached(DecorationScheduler.java:371)
at org.eclipse.ui.internal.decorators.DecorationScheduler
$1.run(DecorationScheduler.java:331)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Revision history for this message
Robert Collins (lifeless) wrote :

Happens with IAM too.

org.eclipse.team.core.TeamException: Could not instantiate provider
org.vcs.bazaar.eclipse.core.repository.BazaarTeamProvider for project
bzr.dev.
at
org.eclipse.team.core.RepositoryProvider.mapNewProvider(RepositoryProvider.java:165)
at
org.eclipse.team.core.RepositoryProvider.mapExistingProvider(RepositoryProvider.java:235)
at
org.eclipse.team.core.RepositoryProvider.getProvider(RepositoryProvider.java:507)
at
org.eclipse.team.internal.ccvs.ui.CVSLightweightDecorator.isMappedToCVS(CVSLightweightDecorator.java:192)
at
org.eclipse.team.internal.ccvs.ui.CVSLightweightDecorator.decorate(CVSLightweightDecorator.java:147)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:263)
at org.eclipse.ui.internal.decorators.LightweightDecoratorManager
$LightweightRunnable.run(LightweightDecoratorManager.java:81)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)
at org.eclipse.ui.internal.decorators.DecorationScheduler
$1.ensureResultCached(DecorationScheduler.java:371)
at org.eclipse.ui.internal.decorators.DecorationScheduler
$1.run(DecorationScheduler.java:331)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Revision history for this message
Robert Collins (lifeless) wrote :

Symmetrical problem:
bzr-eclipse breaks IAM, IAM breaks bzr-eclipse.

Installing either with a fresh ~/.eclipse/org* dir works.
Installing both, in either order, and neither work.

-Rob

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

Hi Robert,

I was able to reproduce this, but only using eclipse 3.5.

Installing IAM or M2Eclipse and bzr-eclipse in 3.4 worked as expected.

Changed in bzr-eclipse:
status: New → Triaged
Revision history for this message
Guillermo Gonzalez (verterok) wrote :

Robert,

Digging in IAM and M2eclipse sites, I found that none of them supports Eclipse 3.5: http://docs.codehaus.org/display/M2ECLIPSE/Installation+Requirements and http://code.google.com/p/q4e/wiki/Installation

So, looks like that this maven instegration plugins are doing something funky to eclipse metadata/configuration and killing bzr-eclipse :(

Cheers,

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

This also happen to mercurialeclipse, and possibly other vcs plugins.

we should file a bug to IAM and m2eclipse about this issue.

Changed in bzr-eclipse:
status: Triaged → Invalid
Revision history for this message
Guillermo Gonzalez (verterok) wrote :

I filed http://code.google.com/p/q4e/issues/detail?id=563 for Q4E
And still trying to find otu how to file a bug in m2eclipse jira :/

Revision history for this message
Guillermo Gonzalez (verterok) wrote :
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.