Netbeans "create a new C ++ project." Complete the button, nothing happens

I did a fresh install of Netbeans 7.0.1 (with C ++ package). I want to create a new project and after filling in the necessary fields and clicking on "Finish", it blinks once, and then nothing happens at all.

enter image description here

Does anyone have a solution found on this? As you can see, my OS is Windows 7.

+7
source share
4 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) 
+2
source

I would try changing the directory in which you save the project - if this does not work, try reinstalling Netbeans.

Or try clicking the Finish button. When it blinks, close the new project window and check if the project has been created. Sometimes programs have this error, where it creates a project, but does not close the "Create a new project" window / informs the user.

I speak from experience - it happened to me a couple of weeks ago, and reinstalling Netbeans worked for me.

PS: any IDE errors are logged in% userprofile% .netbeans \ 7.0 \ var \ log \ messages.log Check this if you are stuck.

0
source

The same problem arose for me, changing the location of the project folder, solved the problem. But, changing, I found out that the window automatically creates a project folder. So that’s why the problem goes. And its a bug in Windows 7, not a netbeans error!

Create a new folder and check its properties, you will see that it is read-only. Microsoft says this because your user account is corrupt. To remove the error, you need to create a new user account with administrator rights and use it or replace the OS. Just google how to solve the problem.

0
source

I got this error in Fedora 17

I am using Java version 1.7.0_25

How to play

  • Open netbeans. Choose File β†’ New Project.
  • Select C / C ++ -> C ++ Application
  • Click "Next." You will get this screen. Click OK. enter image description here
  • Nothing happens. You see that an error occurs in the lower right corner.
  • Close the new C / C ++ application window and click the red error icon. You will receive the following:

enter image description here

  1. By clicking on "Show Details", you get a mountain of netbeans code chips spewed out everywhere.
  2. NetBeans IDE Error! So how do we fix this?

SOLUTION 1, delete the .netbeans ide configuration directory

The problem is some inconsistency in your .netbeans ide configuration folder. One way to fix this is to stop netbeans, delete this directory, and then restart netbeans. The .netbeans directory will be recreated and installed by default.

Steps:

  • Close netbeans.
  • Make a copy of all your important programs that you want to keep. Create a copy of your .netbeans ide configuration configuration.
  • Delete the directory /home/el/NetbeansProjects , where netbeans stores your programs.
  • Delete the directory /home/el/.netbeans that has configuration information for the IDE.
  • Launch Netbeans. It will be as if it was first launched, and everything will work.

SOLUTION 2, open netbeans as another user.

Opening netbeans as a new user will create a new .netbeans folder. And it works for the same reason as above.

Step by step:

  • First you need to know how to run netbeans on a terminal, find out like this:
  • Right click on my application launcher -> Modify applications.
  • Find the Netbeans launch icon for netbeans. Click edit
  • The execution field says /bin/sh "/usr/local/netbeans-7.3/bin/netbeans"

  • OK, so now log in as root, add foobar and set a password:

     el@defiant $ su Password: [ root@defiant bin]# useradd foobar [ root@defiant bin]# passwd foobar Changing password for user foobar. New password: passwd: all authentication tokens updated successfully. 
  • log out of the superuser and log in as foobar on the terminal:

     [ root@defiant bin]# exit exit el@defiant $ su foobar Password: 
  • Then run netbeans as foobar:

     [ foobar@defiant bin]$ /bin/sh "/usr/local/netbeans-7.3/bin/netbeans" 
  • Netbeans fits, fresh and new! Now everything is working fine.

0
source

All Articles