Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337522 - NullPointerException when cloning an empty bare repository
Summary: NullPointerException when cloning an empty bare repository
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 0.11   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.12-M1   Edit
Assignee: Stefan Lay CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-18 03:13 EST by Kay Huber CLA
Modified: 2011-03-02 10:29 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kay Huber CLA 2011-02-18 03:13:10 EST
Using Eclipse Helios 3.6.1, M20100909-0800 with egit/jgit 0.11.1

For testing egit / playing around with it, I started by creating an empty bare repository and then tried to clone it. Doing so caused a NullPointerException:

java.lang.NullPointerException
at org.eclipse.egit.core.op.CloneOperation.doInit(CloneOperation.java:177)
at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:134)
at org.eclipse.egit.ui.internal.clone.GitCloneWizard.executeCloneOperation(GitCloneWizard.java:259)
at org.eclipse.egit.ui.internal.clone.GitCloneWizard.access$3(GitCloneWizard.java:252)
at org.eclipse.egit.ui.internal.clone.GitCloneWizard$4.run(GitCloneWizard.java:233)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Chris Aniszczyk CLA 2011-03-02 10:29:18 EST
Fixed in master.