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 249320

Summary: Enhance NPE checking and data flow
Product: java Reporter: Svata Dedic <sdedic>
Component: HintsAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal CC: athompson, keks, mklaehn, nimarukan, szd, terje7601, tln
Priority: P1    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 250702, 253210, 255631, 228493, 231120, 235985, 238067, 238150, 238402, 242161, 242435, 243830, 245370, 253300, 254481, 255025, 255947, 255953, 256425    
Bug Blocks: 247780, 252816, 256749, 238726, 240945, 245201, 248592, 251969, 251974    

Description Svata Dedic 2014-12-12 12:16:20 UTC
There are a lot of reports on possible NPEs falsely reported. I'll duplicate false positives under this issue and will try to provide a solution for the whole class of issues.
Comment 1 Svata Dedic 2014-12-12 12:17:47 UTC
Setting to P2 to get attention before next release.
Comment 2 Svata Dedic 2014-12-12 12:18:48 UTC
*** Bug 248360 has been marked as a duplicate of this bug. ***
Comment 3 Svata Dedic 2014-12-12 12:19:01 UTC
*** Bug 247999 has been marked as a duplicate of this bug. ***
Comment 4 Svata Dedic 2014-12-12 12:19:10 UTC
*** Bug 247989 has been marked as a duplicate of this bug. ***
Comment 5 Svata Dedic 2014-12-12 12:19:45 UTC
*** Bug 247409 has been marked as a duplicate of this bug. ***
Comment 6 cezariusz 2015-03-27 08:47:56 UTC
Shouldn't you add bug 226083 here as well?
Comment 7 Svata Dedic 2015-07-24 07:03:27 UTC
The change is rather large - reimplementation of whole data flow + npe, affects not only those hints, but also introduce variable/field/constant, introduce method, and potentially refactorings, too. 

Scheduling for the next version.
Comment 8 Svata Dedic 2015-07-24 07:05:34 UTC
*** Bug 226083 has been marked as a duplicate of this bug. ***
Comment 9 terje7601 2015-09-30 11:50:51 UTC
I think bug 242706, bug 249234 and bug 255631 should be added here as well.
Comment 10 Svata Dedic 2016-07-13 13:29:51 UTC
*** Bug 230195 has been marked as a duplicate of this bug. ***