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.
According to FXD spec at: http://java.sun.com/javafx/1.3/docs/fxdspec/#refsummary ... it is possible to use references with names containing a space by placing double quotes around the name. e.g. fill: #gradient could become: fill: #"radial gradient" When I try to create a FXZ file in NetBeans using this syntax, as soon as I enter a double quote char, NetBeans hangs. Don't know what it's doing, but CPU is at about 90%. NB does not respond at all and I have to kill it via the task manager.
I'm not able to reproduce on Mac with 201005112200 build sharimoyahoo, we need more informations from you. If you are able to reproduce then take a thread dump or profiler snapshot. http://wiki.netbeans.org/GenerateThreadDump thank you
Created attachment 98844 [details] FXZ file to reproduce bug Could not find a "nb.exe" file. Attaching the data file I was using instead. In the Rectangle definition containing id: whiteSquare place cursor after the "#" in: fill: #gradient Type a double quote ("). NetBeans should hang.
described problem is reproducible only if user starts to add double-quote to the reference that is not resolved. Will try to handle this case separately. Note: If you open fxz attached by reporter in Production Suite fx-viewer, it fails to show image with error: "could not find element with id gradient". I have filled issue 186074 to track lack of error message
My previous evaluation is not absolutely correct. I have made mistake in reproduction steps and has added double quote to reference in fill attribute of the second #gradient occurance (in blackSquare rectangle). In that case fxviewer hasn't reached this reference because has failed to resolve the first #gradient occurance. If I update fxz by following user steps in external text editor and try to open the result in fxviewer it hangs. The problem is in FXDReader.nextReference() method and can't be fixed on NetBeans side without affecting usual workflow performance. I have filed RT-8651 for FXDLoader.
JavaFX SDK issue.
works correctly after SDK issue is fixed (http://javafx-jira.kenai.com/browse/RT-8651).