Skip to content

Reduce the changes of error and npe: Check for variable Existence #43

@arkaprovob

Description

@arkaprovob

Description:
In our code, we should consider adding a check to ensure cfgMapData exists before using it. This check can help enhance the reliability of our code. We should apply this logic wherever applicable in our codebase.

Benefits:

  • Avoid potential null pointer exceptions.

Further details
to know more please refer to this review

Implementation:

  1. Add a check to verify the existence of cfgMapData before using it.
  2. Apply the same logic wherever applicable in the codebase.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions