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.
In the attached file (it is the only file you need to have in a project) navigator holds 2 entries for "new_number" and the second one is just weird leading to a place where "new_number" is used.
Created attachment 62731 [details] The problematic source
Error in code (missing ";"): int len = 0 Error breaks model.
It seems not to be a bug as error is highlighted and the code becomes wrong. Everything is OK as soon as ";" is put after the statement or the line is removed. Please reopen if anyone have any objections.
Bug is about possibility to restore parsing after failure. Parser should minimize side effect of missing ";". Normal situation if parser is restored from next statement. It is a goal. Bub is about case where parser does not restored and model miss a big part of declarations.