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 270836

Summary: Netbeans does not warn about Null Pointer De-reference when getting an element from an array
Product: java Reporter: SirIntellegence
Component: HintsAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Example method.

Description SirIntellegence 2017-06-08 20:55:39 UTC
Created attachment 164491 [details]
Example method.

The warning for possible NPE and will happen NPE do not show up in the attached method.