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.
Build: NetBeans IDE 6.5 (Build 200811100001) VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06 OS: Windows XP, 5.1, x86 Stacktrace: java.lang.NullPointerException at org.netbeans.spi.project.support.ant.PathMatcher.matches(PathMatcher.java:183) at org.netbeans.modules.ant.freeform.ui.FolderNodeFactory$GroupDataFilter.acceptFileObject(FolderNodeFactory.java:281) at org.openide.loaders.FolderChildren$1R.run(FolderChildren.java:157) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
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