Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337332 - NPE when creating branch from "Branches" node in repositories view
Summary: NPE when creating branch from "Branches" node in repositories view
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 0.12   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 0.12-M1   Edit
Assignee: Stefan Lay CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 337562 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-16 11:28 EST by Matthias Sohn CLA
Modified: 2011-02-18 10:10 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 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. ***