Open Issues Need Help
View All on GitHub Bug: addProduct() does not handle null input 4 days 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