denio7 / egit

Automatically exported from code.google.com/p/egit
0 stars 0 forks source link

EGit in Eclipse 3.5RC4 gives 'unhandled event loop exception' #96

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.

Install Eclipse 3.5RC4 + CDT 6.0
Install eGit by compiling + installing

2.

Create a new Remote C / C++ project (empty)

3.

Do : Project -> Team -> Share Project -> Git

What is the expected output? What do you see instead?

I get a 'unhandled event loop exception' :

eclipse.buildId=I20090605-1444
java.version=1.5.0_16
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
Framework arguments:  -keyring /Users/igmar/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86 -keyring
/Users/igmar/.eclipse_keyring -showlocation

Error
Tue Jun 09 09:53:58 CEST 2009
Unhandled event loop exception

java.lang.NullPointerException
    at
org.spearce.egit.ui.internal.sharing.ExistingOrNewPage.createControl(ExistingOrN
ewPage.java:84)
    at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:170)
    at
org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:675)
    at org.eclipse.jface.wizard.WizardDialog.setWizard(WizardDialog.java:1093)
    at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1152)
    at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1149)
    at org.eclipse.jface.wizard.WizardDialog$5.run(WizardDialog.java:1138)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1136)
    at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:830)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3542)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1247)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1270)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1255)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1076)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3440)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3099)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at
org.eclipse.team.internal.ui.wizards.ConfigureProjectWizard.openWizard(Configure
ProjectWizard.java:224)
    at
org.eclipse.team.internal.ui.wizards.ConfigureProjectWizard.shareProjects(Config
ureProjectWizard.java:124)
    at
org.eclipse.team.internal.ui.actions.ConfigureProjectAction$1.run(ConfigureProje
ctAction.java:39)
    at org.eclipse.team.internal.ui.actions.TeamAction$3.run(TeamAction.java:265)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.team.internal.ui.actions.TeamAction.run(TeamAction.java:262)
    at
org.eclipse.team.internal.ui.actions.ConfigureProjectAction.execute(ConfigurePro
jectAction.java:33)
    at org.eclipse.team.internal.ui.actions.TeamAction.run(TeamAction.java:514)
    at
org.eclipse.team.internal.ui.actions.TeamAction.runWithEvent(TeamAction.java:548
)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241)
    at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionCont
ributionItem.java:584)
    at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.
java:501)
    at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContribution
Item.java:411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3542)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1247)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1270)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1255)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1076)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3440)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3099)
    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(Ecli
pseAppLauncher.java:110)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLau
ncher.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.jav
a:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    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)

What version of the product are you using? On what operating system?

eclipse.buildId=I20090605-1444
java.version=1.5.0_16
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
Framework arguments:  -keyring /Users/igmar/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86 -keyring
/Users/igmar/.eclipse_keyring -showlocation

Please provide any additional information below.

Original issue reported on code.google.com by ig...@jdi.nl on 9 Jun 2009 at 7:56

GoogleCodeExporter commented 8 years ago
If you with Remote here mean RSE, that is not supported and not planned. Anyone 
is
welcome to explore and develop such a feature.

Original comment by robin.ro...@gmail.com on 11 Jun 2009 at 8:56

GoogleCodeExporter commented 8 years ago
I have also seen this issue without RSE.

I created a blank project and then attempted to share it using Team -> Share 
Project,
clicked Git, clicked the project name, changed the repo location to point to a 
remote
repo and click Create and got the error. Debug info below.

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_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product
org.eclipse.epp.package.jee.product

java.lang.IllegalStateException: Repository already exists:
/users/jelevesque/git:/10.19.1.174/scas/.git
    at org.spearce.jgit.lib.Repository.create(Repository.java:152)
    at org.spearce.jgit.lib.Repository.create(Repository.java:137)
    at
org.eclipse.egit.ui.internal.sharing.ExistingOrNewPage$1.widgetSelected(Existing
OrNewPage.java:120)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
    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.Display.runDeferredEvents(Display.java:3493)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at
org.eclipse.team.internal.ui.wizards.ConfigureProjectWizard.openWizard(Configure
ProjectWizard.java:224)
    at
org.eclipse.team.internal.ui.wizards.ConfigureProjectWizard.shareProjects(Config
ureProjectWizard.java:124)
    at
org.eclipse.team.internal.ui.actions.ConfigureProjectAction$1.run(ConfigureProje
ctAction.java:39)
    at org.eclipse.team.internal.ui.actions.TeamAction$3.run(TeamAction.java:265)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.team.internal.ui.actions.TeamAction.run(TeamAction.java:262)
    at
org.eclipse.team.internal.ui.actions.ConfigureProjectAction.execute(ConfigurePro
jectAction.java:33)
    at org.eclipse.team.internal.ui.actions.TeamAction.run(TeamAction.java:514)
    at org.eclipse.team.internal.ui.actions.TeamAction.runWithEvent(TeamAction.java:548)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241)
    at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionCont
ributionItem.java:584)
    at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.
java:501)
    at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContribution
Item.java:411)
    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.Display.runDeferredEvents(Display.java:3493)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
    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(Ecli
pseAppLauncher.java:110)
    at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLau
ncher.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: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: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)

Original comment by jeffreys...@gmail.com on 11 Aug 2009 at 3:59

GoogleCodeExporter commented 8 years ago
Too old. Lots of changes in this code. Re-open at bugs.eclipse.org if still an 
issue.

Original comment by robin.ro...@gmail.com on 8 Aug 2010 at 11:57