Title: EXP01-J. Do not use a null in a case where an object is required  
Author: Dhruv Mohindra May 12, 2009
Last Changed by: Alexandre GIGLEUX Dec 19, 2018
Tiny Link: (useful for email) https://wiki.sei.cmu.edu/confluence/x/aDdGBQ
Export As: Word · PDF  
Hierarchy
Parent Page
    Page: Rule 02. Expressions (EXP)
Outgoing Links
External Links (15)
    https://www.safaribooksonline.com/library/view/secure-codin…
    www.aitcnet.org/isai/
    cwe.mitre.org/data/definitions/476.html
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    docs.oracle.com/javase/8/docs/api/java/util/Optional.html
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    www.oracle.com/technetwork/articles/java/java8-optional-217…
    https://rules.sonarsource.com/java/RSPEC-2637
    java.sun.com/javase/6/docs/api/java/security/AccessControll…
    cwe.mitre.org/
    bugs.sun.com/bugdatabase/view_bug.do?bug_id=6514454
    https://rules.sonarsource.com/java/RSPEC-2447
    https://rules.sonarsource.com/java/RSPEC-2259
    https://rules.sonarsource.com/java/RSPEC-2225
SEI CERT Oracle Coding Standard for Java (16)     Page: Coverity
    Page: CodeSonar
    Page: Fortify_V
    Page: Rule BB. Glossary
    Page: Fortify
    Page: SonarQube_V
    Home page: SEI CERT Oracle Coding Standard for Java
    Page: Rule AA. References
    Page: The Checker Framework
    Page: Findbugs
    Page: SonarQube
    Page: ERR08-J. Do not catch NullPointerException or any of its ancestors
    Page: The Checker Framework_V
    Page: Parasoft
    Page: Findbugs_V
    Page: Parasoft_V
SEI CERT C Coding Standard (2)     Page: EXP34-C. Do not dereference null pointers
    Home page: SEI CERT C Coding Standard