This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
This bug was originally marked as duplicate of bug 139769, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.1.2 (Build 201204101705) VM: Java HotSpot(TM) Client VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b22 OS: Windows 7 User Comments: CaioToOn: I checked out a Tomcat project from a SVN repository. As I hadn't installed the Tomcat Server yet, I closed NetBeans and run installation again, installing Tomcat Server. Then I reopened Netbeans and I can't create a new Project. The error above happens after the Finish button being pressed on the New project Wizard. Stacktrace: java.lang.IllegalArgumentException: Already a C:\Users\Caio Cunha\Documents\NetBeansProjects\WebApplication1\nbproject\project.xml@aa87aa07:1032f55 at org.netbeans.spi.project.support.ant.ProjectGenerator$1.run(ProjectGenerator.java:127) at org.netbeans.spi.project.support.ant.ProjectGenerator$1.run(ProjectGenerator.java:122) at org.openide.util.Mutex.writeAccess(Mutex.java:436) at org.netbeans.spi.project.support.ant.ProjectGenerator.createProject0(ProjectGenerator.java:122) at org.netbeans.spi.project.support.ant.ProjectGenerator.createProject(ProjectGenerator.java:116) at org.netbeans.modules.web.project.api.WebProjectUtilities.setupProject(WebProjectUtilities.java:720)
Created attachment 119976 [details] stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=188531
Created attachment 122175 [details] stacktrace
Created attachment 128351 [details] stacktrace Test Specification: http://wiki.netbeans.org/TS_73_HTML5Project Test suite: New project with sources --> Import AngularJS project
Tomas, could you have a look at this issue please? Majority of reports are either from WebClient project or for PHP project. If I remember well this problem used to happen when you deleted a project and tried to recreate a new one in the same folder without restarting the IDE - the old project was deleted from the disk but not garbage collected yet and is therefore still in memory. I think the fix was to call findProject(aFolder) and show an error in the new proj wizard.
In PHP area, we have already fixed it. Now, it is fixed also in HTML project. Please verify, thanks. http://hg.netbeans.org/web-main/rev/2396f3f84c77
verified, instead of IAE I see the error message that it is "already a project (maybe in memory)" Product Version: NetBeans IDE Dev (Build web-main-9337-on-20121126) Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b16 System: Linux version 3.2.0-33-generic-pae running on i386; UTF-8; en_US (nb)
Integrated into 'main-golden', will be available in build *201211270002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/2396f3f84c77 User: Tomas Mysik <tmysik@netbeans.org> Log: #213131 - IllegalArgumentException: Already a C:\Users\...