Tag: null-check

Missing null check for cache response metadata

Accessing the cache response metadata without performing a null check might cause a null dereference error.

AWS DynamoDB getItem output is not null checked

Outputs of AWS DynamoDB's GetItem method are not null checked.

Invalid public method parameters

Public method parameters should be validated for nullness, unexpected values, and malicious values.

Incorrect null check before setting a value

When a variable is assigned a value after checking if it's not null (for example, x != null insead of x == null), it might be inadvertently overwritten.

Null pointer dereference

Dereferencing a null pointer can lead to unexpected null pointer exceptions.