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 271817 - error parsing file undetected
Summary: error parsing file undetected
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.2
Hardware: PC Windows 10
: P2 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-16 00:18 UTC by FiruzzZ
Modified: 2017-11-16 00:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (352.18 KB, text/plain)
2017-11-16 00:18 UTC, FiruzzZ
Details

Note You need to log in before you can comment on or make changes to this bug.
Description FiruzzZ 2017-11-16 00:18:11 UTC
Product Version = NetBeans IDE 8.2 (Build 201609300101)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_152
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.152-b16

Reproducibility: Happens every time

It is not capable to indicate the line where there is the error (a non initialized boolean).
Code: 

boolean activo = jpaTitularesOs.isActivoAt(titular.getId(), periodo);
boolean activoAt;  //ERROR line <-------------
if (!activo) {
    activoAt = jpaTitularesOs.isAtOrMore(titular.getId(), periodo);
}
Integer plan = new Integer(titular.getPlan());
if ((activo || activoAt) && planes.stream().anyMatch(t -> t.getId().equals(plan))) {  //line where the error should be highlighted
 ........
}

I thought it was because of the stream function, but I started to prune the code and the error keeps unnotices 
if ((activo || activoAt)) { 

if (activo || activoAt) {
Comment 1 FiruzzZ 2017-11-16 00:18:17 UTC
Created attachment 165457 [details]
IDE log