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.

Bug 241967 - C/C++ main file edition problem
Summary: C/C++ main file edition problem
Status: RESOLVED INCOMPLETE
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0
Hardware: PC Linux
: P1 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-16 21:58 UTC by _ pandajava
Modified: 2014-02-18 18:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ pandajava 2014-02-16 21:58:17 UTC
Impossible to modified or click in the main.c file for C application project. 
This bug does not allow to do nothing else in the file.
Comment 1 Vladimir Kvashin 2014-02-17 04:47:57 UTC
What exactly happens when you click or modify main.c file?
It's impossible to deal with this additional details.

Please provide
- More detailed description
- IDE log file 
- If IDE hangs (UI is frozen), please provide thread dump (when launched from console, pressing Ctrl-Backslasj (Ctrl-\) dumps all threads; or you can do the same via jstack <PID> command)

or at least some subset of the above
Comment 2 _ pandajava 2014-02-18 16:52:54 UTC
The content of the log : 

java.lang.AssertionError: no language for org.netbeans.modules.editor.NbEditorDocument@6ee918d7, mimeType='text/x-c', kitClass=null, length=212, version=1, file=org.netbeans.modules.cnd.source.CDataObject@39abb7a4[/home/constantin/Documents/NetBeans8Test/CppApplication_Test/main.c@4c6cbdf1:b08f689]
	at org.netbeans.modules.cnd.source.CppEditorSupport.setupSlowDocumentProperties(CppEditorSupport.java:255)
	at org.netbeans.modules.cnd.source.CppEditorSupport.access$200(CppEditorSupport.java:106)
	at org.netbeans.modules.cnd.source.CppEditorSupport$3.run(CppEditorSupport.java:395)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
	at org.openide.util.RequestProcessor.post(RequestProcessor.java:419)
	at org.netbeans.modules.cnd.source.CppEditorSupport.prepareDocument(CppEditorSupport.java:391)
	at org.openide.text.CloneableEditorSupport.createCloneableTopComponent(CloneableEditorSupport.java:1021)
	at org.openide.windows.CloneableOpenSupport.openCloneableTopComponent(CloneableOpenSupport.java:205)
	at org.openide.windows.CloneableOpenSupport$1.run(CloneableOpenSupport.java:106)
	at org.openide.util.Mutex.doEvent(Mutex.java:1356)
	at org.openide.util.Mutex.writeAccess(Mutex.java:462)
	at org.openide.windows.CloneableOpenSupport.open(CloneableOpenSupport.java:103)
	at org.openide.text.CloneableEditorSupport.open(CloneableEditorSupport.java:435)
	at org.openide.awt.ActionDefaultPerfomer.actionPerformed(ActionDefaultPerfomer.java:70)
	at org.openide.awt.ContextAction$Performer.actionPerformed(ContextAction.java:226)
	at org.openide.awt.ContextManager.actionPerformed(ContextManager.java:257)
	at org.openide.awt.ContextAction.actionPerformed(ContextAction.java:109)
	at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:93)
	at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:116)
	at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:99)
	at org.openide.awt.GeneralAction$BaseDelAction.actionPerformed(GeneralAction.java:234)
	at org.openide.explorer.view.TreeView$PopupSupport.mouseClicked(TreeView.java:1625)
	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270)
	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:269)
	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:269)
	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:269)
	at java.awt.Component.processMouseEvent(Component.java:6532)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
	at java.awt.Component.processEvent(Component.java:6294)
	at java.awt.Container.processEvent(Container.java:2235)
	at java.awt.Component.dispatchEventImpl(Component.java:4885)
	at java.awt.Container.dispatchEventImpl(Container.java:2293)
	at java.awt.Component.dispatchEvent(Component.java:4707)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4877)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4542)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
	at java.awt.Container.dispatchEventImpl(Container.java:2279)
	at java.awt.Window.dispatchEventImpl(Window.java:2741)
	at java.awt.Component.dispatchEvent(Component.java:4707)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:746)
	at java.awt.EventQueue.access$400(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:697)
	at java.awt.EventQueue$3.run(EventQueue.java:691)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.awt.EventQueue$4.run(EventQueue.java:719)
	at java.awt.EventQueue$4.run(EventQueue.java:717)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:716)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:220)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:135)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:123)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:119)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:111)
[catch] at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
Comment 3 Alexander Simon 2014-02-18 18:28:06 UTC
(In reply to _ pandajava from comment #2)
> The content of the log : 
> 
> java.lang.AssertionError: no language for
Please attach full log.
Part of IDE log does not allow to understand:
- IDE version
- IDE modules
- related errors

Thanks for understanding.