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 255684 - Exception: no language for org.netbeans.modules.editor.NbEditorDocument@71479f, mimeType='text/x-c++', kitClass=null, length=186, version=1, file=org.netbeans.modules.cnd.source.CCDataObject@13b13fb[/
Summary: Exception: no language for org.netbeans.modules.editor.NbEditorDocument@71479...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-05 07:07 UTC by GeorgN
Modified: 2017-04-13 11:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 220264


Attachments
stacktrace (1.01 KB, text/plain)
2015-10-05 07:07 UTC, GeorgN
Details
stacktrace (1.07 KB, text/plain)
2016-12-13 01:06 UTC, Andrew Krasny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description GeorgN 2015-10-05 07:07:15 UTC
This issue was reported manually by alexvsimon.
It already has 2 duplicates 


Build: NetBeans IDE Dev (Build 201509280002)
VM: Java HotSpot(TM) Client VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Linux

User Comments:
GeorgN: I've double clicked to open a source file called "main.cpp". Then the exception occured.

GeorgN: by creating a new file this error occured




Stacktrace: 
java.lang.Exception: no language for org.netbeans.modules.editor.NbEditorDocument@71479f, mimeType='text/x-c++', kitClass=null, length=186, version=1, file=org.netbeans.modules.cnd.source.CCDataObject@13b13fb[/root/NetBeansProjects/Project_1_ST7565RGB/ST7565.cpp@bc8f4729:1c025bf]
   at org.netbeans.modules.cnd.utils.CndUtils.severe(CndUtils.java:206)
   at org.netbeans.modules.cnd.utils.CndUtils.assertUnconditional(CndUtils.java:145)
   at org.netbeans.modules.cnd.source.CppEditorSupport.setupSlowDocumentProperties(CppEditorSupport.java:269)
   at org.netbeans.modules.cnd.source.CppEditorSupport.access$200(CppEditorSupport.java:106)
   at org.netbeans.modules.cnd.source.CppEditorSupport$3.run(CppEditorSupport.java:397)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
Comment 1 GeorgN 2015-10-05 07:07:16 UTC
Created attachment 156508 [details]
stacktrace
Comment 2 Alexander Simon 2015-10-05 07:47:06 UTC
CND cluster was not properly activated.
To resolve issue try:
- start IDE with fresh user dir
- or reinstall IDE from latest nightly build.
In general this issue is a result of wrong update nightly IDE build from update center based on next nightly IDE build.
Comment 3 Andrew Krasny 2016-12-13 01:06:46 UTC
Created attachment 163215 [details]
stacktrace

An attempt to open a remote file.
Comment 4 Vladimir Voskresensky 2017-03-30 15:49:05 UTC
enum/release82

 changeset: 314991:425841b26c64 [release82]
Comment 5 Quality Engineering 2017-04-02 02:35:47 UTC
Integrated into 'main-silver', will be available in build *201704020002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/7bcc8e78c01a
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #255684 - Exception: no language for
- do not setup non-cnd documents
(transplanted from 425841b26c64c1737ed77396f58b6538b4ee4cb5)
Comment 6 ilia 2017-04-13 11:04:40 UTC
https://netbeans.org/bugzilla/show_bug.cgi?id=255684 Changesets:
    http://hg.netbeans.org/releases/rev/425841b26c64 # fixed #255684 - Exception: no language for