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.
NetBeans-JavaFX-Soma: #93 Product Version = NetBeans IDE Dev (Build 201001110200) (#fff13d755928) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02; Sun Microsystems Inc. There are Exception: Stack trace Thread.dumpStack() in the IDE log file during the JavaFX code editing: WARNING [org.netbeans.api.javafx.source.JavaFXSource]: ParserManager.parse called in AWT event thread by: org.netbeans.modules.javafx.editor.format.JFXReformatTask.reformat(JFXReformatTask.java:148) WARNING [org.netbeans.api.javafx.source.JavaFXSource]: - thread dump follows: WARNING [org.netbeans.modules.parsing.impl.TaskProcessor]: ParserManager.parse called in AWT event thread by: org.netbeans.api.javafx.source.JavaFXSource.runUserActionTask(JavaFXSource.java:250) java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Thread.java:1206) at org.netbeans.api.javafx.source.JavaFXSource.runUserActionTask(JavaFXSource.java:243) at org.netbeans.modules.javafx.editor.format.JFXReformatTask.reformat(JFXReformatTask.java:148) at org.netbeans.modules.javafx.editor.format.ui.FmtOptions$CategorySupport.refreshPreview(FmtOptions.java:571) at org.netbeans.modules.options.indentation.IndentationPanel.prefsChange(IndentationPanel.java:290) at org.netbeans.modules.options.indentation.IndentationPanel.<init>(IndentationPanel.java:154) at org.netbeans.modules.options.indentation.IndentationPanelController.getComponent(IndentationPanelController.java:98) at org.netbeans.modules.options.indentation.FormattingPanel.propertyChange(FormattingPanel.java:166) at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:188) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276) at org.netbeans.modules.options.indentation.CustomizerSelector.setSelectedCustomizer(CustomizerSelector.java:126) at org.netbeans.modules.options.indentation.FormattingPanel.categoryChanged(FormattingPanel.java:338) at org.netbeans.modules.options.indentation.FormattingPanel.access$200(FormattingPanel.java:75) at org.netbeans.modules.options.indentation.FormattingPanel$5.actionPerformed(FormattingPanel.java:248) at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1240) at javax.swing.JComboBox.setSelectedItem(JComboBox.java:567) at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:603) at org.netbeans.modules.options.indentation.FormattingPanel.propertyChange(FormattingPanel.java:153) at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:188) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276) at org.netbeans.modules.options.indentation.CustomizerSelector.setSelectedMimeType(CustomizerSelector.java:104) at org.netbeans.modules.options.indentation.FormattingPanel.languageChanged(FormattingPanel.java:332) at org.netbeans.modules.options.indentation.FormattingPanel.access$100(FormattingPanel.java:75) at org.netbeans.modules.options.indentation.FormattingPanel$4.actionPerformed(FormattingPanel.java:238) at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1240) at javax.swing.JComboBox.setSelectedItem(JComboBox.java:567) at org.netbeans.modules.options.indentation.FormattingPanel.setSelector(FormattingPanel.java:136) at org.netbeans.modules.options.indentation.FormattingPanelController.update(FormattingPanelController.java:112) at org.netbeans.modules.options.TabbedController.handleTabSwitched(TabbedController.java:204) at org.netbeans.modules.options.TabbedController.access$200(TabbedController.java:75) at org.netbeans.modules.options.TabbedController$2.stateChanged(TabbedController.java:102) at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:400) at javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:253) at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116) at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50) at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:599) at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:574) at javax.swing.plaf.basic.BasicTabbedPaneUI$Handler.mousePressed(BasicTabbedPaneUI.java:3622) at java.awt.Component.processMouseEvent(Component.java:6260) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6028) at java.awt.Container.processEvent(Container.java:2041) at java.awt.Component.dispatchEventImpl(Component.java:4630) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Component.dispatchEvent(Component.java:4460) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4235) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168) at java.awt.Container.dispatchEventImpl(Container.java:2085) at java.awt.Window.dispatchEventImpl(Window.java:2475) at java.awt.Component.dispatchEvent(Component.java:4460) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:125) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) WARNING [org.netbeans.core.TimableEventQueue]: too much time in AWT thread org.netbeans.modules.profiler.actions.SelfSamplerAction$Controller@ecf9ac
Created attachment 93224 [details] IDE log file
Format action must be invoked from AWT dispatch thread. JavaFXSource.runUserActionTask() is not intelligent enough and shows WARNING (not EXCEPTION) for every invokation from AWT. As a P4 task there could be some filter creation for JavaFXSource what will disable unneeded warnings. But that's source module, not editor.
Please, move the issue to the appropriate category.
If I read it correctly the problem is in javafx.source --> I have moved it to javafx/editor category. If it is wrong please move somewhere else but not to editor/Other. It is either editor/Parsing API or javafx something. Anton please check it. Thanks.
Petr, please moke filter for formatter or remove that WARNING. Formatter should be invoked inside AWT thread.
*** Bug 183379 has been marked as a duplicate of this bug. ***
The warning is gone.
verified in netbeans-trunk-nightly-201005132200-javafx-full-windows.exe