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 158690

Summary: IllegalArgumentException: Invalid ClassPath root: file:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/rhino.jar/. The root must be a folder.
Product: java Reporter: zhykos <zhykos>
Component: SourceAssignee: Rastislav Komara <moonko>
Status: RESOLVED WONTFIX    
Severity: blocker CC: ieising, ronniespike
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=146444
Issue Type: DEFECT Exception Reporter: 146444
Attachments: stacktrace
stacktrace
stacktrace
stacktrace

Description zhykos 2009-02-17 16:54:02 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: OpenJDK Client VM, 1.6.0_0-b11, OpenJDK  Runtime Environment, 1.6.0_0-b11
OS: Linux, 2.6.27.10-desktop-1mnb, i386

User Comments:
zhykos: Opening a new file which is in a maven project.



Stacktrace: 
java.lang.IllegalArgumentException: Invalid ClassPath root: file:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/rhino.jar/. The root must be a folder.
        at org.netbeans.api.java.classpath.ClassPath$Entry.getRoot(ClassPath.java:686)
        at org.netbeans.api.java.classpath.ClassPath.createRoots(ClassPath.java:271)
        at org.netbeans.api.java.classpath.ClassPath.getRoots(ClassPath.java:252)
        at org.netbeans.api.java.classpath.ClassPath.findAllResources(ClassPath.java:376)
        at org.netbeans.api.java.source.SourceUtils.getFile(SourceUtils.java:393)
        at org.netbeans.api.java.source.SourceUtils.getFile(SourceUtils.java:356)
Comment 1 zhykos 2009-02-17 16:54:07 UTC
Created attachment 77083 [details]
stacktrace
Comment 2 Rastislav Komara 2009-03-25 10:29:00 UTC
Please provide steps to reproduce, sample project and messages.log. Thank you.
Comment 3 David Strupl 2009-03-31 15:57:42 UTC
Resolving all issues with milestone "future" as LATER. If you feel strongly that
it should be implemented please reopen and set the target milestone to "next".
Comment 4 ieising 2009-05-17 19:43:44 UTC
Build: NetBeans IDE 6.7 Beta (Build 200904242137)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows Vista, 6.0, x86

User Comments: 


Stacktrace: 
java.lang.IllegalArgumentException: Invalid ClassPath root: file:/C:/Users/iwan/.netbeans/6.7beta/var/cache/index/s102/java/13/classes/. The root must be a folder.
        at org.netbeans.api.java.classpath.ClassPath$Entry.getRoot(ClassPath.java:691)
        at org.netbeans.api.java.classpath.ClassPath.createRoots(ClassPath.java:271)
        at org.netbeans.api.java.classpath.ClassPath.getRoots(ClassPath.java:252)
        at org.netbeans.api.java.classpath.ClassPath.findAllResources(ClassPath.java:381)
        at org.netbeans.api.java.source.SourceUtils.getFile(SourceUtils.java:398)
        at org.netbeans.api.java.source.SourceUtils.getFile(SourceUtils.java:361)
Comment 5 ieising 2009-05-17 19:43:48 UTC
Created attachment 82261 [details]
stacktrace
Comment 6 ieising 2009-05-17 19:44:44 UTC
Build: NetBeans IDE 6.7 Beta (Build 200904242137)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows Vista, 6.0, x86

User Comments: 


Stacktrace: 
java.lang.IllegalArgumentException: Invalid ClassPath root: file:/C:/Users/iwan/.netbeans/6.7beta/var/cache/index/s102/java/13/classes/. The root must be a folder.
        at org.netbeans.api.java.classpath.ClassPath$Entry.getRoot(ClassPath.java:691)
        at org.netbeans.api.java.classpath.ClassPath.createRoots(ClassPath.java:271)
        at org.netbeans.api.java.classpath.ClassPath.getRoots(ClassPath.java:252)
        at org.netbeans.api.java.classpath.ClassPath.findAllResources(ClassPath.java:381)
        at org.netbeans.api.java.source.SourceUtils.getFile(SourceUtils.java:398)
        at org.netbeans.api.java.source.SourceUtils.getFile(SourceUtils.java:361)
Comment 7 ieising 2009-05-17 19:44:47 UTC
Created attachment 82262 [details]
stacktrace
Comment 8 ieising 2009-05-17 19:45:44 UTC
Build: NetBeans IDE 6.7 Beta (Build 200904242137)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows Vista, 6.0, x86

User Comments: 


Stacktrace: 
java.lang.IllegalArgumentException: Invalid ClassPath root: file:/C:/Users/iwan/.netbeans/6.7beta/var/cache/index/s102/java/13/classes/. The root must be a folder.
        at org.netbeans.api.java.classpath.ClassPath$Entry.getRoot(ClassPath.java:691)
        at org.netbeans.api.java.classpath.ClassPath.createRoots(ClassPath.java:271)
        at org.netbeans.api.java.classpath.ClassPath.getRoots(ClassPath.java:252)
        at org.netbeans.api.java.classpath.ClassPath.findAllResources(ClassPath.java:381)
        at org.netbeans.api.java.source.SourceUtils.getFile(SourceUtils.java:398)
        at org.netbeans.api.java.source.SourceUtils.getFile(SourceUtils.java:361)
Comment 9 ieising 2009-05-17 19:45:47 UTC
Created attachment 82263 [details]
stacktrace
Comment 10 Exceptions Reporter 2009-06-14 08:53:52 UTC
This issue already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=146444
Comment 11 Quality Engineering 2009-11-02 11:01:59 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX
Comment 12 Exceptions Reporter 2009-11-03 22:04:25 UTC
This issue already has 14 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=146444