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.
Run commands that were triggered before a JavaFX project completes scanning don't complete. Steps to reproduce: Open one of the sample JavaFX projects (preferably a complicated one) Exit the IDE, and relaunch it,... IDE will scan projects opened from last session, Before, scanning finishes, select the previous JavaFX project and hit run button A dialog that suppose to display list of main classes in the project will be displayed, (with information indicating scanning is still in progress) At this point, neither list of main classes gets displayed nor project runs automatically when scanning completes. I believe dialog should be populated with list of main classes, and maybe project run proceeds with the main class thats is set for running from previous sessions. Product Version = NetBeans IDE 7.4 (Build 201310012201) Operating System = Mac OS X version 10.8.5 running on x86_64 Java; VM; Vendor = 1.7.0_40 Runtime = Java HotSpot(TM) 64-Bit Server VM 24.0-b56
Created attachment 140920 [details] State of project run after scanning completes
My preferred "fix" would be to lockout clean/build/run/debug, and others until background scanning is done. Or some permutation of the foregoing. The anomaly exists also on my machine: Product Version: NetBeans IDE 7.4 (Build 201310012201) Java: 1.7.0_40; Java HotSpot(TM) Client VM 24.0-b56 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43 System: Windows 8 version 6.2 running on x86; Cp1252; en_US (nb)
Fixed in jet-main: http://hg.netbeans.org/jet-main/rev/94930ec5fe90 Dialog is now refreshed and filled with suitable application classes when scanning is complete.
Integrated into 'main-silver', will be available in build *201310120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/94930ec5fe90 User: Roman Svitanic <rsvitanic@netbeans.org> Log: #236910: running javaFx project before project scanning finishes - fixed
The patch does not work. With automated tests the fix fails in ~ 1:10 ratio. It has the same race as before and also high performance impact. Reopening.
Roll back dc7bac670f65.
Fixed jet-main 95d36d354e99