You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code in Admin.Admin.getSupplierNames() contains a possible null pointer dereference where the variable "data" is dereferenced without first checking if it is null. This can cause potential crashes when the application is ran.
To reproduce:
Go to Admin.Admin.getSupplierNames() in the src/main/java folder
Go to line 834 and locate the "size" initialization
Identify that it doesn't check if "data" is null before using it
Expected: Variables should be checked if they're null before dereferencing to avoid potential NullPointerExceptions and ensure stability and reliability
Actual: The code doesn't check for null which may result in a crash under certain circumstances.
The text was updated successfully, but these errors were encountered:
The code in Admin.Admin.getSupplierNames() contains a possible null pointer dereference where the variable "data" is dereferenced without first checking if it is null. This can cause potential crashes when the application is ran.
To reproduce:
Expected: Variables should be checked if they're null before dereferencing to avoid potential NullPointerExceptions and ensure stability and reliability
Actual: The code doesn't check for null which may result in a crash under certain circumstances.
The text was updated successfully, but these errors were encountered: