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 242499

Summary: Error "Unexpected token: <no text>", no apparent cause, almost certainly a bug.
Product: cnd Reporter: killani64
Component: Code ModelAssignee: Vladimir Voskresensky <vv159170>
Status: RESOLVED INCOMPLETE    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

Description killani64 2014-03-03 02:04:58 UTC
On creating a new C file and filling it with some code, the first line with code on it will always get underlined with the error "Unexpected token: <no text>", which is, by the looks of it, a bug. No problem if you force the compile, but NetBeans recognises it as any error.


Product Version = NetBeans IDE 7.3 (Build 201302132200)
Operating System = Linux version 3.11.0-17-generic running on amd64
Java; VM; Vendor = 1.7.0_51
Runtime = OpenJDK 64-Bit Server VM 24.45-b08
Comment 1 killani64 2014-03-03 02:05:04 UTC
Created attachment 145706 [details]
IDE log
Comment 2 Vladimir Voskresensky 2014-03-04 11:53:43 UTC
I created new empty C file, typed some incomplete text. Got red exclamation sign, completed text and sign disappeared.
Btw, in dev build the text is "Unexpected End of File".

If you can reproduce in trunk. Please, provide detailed steps.

Thanks!