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.
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) {
Created attachment 165457 [details] IDE log