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.
java.lang.Exception: Not allowed to use EDT for reading XML descriptor of project! at org.netbeans.modules.cnd.makeproject.api.configurations.ConfigurationDescriptorProvider.getConfigurationDescriptor(ConfigurationDescriptorProvider.java:87) at org.netbeans.modules.cnd.makeproject.MakeProjectEncodingQueryImpl.getMakeConfigurationDescriptor(MakeProjectEncodingQueryImpl.java:107) at org.netbeans.modules.cnd.makeproject.MakeProjectEncodingQueryImpl.getEncoding(MakeProjectEncodingQueryImpl.java:74) at org.netbeans.modules.projectapi.ProjectFileEncodingQueryImplementation.getEncoding(ProjectFileEncodingQueryImplementation.java:72) at org.netbeans.api.queries.FileEncodingQuery.getEncoding(FileEncodingQuery.java:91) at org.openide.text.DataEditorSupport.openDocument(DataEditorSupport.java:396) at org.openide.text.CloneableEditorSupport.open(CloneableEditorSupport.java:434) at org.netbeans.modules.cnd.modelutil.CsmUtilities$2.run(CsmUtilities.java:526) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Thomas, please, move project encoding information out of configuration.xml This information must be returned very quickly for project, because it slow down opening of files which belongs to project
Should move it (<sourceEncoding>UTF-8</sourceEncoding>) to project.xml
yes, please
Fixed.
Integrated into 'main-golden', will be available in build *200809111401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/12f74340c0b8 User: Thomas Preisler <thp@netbeans.org> Log: #146715 getting encoding for C++ project is very slow