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.
The RED ! exclamation shows up in the file and the Project's tree tab, but IN the line where the error it is, there is no notification Long telef; try { telef = Long.valueOf(data.get("telefono").toString()); if( 8 < telef.toString().length() > 12) { //this syntax error is not recognized throw new MessageException("Teléfono no válido (debe tener entre 8 y 12 números)"); } } catch (NumberFormatException ex) { throw new MessageException("Teléfono no válido (debe tener entre 8 y 12 números)"); } Product Version = NetBeans IDE 8.2 (Build 201609300101) Operating System = Windows 10 version 10.0 running on amd64 Java; VM; Vendor = 1.8.0_112 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.112-b15 Reproducibility: Happens every time
Created attachment 163026 [details] IDE log
I observed this as well, quite often. Please see bug 251000.
*** This bug has been marked as a duplicate of bug 251000 ***