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.
I've opened in Netbeans 6.0 beta a C++ project which has been created with an earlier version of cnd using the "C++ project from existing code" option. My makefile includes a file that I'm trying to edit in Netbeans, but every time i hit a key i get a very big error dialog. Frome the Netbeans log it seems that there is a problem with a file "Services/IndentEngine/org-netbeans-modules-cnd-editor-makefile-MakefileIndentEngine.settings"
Created attachment 49130 [details] nb log
It seems that the same happens every time I try to edit a file with an unknown extension. From the log file, it seems that netbeans tries to instantiate an "org.netbeans.modules.cnd.editor.makefile.MakefileIndentEngine" class, but fails because of the aforementioned settings file.
I can get it just typing in a Java (Form) file. The warning popup every keypress is _EXTREMELY_ annoying.
*** Issue 118982 has been marked as a duplicate of this issue. ***
Just to clarify the situation: This does not depend on the version of CND that created the project. This depends on the version of the CND your userdir settings originate from (Netbeans userdir is a directory that stores all Netbeans settings; by default it's ~/.netbeans/<version>, i.e. ~/.netbeans/5.5, ~/.netbeans/6.0, etc.)
What is the version of Netbeans/CND you imported settings from? I strongly believe it is a non-release version. The situation does not repeat if the settings are created with *any* released versions (I tried cnd 5.5, 5.5.1, 5.5.1u1). The serialVersionUID that caused the issue was changed on October 28, 2006, during the 5.5 (the very first C/C++ pack version) development. In 5.5 release it was the same as now. So I believe your settings were created by a pre-release version. I would recommend not to import settings created by non-release versions.
The issue repeats only with settings created via non released version (prior than 5.5) of cnd. The source of the issue is an error in 5.5 pre-release version (absent serialVersionUID) that was fixed in 5.5 release.
Is there any way to get rid of this problem? I have installed Netbeans 6.0 and I'd prefer not to lose my imported settings: is there anything I can edit manually in my user directory to avoid the serialVersionUID problem?
Verified in build 20080215