1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-13 03:05:39 +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:
Mikhail Sennikovsky 2005-06-10 15:54:38 +00:00
parent 76e795521a
commit 0f7c47beb0

View file

@ -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