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 installed latest build and found this problem with code folds. Steps: - Create "Welcome" sample project - Open "welcome.h" in built-in editor - Remove last line in file (empty line) - Close file in built-in editor - Open "welcome.h" in built-in editor again - Folds are broken (code folds) - cat ~/.netbeans/5.0/var/log/messages.log ------------------------------------------------------ exception: line 10:25: unexpected char: 0xFFFF line 10:25: unexpected char: 0xFFFF at org.netbeans.modules.cnd.modelimpl.antlr.CPPFoldingLexer.nextToken(CPPFoldingLexer.java:390) at antlr.TokenBuffer.fill(TokenBuffer.java:69) at antlr.TokenBuffer.LA(TokenBuffer.java:80) at antlr.LLkParser.LA(LLkParser.java:52) at org.netbeans.modules.cnd.modelimpl.antlr.CPPFoldingParser.translation_unit(CPPFoldingParser.java:139) at org.netbeans.modules.cnd.modelimpl.antlr.CPPFoldingParser.parse(CPPFoldingParser.java:69) at org.netbeans.modules.cnd.modelimpl.csm.core.FileParser.parse(FileParser.java:41) at org.netbeans.modules.cnd.editor.parser.CppFile.startParsing(CppFile.java:120) at org.netbeans.modules.cnd.editor.parser.CppFile.startParsing(CppFile.java:98) at org.netbeans.modules.cnd.editor.parser.CppMetaModel$1.run(CppMetaModel.java:70) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)
*** This issue has been marked as a duplicate of 75885 ***