mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-13 19:25:38 +02:00
The fix for the bug that occured when trying to create a new managed project in the directory where the standard make project is located. When the "finish" wizard button was pressed the wizard page did not close and no warning/error messages were displayed because of a null pointer exception.
This commit is contained in:
parent
76e795521a
commit
0f7c47beb0
1 changed files with 3 additions and 0 deletions
|
@ -225,6 +225,9 @@ public class NewManagedProjectWizard extends NewCProjectWizard {
|
|||
*/
|
||||
protected void doRunEpilogue(IProgressMonitor monitor) {
|
||||
// Get my initializer to run
|
||||
if(newProject == null)
|
||||
return;
|
||||
|
||||
IStatus initResult = ManagedBuildManager.initBuildInfoContainer(newProject);
|
||||
if (initResult.getCode() != IStatus.OK) {
|
||||
// At this point, I can live with a failure
|
||||
|
|
Loading…
Add table
Reference in a new issue