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.

Bug 153084 - AssertionError: File: C:\Users\Gili\Documents\method\trunk\adcaster\administrator\source Path Type: classpath/boot Owner: ClassPathProviders: org.netbeans.modules.java.project.ProjectClassPathProv
Summary: AssertionError: File: C:\Users\Gili\Documents\method\trunk\adcaster\administr...
Status: RESOLVED DUPLICATE of bug 149306
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Zezula
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-12 22:17 UTC by _ gtzabari
Modified: 2009-09-30 12:02 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 138927


Attachments
stacktrace (3.29 KB, text/plain)
2008-11-12 22:18 UTC, _ gtzabari
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2008-11-12 22:17:58 UTC
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)
Comment 1 _ gtzabari 2008-11-12 22:18:07 UTC
Created attachment 73703 [details]
stacktrace
Comment 2 Tomas Zezula 2008-11-13 08:30:03 UTC
The C:\Users\Gili\Documents\method\trunk\adcaster\administrator\source folder is a source root of a j2se project, right?
Comment 3 Jan Becicka 2008-11-13 16:11:41 UTC
source root on boot classpath? It is strange.
Comment 4 _ gtzabari 2008-11-13 16:33:40 UTC
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...
Comment 5 Tomas Zezula 2008-11-13 16:55:53 UTC
>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?

Comment 6 _ gtzabari 2008-11-13 16:58:25 UTC
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.
Comment 7 Tomas Zezula 2009-09-30 12:02:47 UTC
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 ***