Use of NullPointerException Catch to Detect NULL Pointer Dereference

Properties


name
Use of NullPointerException Catch to Detect NULL Pointer Dereference
definition
Catching NullPointerException should not be used as an alternative to programmatic checks to prevent dereferencing a null pointer.

Neighbors

CWE-395 has no direct neighbors in this release.

Inferred Relationships

This page is experimental and may change significantly in future releases.

Related Countermeasure Techniques

No related defensive techniques in this release.

Related Weaknesses

Related Offensive Techniques

No related offensive techniques in this release.