Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322031 - Team->Commit fails to show when trying to create the initial commit
Summary: Team->Commit fails to show when trying to create the initial commit
Status: RESOLVED DUPLICATE of bug 321858
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-06 17:17 EDT by Robert Munteanu CLA
Modified: 2010-08-07 15:22 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Munteanu CLA 2010-08-06 17:17:34 EDT
What steps will reproduce the problem?
1. Create a new project
2. Share it under git 
3. Add some files, create some .gitignore files
4. Click on the project root and try to commit

The commit dialog does not come up.

Using jgit 09130b8731cf17d24c4b0a77c8faf532bf22db2c and egit ea1070b2731e3c818110736e8be8178b37d68800


-- Error Details --
Date: Sat Aug 07 00:13:17 EEST 2010
Message: Unhandled event loop exception
Severity: Error
Product: Eclipse Platform 3.6.0.v201006080911 (org.eclipse.platform.ide)
Plugin: org.eclipse.ui
Session Data:
eclipse.buildId=I20100608-0911
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86


Exception Stack Trace:
java.lang.NullPointerException
at org.eclipse.jgit.lib.ObjectIdSubclassMap.index(ObjectIdSubclassMap.java:172)
at org.eclipse.jgit.lib.ObjectIdSubclassMap.get(ObjectIdSubclassMap.java:89)
at org.eclipse.jgit.revwalk.RevWalk.parseAny(RevWalk.java:791)
at org.eclipse.jgit.revwalk.RevWalk.parseTree(RevWalk.java:733)
at org.eclipse.jgit.lib.IndexDiff.<init>(IndexDiff.java:111)
at org.eclipse.egit.ui.internal.actions.CommitActionHandler.buildIndexHeadDiffList(CommitActionHandler.java:294)
at org.eclipse.egit.ui.internal.actions.CommitActionHandler.execute(CommitActionHandler.java:88)
at org.eclipse.egit.ui.internal.actions.RepositoryAction.run(RepositoryAction.java:98)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
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:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3552)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3171)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:369)
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:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Comment 1 Robert Munteanu CLA 2010-08-06 17:19:44 EDT
Sample project archive available at http://dl.dropbox.com/u/3160732/dispatch-sample.tar.gz
Comment 2 Benjamin Muskalla CLA 2010-08-07 15:22:58 EDT
Marking as duplicate.

*** This bug has been marked as a duplicate of bug 321858 ***