Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 362124

Summary: clone repository fails with NullPointerException
Product: [Technology] EGit Reporter: dean burnham <deeaano>
Component: UIAssignee: Kevin Sawicki <kevin>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: remy.suen
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description dean burnham CLA 2011-10-26 14:45:46 EDT
Build Identifier: M20110909-1335

java.lang.NullPointerException
	at org.eclipse.jgit.lib.ObjectId.isId(ObjectId.java:90)
	at org.eclipse.egit.ui.internal.push.SimpleConfigurePushDialog.getConfiguredRemote(SimpleConfigurePushDialog.java:154)
	at org.eclipse.egit.ui.internal.repository.tree.command.PushConfiguredRemoteCommand.getRemoteConfig(PushConfiguredRemoteCommand.java:94)
	at org.eclipse.egit.ui.internal.repository.tree.command.PushConfiguredRemoteCommand.setEnabled(PushConfiguredRemoteCommand.java:68)
	at org.eclipse.ui.internal.handlers.HandlerProxy.setEnabled(HandlerProxy.java:232)
	at org.eclipse.core.commands.Command.setEnabled(Command.java:857)

...


Reproducible: Always

Steps to Reproduce:
1.clone this git repository:    https://gerrit.googlesource.com/gerrit
2.
3.
Comment 1 Kevin Sawicki CLA 2011-10-27 20:58:55 EDT
Proposed fix pushed to http://egit.eclipse.org/r/#change,4424
Comment 2 Kevin Sawicki CLA 2011-11-07 14:04:24 EST
Merged into master as commit 991ef56bf2773ab9dd613f0db8228ce6b782f53d