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.1 (Build 200804211638) VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02 OS: Linux, 2.6.24-19-generic, i386 User Comments: Stacktrace: java.lang.NullPointerException at org.netbeans.modules.apisupport.project.Util.findSubElements(Util.java:186) at org.netbeans.modules.apisupport.project.queries.SourceForBinaryImpl.findSourceRoots(SourceForBinaryImpl.java:110) at org.netbeans.modules.java.project.ProjectSourceForBinaryQuery.findSourceRoots(ProjectSourceForBinaryQuery.java:67) at org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots(SourceForBinaryQuery.java:90) at org.netbeans.modules.debugger.jpda.ant.JPDAStart.convertToSourcePath(JPDAStart.java:456) at org.netbeans.modules.debugger.jpda.ant.JPDAStart.createSourcePath(JPDAStart.java:394)
Strange. Did the parent's children list change in another thread? Any idea how to reproduce?
No idea how to reproduce it. The exception was thrown only one time.
Might be a race condition. Do you happen to remember if you were modifying project properties at the time?
No, I didn't change project properties. I was debugging the nbm project.
*** Issue 143714 has been marked as a duplicate of this issue. ***
Cannot reproduce and there seems to be no apparent chance of race condition. Needs further investigation.
Build: NetBeans IDE Dev (Build 20080911152933) VM: Java HotSpot(TM) Client VM, 11.0-b11, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b14 OS: Linux, 2.6.24-19-generic, i386 User Comments: Stacktrace: java.lang.NullPointerException at org.netbeans.modules.apisupport.project.Util.findSubElements(Util.java:186) at org.netbeans.modules.apisupport.project.queries.SourceForBinaryImpl.findSourceRoots(SourceForBinaryImpl.java:114) at org.netbeans.modules.java.project.ProjectSourceForBinaryQuery.findSourceRoots2(ProjectSourceForBinaryQuery.java:83) at org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:117) at org.netbeans.modules.java.source.classpath.GlobalSourcePath.createResources(GlobalSourcePath.java:298) at org.netbeans.modules.java.source.classpath.GlobalSourcePath.access$1200(GlobalSourcePath.java:85)
Created attachment 69861 [details] stacktrace
Build: NetBeans IDE 6.5 (Build 081124) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Linux, 2.6.27-9-generic, i386 User Comments: Stacktrace: java.lang.NullPointerException at org.netbeans.modules.apisupport.project.Util.findSubElements(Util.java:181) at org.netbeans.modules.apisupport.project.queries.SourceForBinaryImpl.findSourceRoots(SourceForBinaryImpl.java:114) at org.netbeans.modules.java.project.ProjectSourceForBinaryQuery.findSourceRoots2(ProjectSourceForBinaryQuery.java:83) at org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:117) at org.netbeans.modules.java.source.classpath.GlobalSourcePath.createResources(GlobalSourcePath.java:308) at org.netbeans.modules.java.source.classpath.GlobalSourcePath.access$1200(GlobalSourcePath.java:85)
Created attachment 75594 [details] stacktrace
This issue already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=80721
NodeList.item(int) is returning null. Perhaps a Xerces bug, but no idea how to reproduce or diagnose further.