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 have some problem code folds before, but in http://smetiste.czech.sun.com/builds/netbeans/6.8/rc1/2009-11-22_23-41-36 build code folds doesn't appear in ~100% cases. Scenario: - Create Quote project - Open cpu.cc file ==> code folds doesn't appear Workaround: modify file
Nothing wrong on C++ side. Please, evaluate
Confirmed with latest dev build.
It's some race condition since on Mac OS X I can't reproduce in Quote project cpu.cc file on both dev build and the mentioned 6.8 rc1. On Linux it should be easily reproducible so I'll try that.
Problem seems to be in CppFolderManager.collectFoldUpdates CppFile cpf = CppMetaModel.getDefault(). get(doc.getProperty(Document.TitleProperty).toString()); is null so method returns null. doc.getProperty(Document.TitleProperty).toString() is /home/mslama/NetBeansProjects/Quote_1/cpu.cc
Marek, thanks for the evaluation!
fixed as part of extracting CND editor infrastructure