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.
This bug was originally marked as duplicate of bug 176666, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 200912200200) VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01 OS: Windows Vista, 6.0, x86 User Comments: sunflower: - Create a JavaFX project - Copy a code to the editor - Format code The exception pops up fzamboj: formatting a php file that has 16 lines Chiana: Just created a new .js file, cut the scripts from an xhtml since they started to be big, pasted the scripts into the new js file and pressed <shift><alt>-F to reformat sunflower: - Install NetBeand full bundle - Create New Project ->Samples-> JavaFX -> Media Box sample - Open com.sun.javafx.mediabox.MediaBox file - Format the code The exception pops up Stacktrace: java.lang.Exception: class org.netbeans.editor.ActionFactory$FormatAction$1 is too slow at org.netbeans.modules.progress.ui.RunOffEDTImpl.runOffEventDispatchThread(RunOffEDTImpl.java:101) at org.netbeans.api.progress.ProgressUtils.runOffEventDispatchThread(ProgressUtils.java:81) at org.netbeans.editor.ActionFactory$FormatAction.actionPerformed(ActionFactory.java:1635) at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:336) at org.openide.awt.AlwaysEnabledAction$1.run(AlwaysEnabledAction.java:139) at org.netbeans.modules.openide.util.ActionsBridge.implPerformAction(ActionsBridge.java:83)
Created attachment 92841 [details] stacktrace
Created attachment 93257 [details] stacktrace paste long js from myspace and clicked format (error on second file)
Passing to editor product...
I deeply apologize to any end user who may see this, but I am not even going to comment on this issue...
Although it is hard to reproduce this error closing it without any special reason is not something I like to accept. Formating is one of the basic features of Netbeans IDE. Do you need additional input, or more steps how to reproduce it ?
(In reply to comment #5) > Although it is hard to reproduce this error closing it without any special > reason is not something I like to accept. Formating is one of the basic > features of Netbeans IDE. Agreed. I am sorry for closing it. > > Do you need additional input, or more steps how to reproduce it ? Well, any input is valuable and welcome... Thanks
I see the issue in the JavaFX editor. NetBeans 6.9 NetBeans-JavaFX-Soma: #143 Steps to reproduce: - Create a JavaFX project - Copy the code fro the attached SolarSystem.fx file to the Main.fx file - Format the Main.fx file The exception pops up.
Created attachment 93912 [details] SolarSystem JavaFX file
Created attachment 93913 [details] IDE log file
Created attachment 94012 [details] stacktrace formating a long javascript file (3236 lines)
local changeset: 42651596988d
Your change caused a test failure in NB-Core-Build #4072. I put in a hotfix in core-main #3e23b357458c but a review of the tests would be appreciated.
Integrated into 'main-golden', will be available in build *201002190200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/42651596988d User: Vita Stejskal <vstejskal@netbeans.org> Log: #178957: log statistics for lengthy operations
(In reply to comment #12) > Your change caused a test failure in NB-Core-Build #4072. I put in a hotfix in > core-main #3e23b357458c but a review of the tests would be appreciated. I'm sorry about not running the tests myself before integrating. Your fix looks ok. Thanks
*** Bug 176931 has been marked as a duplicate of this bug. ***
*** Bug 177019 has been marked as a duplicate of this bug. ***
*** Bug 177025 has been marked as a duplicate of this bug. ***