You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Gaurav Gupta (JIRA)" <ji...@apache.org> on 2018/10/20 15:46:00 UTC

[jira] [Updated] (NETBEANS-1480) NetBeans shows NPE warning even after nonNull check

     [ https://issues.apache.org/jira/browse/NETBEANS-1480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gaurav Gupta updated NETBEANS-1480:
-----------------------------------
    Attachment: NonNull1.png

> NetBeans shows NPE warning even after nonNull check
> ---------------------------------------------------
>
>                 Key: NETBEANS-1480
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1480
>             Project: NetBeans
>          Issue Type: Bug
>            Reporter: Gaurav Gupta
>            Priority: Major
>         Attachments: NonNull1.png
>
>
> NetBeans shows warning "Dereferencing possible null pointer" even "java.util.Objects.nonNull" check is applied in the 'If' condition. 
> If condition is replaced with "var != null" then no warning are shown.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists