Common Weakness Enumeration

    CWE Definition / CWE-395

    CWE-395: Use of NullPointerException Catch to Detect NULL Pointer Dereference

    Catching NullPointerException should not be used as an alternative to programmatic checks to prevent dereferencing a null pointer.

    Published:N/A
    Organization:
    Modified:N/A

    Related Weakness

    CWE-705: Incorrect Control Flow Scoping

    CWE-755: Improper Handling of Exceptional Conditions