Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362124 - clone repository fails with NullPointerException
Summary: clone repository fails with NullPointerException
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Kevin Sawicki CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-26 14:45 EDT by dean burnham CLA
Modified: 2011-11-07 14:04 EST (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 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