Open Issues Need Help
View All on GitHub Bug: addProduct() does not handle null input 7 months ago
AI Summary: The `addProduct()` method currently fails to validate its input, allowing a `null` product to be passed. This results in a `NullPointerException` when attempting to access properties like `getPrice()` on the null object, causing a crash. The method should be updated to safely handle null inputs.
Complexity:
1/5
bug good first issue
harshlsoni/Ecommerce-order-management-system harshlsoni/Ecommerce-order-management-system Java Mini Project
Open project →
0
Java Mini Project
Java