Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
private void requireProject(ProjectInstance projectInstance) throws IOException { if (projectInstance == null) { throw new IllegalArgumentException("Project " + projectInstance.getName() + " does not exist"); }
When projectInstance is null, projectInstance.getName() would produce NPE which is unintended.