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 Dev (Build 200811110201) VM: Java HotSpot(TM) 64-Bit Server VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Windows Vista, 6.0, amd64 Stacktrace: java.lang.AssertionError: File: C:\Users\Gili\Documents\method\trunk\adcaster\administrator\source Path Type: classpath/boot Owner: ClassPathProviders: org.netbeans.modules.java.project.ProjectClassPathProvider@342daa0 org.netbeans.modules.java.platform.classpath.PlatformClassPathProvider@1a1f400c org.netbeans.modules.java.j2seplatform.libraries.J2SELibraryClassPathProvider@79a5e139 org.netbeans.modules.java.j2seplatform.platformdefinition.DefaultClassPathProvider@7965a393 at org.netbeans.modules.java.jseproject.JSEActionProvider.isSetMainClass(JSEActionProvider.java:1218) at org.netbeans.modules.java.jseproject.JSEActionProvider.getTargetNames(JSEActionProvider.java:571) at org.netbeans.modules.java.jseproject.JSEActionProvider$.run(JSEActionProvider.java:378) at org.netbeans.api.java.source.ui.ScanDialog.runWhenScanFinished(ScanDialog.java:150) at org.netbeans.modules.java.jseproject.JSEActionProvider.invokeAction(JSEActionProvider.java:477) at org.netbeans.modules.groovy.support.LookupMergerSupport$MergedActionProvider.invokeAction(LookupMergerSupport.java:110)
Created attachment 73703 [details] stacktrace
The C:\Users\Gili\Documents\method\trunk\adcaster\administrator\source folder is a source root of a j2se project, right?
source root on boot classpath? It is strange.
Yes, it is a source directory. I have no idea why/how this ended up ona boot classpath. I just removed the old source directory and put in this new one. As far as I know, Netbeans' project properties dialog doesn't even let you set the boost classpath...
>I just removed the old source directory and put in this new one. You changed the project source root and called run project or debug, right? It seems that the source root is not yet recognized to belong to the project. Is the source folder external to the project directory?
Yes, I deleted the old source directory at "src" and added a new one at "../source" (outside the project directory). I believe I then tried running the project but I don't recall exactly.
I am not able to reproduce it even by removing the source root and setting a new (external) one. *** This issue has been marked as a duplicate of 149306 ***