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 - 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
Summary: Exception: no language for org.netbeans.modules.editor.NbEditorDocument@4e9a7...
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-03 11:31 UTC by j0inty
Modified: 2017-11-03 11:32 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 230781


Attachments
stacktrace (1.09 KB, text/plain)
2017-11-03 11:32 UTC, j0inty
Details

Note You need to log in before you can comment on or make changes to this bug.
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