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 269116 - Syntax error line not recognized
Summary: Syntax error line not recognized
Status: RESOLVED DUPLICATE of bug 251000
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.2
Hardware: PC Windows 10 x64
: P1 normal with 1 vote (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-25 13:23 UTC by FiruzzZ
Modified: 2017-04-05 11:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (162.80 KB, text/plain)
2016-11-25 13:23 UTC, FiruzzZ
Details

Note You need to log in before you can comment on or make changes to this bug.
Description FiruzzZ 2016-11-25 13:23:07 UTC
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
Comment 1 FiruzzZ 2016-11-25 13:23:12 UTC
Created attachment 163026 [details]
IDE log
Comment 2 bht 2016-12-05 07:58:08 UTC
I observed this as well, quite often. Please see bug 251000.
Comment 3 Martin Balin 2017-04-05 11:41:43 UTC

*** This bug has been marked as a duplicate of bug 251000 ***