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.
Summary: | AssertionError at org.netbeans.spi.project.support.ant.SequentialPropertyEvaluator.stateChanged | ||
---|---|---|---|
Product: | javafx | Reporter: | J Bachorik <yardus> |
Component: | Unsupported | Assignee: | Adam Sotona <asotona> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | jglick, sunflower |
Priority: | P1 | Keywords: | REGRESSION, THREAD |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 167779 |
Bug Depends on: | |||
Bug Blocks: | 181855 | ||
Attachments: |
stacktrace
stacktrace |
Description
J Bachorik
2010-04-08 15:18:57 UTC
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 |