Community
Participate
Working Groups
Steps to reproduce: * Have a "bare" repo ready with some content * Create an empty local repo * "Create Remote" on local repo, only select fetch configuration, specify the bare repo as source * Fetch bare repo content into local repo * In the local repo, on the Remote Tracking branch, press "checkout" java.lang.NullPointerException at org.eclipse.jgit.lib.ObjectIdSubclassMap.index(ObjectIdSubclassMap.java:213) at org.eclipse.jgit.lib.ObjectIdSubclassMap.get(ObjectIdSubclassMap.java:89) at org.eclipse.jgit.revwalk.RevWalk.parseAny(RevWalk.java:809) at org.eclipse.jgit.revwalk.RevWalk.parseCommit(RevWalk.java:724) at org.eclipse.jgit.api.CheckoutCommand.call(CheckoutCommand.java:124) at org.eclipse.egit.core.op.BranchOperation$1.run(BranchOperation.java:106) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1957) at org.eclipse.egit.core.op.BranchOperation.execute(BranchOperation.java:125) at org.eclipse.egit.ui.internal.branch.BranchOperationUI$1.run(BranchOperationUI.java:106) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
code review for proposed fix: http://egit.eclipse.org/r/#change,2614
this is a bug in jgit CheckoutCommand
Fixed in master.