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 192349

Summary: IllegalArgumentException: Invalid ClassPath root: file:/tmp/JA1/build/classes/. The root must be a folder.
Product: platform Reporter: Tomas Danek <musilt2>
Component: FilesystemsAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 171644
Attachments: stacktrace

Description Tomas Danek 2010-11-23 16:09:50 UTC
Build: NetBeans IDE 6.9.1 (Build 201011082200)
VM: Java HotSpot(TM) Client VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b04
OS: Linux

User Comments:
musilt2: did some refacoring on foo project. if stacktrace is not helpful, feel free to close.

GUEST: Clean and Build Main Project

GUEST: Renaming folders

GUEST: Trying to move main class to another package...

GUEST: Remote debugging




Stacktrace: 
java.lang.IllegalArgumentException: Invalid ClassPath root: file:/tmp/JA1/build/classes/. The root must be a folder.
   at org.netbeans.api.java.classpath.ClassPath$Entry.getRoot(ClassPath.java:734)
   at org.netbeans.api.java.classpath.ClassPath.createRoots(ClassPath.java:283)
   at org.netbeans.api.java.classpath.ClassPath.getRoots(ClassPath.java:266)
   at org.netbeans.modules.java.source.ant.ProjectRunnerImpl.computeProperties(ProjectRunnerImpl.java:230)
   at org.netbeans.modules.java.source.ant.ProjectRunnerImpl.execute(ProjectRunnerImpl.java:119)
   at org.netbeans.api.java.project.runner.JavaRunner.execute(JavaRunner.java:273)
Comment 1 Tomas Danek 2010-11-23 16:09:53 UTC
Created attachment 103252 [details]
stacktrace
Comment 2 Tomas Zezula 2010-11-24 08:55:50 UTC

*** This bug has been marked as a duplicate of bug 192088 ***