Bug 479850 - egit plugin crashes on startup
Summary: egit plugin crashes on startup
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse-egit
Version: 10
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: rob
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-13 16:03 UTC by Christoph Höger
Modified: 2009-01-13 17:35 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-13 17:27:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Christoph Höger 2009-01-13 16:03:05 UTC
Description of problem:
I tried and installed egit for usage with my current project.
All I see, when I start eclipse, is an entry in the error log stating that org.spearce.egit.core.GitProvider could not be instantiated for that project
Thats all, no gui elements, no preference window, looks like the plugin is not instantiated at all.

Version-Release number of selected component (if applicable):
eclipse-egit-0.4.0-1.fc10.noarch

How reproducible:
always

Steps to Reproduce:
1. start eclipse with git project open ;)
  
Actual results:
error message in error log

Additional info:
Here's the complete stacktrace:

org.eclipse.team.core.TeamException: Could not instantiate provider org.spearce.egit.core.GitProvider for project emodelica.
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.core.TeamHookDispatcher.getProvider(TeamHookDispatcher.java:97)
at org.eclipse.team.internal.core.TeamHookDispatcher.getRuleFactory(TeamHookDispatcher.java:105)
at org.eclipse.core.internal.resources.Rules.factoryFor(Rules.java:92)
at org.eclipse.core.internal.resources.Rules.modifyRule(Rules.java:136)
at org.eclipse.ui.actions.OpenResourceAction.run(OpenResourceAction.java:224)
at org.eclipse.jdt.ui.actions.OpenProjectAction.run(OpenProjectAction.java:163)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:250)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
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:193)
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:386)
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:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

Comment 1 Andrew Overholt 2009-01-13 17:03:38 UTC
I just tried installing eclipse-egit and it worked for me.  Did it install properly?  Does rpm -qV eclipse-egit give any output?  I know it's lame, but try running eclipse with the -clean argument (from a terminal) and see if the problem persists.

Comment 2 Christoph Höger 2009-01-13 17:27:48 UTC
Strange.

rpm -qV brought no results.

The plugin was (according to yum and eclipse's own report page) installed without errors. 
Although running -clean brought it back.

I assume that -clean should not be necessary after a rpm install.

Comment 3 Andrew Overholt 2009-01-13 17:35:02 UTC
You are correct.  Sadly, it probably has to do with this:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=251167


Note You need to log in before you can comment on or make changes to this bug.