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.
Summary: | NullPointerException at org.netbeans.spi.project.support.ant.PathMatcher.matches | ||
---|---|---|---|
Product: | projects | Reporter: | dcherk <dcherk> |
Component: | Ant Freeform | Assignee: | Milan Kubec <mkubec> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=145245 | ||
Issue Type: | DEFECT | Exception Reporter: | 145245 |
Attachments: | stacktrace |
Description
dcherk
2009-01-15 21:22:49 UTC
Created attachment 75869 [details]
stacktrace
Please provide more details how the issue happened. Thanks. A dev build would not have gotten this far: assert path != null : fo + " not in " + root; //NOI18N Not sure how path would be null, but perhaps it is a race condition with FolderChildren. I would recommend that this be changed to if (path == null) { return false; } I know about the assert and I was thinking about same solution, but wanted to know how to reproduce to find out why null. http://hg.netbeans.org/core-main/rev/b7c0d92dbf06 Integrated into 'main-golden', will be available in build *200905070201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/b7c0d92dbf06 User: Milan Kubec <mkubec@netbeans.org> Log: #156919: avoiding NPE |