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 201004070201) VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04 OS: Linux Stacktrace: java.lang.AssertionError at org.netbeans.spi.project.support.ant.SequentialPropertyEvaluator.stateChanged(SequentialPropertyEvaluator.java:160) at org.openide.util.WeakListenerImpl$Change.stateChanged(WeakListenerImpl.java:321) at org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:130) at org.openide.util.ChangeSupport.fireChange(ChangeSupport.java:116) at org.netbeans.spi.project.support.ant.FilterPropertyProvider.setDelegate(FilterPropertyProvider.java:91) at org.netbeans.modules.javafx.project.JavaFXProject$ConfigPropertyProvider.run(JavaFXProject.java:238)
Created attachment 96908 [details] stacktrace
Created attachment 97060 [details] stacktrace NetBeans-JavaFX-Soma: #217 Stesp to reproduce: - Create a JavaFX project - Change the Default profile to the Browser in the drop down list on the toolbar The exception pops uo
It is a regression for the NB JavaFX module
JavaFXProject$ConfigPropertyProvider.run is changing metadata without a lock on the project mutex. Wrap in: ProjectManager.mutex().writeAccess(...) or just do not post to RP (since the calling thread had the lock already).
BTW this assertion is unchanged since 6.8 (at least), so if it a regression, it is in FX code.
Please remove the assert, changes are fired in another thread to avoid holding Project.writeMutex when the listeners are notified. This has been changed to fix issue #181855
The fix of bug #181855 was incorrect; the asynchronous part should be in PlatformNode, not ConfigPropertyProvider. So back out 4351e53f3352, probably retaining 538f0d0123c7.
OK, backed out 4351e53f3352 here: http://hg.netbeans.org/javafx/rev/4993c3cafc44
verified in build NetBeans-JavaFX-Soma: #219