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.
Steps to reproduce: - Copy the attached example to the editor - Enable the Preview The IDE hangs. Found one Java-level deadlock: ============================= "AWT-EventQueue-2": waiting to lock monitor 0x267f242c (object 0x04a9ca50, a java.awt.Component$AWTTreeLock), which is held by "SACT" "SACT": waiting to lock monitor 0x28fc3a1c (object 0x0305e6c8, a java.lang.Object), which is held by "AWT-EventQueue-2"
Created attachment 64227 [details] ThreadDump
Created attachment 64228 [details] IDE log file
-------- Original Message -------- Subject: Upcoming name / class change Date: Mon, 07 Jul 2008 15:09:57 -0400 From: Shannon Hickey Hello, Just a head's up on two changes that will be coming (in both trunk and preview) over the next day or so: 1) To avoid conflicts between the new Window/Frame/Dialog and the old Swing versions, the Swing versions will be renamed SwingWindow/SwingFrame/SwingDialog. 2) To move us closer to a fully node-based world, Application will no longer have a "Component" as content. Instead, it will have an attribute of type Stage. The new Stage class will have a writable attribute for the node-based content and will provide attributes to ascertain the usable width and height of the area on which content is drawn. For backward compatibility with old Applications that are Component based, we'll introduce SwingApplication for the time being. Please look for this in trunk first, followed by a merge into the branch. Thanks, Shannon
Created attachment 64230 [details] JavaFX Script code that freezes IDE
Steps to reproduce for other team: - Download JavaFX Script plugin from http://deadlock.netbeans.org/hudson/job/JavaFX_NB_daily - Install the Plugin in NetBeans IDE 6.1 - Create a JavaFX Script project: File->New Project->JavaFX->JavaFX Script Application -> Next -> Finish - Copy the code to the Editor ------------------------------------------------------------------------------------------------ import javafx.application.*; import javafx.scene.*; import javafx.scene.text.*; import javafx.scene.geometry.*; import javafx.scene.layout.*; import javafx.scene.paint.*; Frame { title: "Example of Using the New Stage Class" width: 350 height: 250 visible: true stage: Stage { fill: Color.LIGHTYELLOW width: 20 height: 20 content: VBox { spacing: 40 content: for (i in [1..3]) HBox { spacing: 20 content: [ Circle { fill: Color.BLUE centerX: 30 centerY: 30 radius: 20 }, Text { fill: Color.RED font: Font { name: "Sans Serif" style: FontStyle.BOLD size: 24 } x: 10 y: 10 textOrigin: TextOrigin.TOP content: "A Text Node" }, Rectangle { fill: Color.GREEN x: 10 y: 10 width: 40 height: 30 } ] } } } } ------------------------------------------------------------------------------------------------ - Enable the preview (Press 'Enable Preview' editor toolbar button) The IDE hangs. Found one Java-level deadlock: ============================= "AWT-EventQueue-2": waiting to lock monitor 0x267f242c (object 0x04a9ca50, a java.awt.Component$AWTTreeLock), which is held by "SACT" "SACT": waiting to lock monitor 0x28fc3a1c (object 0x0305e6c8, a java.lang.Object), which is held by "AWT-EventQueue-2"
Most likely duplicate of 139137, just new reproducible test case.
Created attachment 64247 [details] Standalone test
Attached .zip (http://www.netbeans.org/nonav/issues/showattachment.cgi/64247/I139363.ZIP) contains simple code that is enought to illustrate a problem.
JIRA issue: http://openjfx.java.sun.com/jira/browse/JFXC-1534
Fixed.
verified