Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netbeans "create new C++ project" Finish button, nothing happens

I did a fresh install of Netbeans 7.0.1 (with C++ pack). I want to create a new project and after filling in the required fields and pressing on 'Finish', it blinks one time and then nothing happens at all.

enter image description here

Anyone has a solution found on this? As you can see, my OS is Windows 7.

like image 297
Nique Avatar asked Aug 15 '11 20:08

Nique


1 Answers

I had the same problem, and the log showed a warning and an exception when the project folder was created (see below). Indeed, changing the project folder solved the problem.

Warning:
WARNING [nativeexecution.support.logger]: [2197 ms.] Default tmp dir [C:\Users\PPATRI~1.MET\AppData\Local\Temp\] has spaces/non-latin chars in the path. It is recommended to use a path without spaces/non-latin chars for tmp dir. Either change TEMP environment variable in System Properties or use -J-Djava.io.tmpdir=c:\tmp to change the temp dir.

Exception:

org.openide.filesystems.FileStateInvalidException
    at org.netbeans.modules.masterfs.filebasedfs.fileobjects.RootObjWindows.createFolder(RootObjWindows.java:208)
    at org.netbeans.modules.masterfs.filebasedfs.fileobjects.RootObj.createFolder(RootObj.java:258)
    at org.openide.filesystems.FileUtil.createFolder(FileUtil.java:865)
    at org.netbeans.modules.cnd.makeproject.MakeProjectGeneratorImpl.createProjectDir(MakeProjectGeneratorImpl.java:355)
    at org.netbeans.modules.cnd.makeproject.MakeProjectGeneratorImpl.createProject(MakeProjectGeneratorImpl.java:182)
    at org.netbeans.modules.cnd.makeproject.ui.wizards.NewMakeProjectWizardIterator.instantiate(NewMakeProjectWizardIterator.java:504)
    at org.netbeans.modules.cnd.makeproject.ui.wizards.NewMakeProjectWizardIterator.instantiate(NewMakeProjectWizardIterator.java:395)
    at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1046)
    at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:617)
    at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:426)
    at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:252)
    at org.openide.loaders.TemplateWizardIteratorWrapper$ProgressInstantiatingIterator.instantiate(TemplateWizardIteratorWrapper.java:180)
    at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1566)
    at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1521)
    at org.openide.WizardDescriptor.access$1800(WizardDescriptor.java:139)
[catch] at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2134)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1411)
    at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1991)
like image 152
Patrick Avatar answered Nov 15 '22 05:11

Patrick