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.
Build: NetBeans IDE Dev (Build 201211160001) VM: Java HotSpot(TM) Client VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-ea-b15 OS: Linux User Comments: vriha: I can't create a new HTML project, every time this IAE pops up Stacktrace: java.lang.IllegalArgumentException: Already listening to /home/vriha/NetBeansProjects/HTML5Application16/public_html at org.openide.filesystems.FileUtil.addFileChangeListener(FileUtil.java:291) at org.openide.filesystems.FileUtil.addRecursiveListener(FileUtil.java:410) at org.openide.filesystems.FileUtil.addRecursiveListener(FileUtil.java:337) at org.netbeans.modules.web.clientproject.ClientSideProject$OpenHookImpl.addSiteRootListener(ClientSideProject.java:451) at org.netbeans.modules.web.clientproject.ClientSideProject$OpenHookImpl.projectOpened(ClientSideProject.java:429) at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:84)
More exact steps to reproduce: - create new HTML project, press Finish in the 2nd step of New Project wizard (I tried also go further and select some online template but result is the same) The project seems to be created in file system, but not opened in IDE (only index.html file is opened in editor). If I try to open the project manually, another exception pops up (http://statistics.netbeans.org/exceptions/exception.do?id=629856). If I clear my userdir, then I can open the mentioned project. User cannot create a new project or open just created => P1 from my point of view
*** Bug 222251 has been marked as a duplicate of this bug. ***
Will fix it.
The cause is that event from project.properties is fired _before_ project is opened.
Fixed, please verify. Thanks. Davide, please review the changeset, thanks. http://hg.netbeans.org/web-main/rev/a8d0f378cbfd
Verified. I can create and reopen just created and closed project Product Version: NetBeans IDE Dev (Build web-main-9231-on-20121116) 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-b15 System: Linux version 3.2.0-32-generic-pae running on i386; UTF-8; en_US (nb)
Integrated into 'main-golden', will be available in build *201211170002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/a8d0f378cbfd User: Tomas Mysik <tmysik@netbeans.org> Log: #222249 - IllegalArgumentException: Already listening to /home/vriha/NetBeansProjects/HTML5Application16/public_html
(In reply to comment #5) > Davide, please review the changeset, thanks. Looks OK to me.