mirror of https://github.com/sbt/sbt.git
**Problem** getPropertiesFor method calls getResource().openStream() without checking if getResource returns null. When a resource doesn't exist, this causes a NullPointerException with no context about which resource was missing. **Solution** Added null check before calling openStream() and throw a descriptive FileNotFoundException with the resource name if the resource is not found. This prevents NullPointerException and provides better error messages. Generated-by: Auto |
||
|---|---|---|
| .. | ||
| main | ||
| test/scala/sbt/internal/inc | ||