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

Bug 337332

Summary: NPE when creating branch from "Branches" node in repositories view
Product: [Technology] EGit Reporter: Matthias Sohn <matthias.sohn>
Component: UIAssignee: Stefan Lay <stefan.lay>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jens.baumgart, quorg.xtn
Version: 0.12   
Target Milestone: 0.12-M1   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Matthias Sohn CLA 2011-02-16 11:28:58 EST
- in repositories view select the node named "Branches"
- click "Create Branch" and finish this dialog
- this hits an NPE

java.lang.NullPointerException
	at org.eclipse.egit.ui.internal.repository.CreateBranchPage.<init>(CreateBranchPage.java:99)
	at org.eclipse.egit.ui.internal.repository.CreateBranchWizard.<init>(CreateBranchWizard.java:38)
	at org.eclipse.egit.ui.internal.repository.tree.command.CreateBranchCommand.execute(CreateBranchCommand.java:91)
	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
	...
Comment 1 Stefan Lay CLA 2011-02-18 06:35:10 EST
The error occurs when a tag is checked out.
Comment 2 Stefan Lay CLA 2011-02-18 07:07:23 EST
Fix proposed at http://egit.eclipse.org/r/#change,2533
Comment 3 Jens Baumgart CLA 2011-02-18 10:08:40 EST
Fixed
Comment 4 Jens Baumgart CLA 2011-02-18 10:10:05 EST
*** Bug 337562 has been marked as a duplicate of this bug. ***