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 issue was reported manually by pjiricka. It already has 1 duplicates Build: NetBeans IDE Dev (Build 201209190001) VM: Java HotSpot(TM) 64-Bit Server VM, 23.4-b01, Java(TM) SE Runtime Environment, 1.7.0_10-ea-b06 OS: Mac OS X User Comments: kganfield: creating a new html/javascript project. occurs when I select a js library to add to a project which is using a template. wizard never finishes though if i look in the directory the project is already created. The exception does not occur if i do not select a js library Stacktrace: java.lang.IllegalArgumentException: Already a /Users/nb/Documents/nbtemp-project/73-temp2/HTML5Application8/nbproject/project.xml@e7d36c29:418f2cb2 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:438) at org.netbeans.spi.project.support.ant.ProjectGenerator.createProject0(ProjectGenerator.java:122) at org.netbeans.spi.project.support.ant.ProjectGenerator.createProject(ProjectGenerator.java:103) at org.netbeans.modules.web.clientproject.util.ClientSideProjectUtilities.setupProject(ClientSideProjectUtilities.java:110)
Created attachment 124634 [details] stacktrace
Hi Tomas, can says he is getting this exception and it is blocking his screencast scenario for JavaOne. Can you please investigate? Thanks.
Weird. When I try it, wizard does not finish and in the log I can see (otherwise no error anywhere): INFO [org.openide.WizardDescriptor] java.io.SyncFailedException: /home/gapon/NetBeansProjects/HTML5Application1/public_html/js I will investigate and fix tomorrow, sorry for inconveniences. Láďo, this must be backported to the Beta. Thanks.
Thanks Tomas, raising to P1.
Fixed. Summary changed to the proper cause (the "project already exists" error occured when one clicked the Finish button once more). Please verify. Thanks. Once the Beta branch is created, I will backport it. Láďo, do we have any keyword so I will not forget? Thanks. http://hg.netbeans.org/web-main/rev/3e10703b4e98
None that I'm aware of. Mariane, is there such a keyword?
Tomas, what's the cause of this problem? Why does project creation complains that there already is project.xml??? That does not make sense, no? Unless Ken deleted the project and is recreating it in the same folder and IDE's filesystem is out of sync or something??
Integrated into 'main-golden', will be available in build *201209210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/3e10703b4e98 User: Tomas Mysik <tmysik@netbeans.org> Log: #218677: java.io.SyncFailedException: /home/gapon/NetBeansProjects/HTML5Application1/public_html/js
(In reply to comment #7) > Tomas, what's the cause of this problem? Why does project creation complains > that there already is project.xml??? That does not make sense, no? Unless Ken > deleted the project and is recreating it in the same folder and IDE's > filesystem is out of sync or something?? I already wrote it - see comment #5. Ken just clicked Finish, java.io.SyncFailedException occured (since I was moving a directory but the target already existed - see the fix) and the wizard stayed opened but no error is visible anywhere (do not ask me why there is no error visible; the exception is logged as INFO); so Ken clicked the Finish button again (now, the IllegalArgumentException is thrown). Ken, can you confirm? Thanks.
seems to work in 201209210001. Kenneth can you please confirm this? Product Version: NetBeans IDE Dev (Build 201209210001) Java: 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01 System: Linux version 3.2.0-30-generic-pae running on i386; UTF-8; en_US (nb)
Please integrate into releases/release73_beta branch ASAP, thanks in advance.
I see, got it. Thanks Tomas.
Done. http://hg.netbeans.org/releases/rev/e82c0b7a6f44
(In reply to comment #13) > Done. > > http://hg.netbeans.org/releases/rev/e82c0b7a6f44 Just to be sure - transplanted to the releases repo to the branch.
(In reply to comment #10) > seems to work in 201209210001. Kenneth can you please confirm this? > > > Product Version: NetBeans IDE Dev (Build 201209210001) > Java: 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01 > System: Linux version 3.2.0-30-generic-pae running on i386; UTF-8; en_US (nb) Works for me in build 201209210001
so verifying
verified in Beta Product Version: NetBeans IDE 7.3 Beta (Build 201209232010) Java: 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01 System: Linux version 3.2.0-30-generic-pae running on i386; UTF-8; en_US (nb)