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 271750

Summary: Exception: no language for org.netbeans.modules.editor.NbEditorDocument@4e9a78b1, mimeType='text/x-c', kitClass=null, length=51538, version=1, file=org.netbeans.modules.cnd.source.CDataObject@6426c4e0
Product: cnd Reporter: j0inty
Component: Code CompletionAssignee: issues@cnd <issues>
Status: NEW ---    
Severity: normal CC: akrasny, alexvsimon, GeorgN
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 230781
Attachments: stacktrace

Description j0inty 2017-11-03 11:31:54 UTC
This bug was originally marked as duplicate of bug 255684, 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 201711020002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.152-b16, Java(TM) SE Runtime Environment, 1.8.0_152-b16
OS: Linux

User Comments:
akrasny: An attempt to open a remote file.

alexvsimon: remove .inc extension from C/C++ header files and open .dep.inc file in editor

GeorgN: by creating a new file this error occured

j0inty: Openening a c-sourcecode file




Stacktrace: 
java.lang.Exception: no language for org.netbeans.modules.editor.NbEditorDocument@4e9a78b1, mimeType='text/x-c', kitClass=null, length=51538, version=1, file=org.netbeans.modules.cnd.source.CDataObject@6426c4e0[/home/steffen/workspace/NosoEx-BLEDataReader.git/java/sqlite-jdbc/src/main/ext/extension-functions.c@c138c697:77d7191e]
@[slowDocumentPropertiesSetup]
   at org.netbeans.modules.cnd.utils.CndUtils.severe(CndUtils.java:212)
   at org.netbeans.modules.cnd.utils.CndUtils.assertUnconditional(CndUtils.java:147)
   at org.netbeans.modules.cnd.source.CppEditorSupport.setupSlowDocumentProperties(CppEditorSupport.java:278)
   at org.netbeans.modules.cnd.source.CppEditorSupport.access$200(CppEditorSupport.java:109)
   at org.netbeans.modules.cnd.source.CppEditorSupport$3.run(CppEditorSupport.java:393)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
Comment 1 j0inty 2017-11-03 11:32:00 UTC
Created attachment 165393 [details]
stacktrace