This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Observed in validation tests: java.lang.IllegalArgumentException: Attempted to pass a null directory to isProject at org.netbeans.api.project.ProjectManager.isProject(ProjectManager.java:406) at org.netbeans.modules.mercurial.util.HgUtils.isIgnored(HgUtils.java:320) at org.netbeans.modules.mercurial.util.HgUtils.isIgnored(HgUtils.java:303) at org.netbeans.modules.mercurial.FileStatusCache.scanFolder(FileStatusCache.java:777) [...]
No apparently related changes => probably random.
if (projectManager.isProject(FileUtil.toFileObject(file))) { is line 320.
FileUtil.toFileObject returns null if the file does not exist or there is no URLMapper available to convert it
Created attachment 58159 [details] proposed patch
Patch pushed in 31203c5c0f19.
You must set the Target Milestone when closing any issue as FIXED.
*** Issue 164770 has been marked as a duplicate of this issue. ***