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.
This bug was originally marked as duplicate of bug 202858, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201408050001) VM: Java HotSpot(TM) 64-Bit Server VM, 24.65-b04, Java(TM) SE Runtime Environment, 1.7.0_67-b01 OS: Mac OS X User Comments: GUEST: Samba share to Netbeans Project PHP running on Macbook Pro. Application left idle for 30 mins. Stacktrace: java.lang.IllegalArgumentException at org.netbeans.api.java.classpath.ClassPath.<init>(ClassPath.java:409) at org.netbeans.api.java.classpath.ClassPath.<init>(ClassPath.java:115) at org.netbeans.api.java.classpath.ClassPath$1.createClassPath(ClassPath.java:120) at org.netbeans.spi.java.classpath.ClassPathFactory.createClassPath(ClassPathFactory.java:69) at org.netbeans.spi.java.classpath.support.ClassPathSupport.createProxyClassPath(ClassPathSupport.java:197) at org.netbeans.modules.php.project.classpath.ClassPathProviderImpl.getSourcePath(ClassPathProviderImpl.java:242)
Created attachment 148640 [details] stacktrace
Caused: java.lang.IllegalArgumentException: file:/Users/chima.ijeoma/NetBeansProjects/lewa/../../../../Volumes/lewa/system/app/tests/ is not a valid classpath entry; it cannot contain current or parent dir reference. From: org.netbeans.modules.php.project.classpath.SourcePathImplementation$FilteringPathResource
(In reply to Tomas Zezula from comment #2) > it cannot contain current or parent dir reference. Please, Tome, what does this mean exactly? That the classpath cannot contain "../"? Or something else? Thanks.
Yes, CP root has to be normalized. (No .. or .)
Should be fixed now I guess. Thanks. http://hg.netbeans.org/web-main/rev/ab02163d9d66
Likely better fix. http://hg.netbeans.org/web-main/rev/2220dbec564c
Integrated into 'main-silver', will be available in build *201504030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/ab02163d9d66 User: Tomas Mysik <tmysik@netbeans.org> Log: #246390 - IllegalArgumentException at org.netbeans.api.java.classpath.ClassPath.<init>
*** Bug 251936 has been marked as a duplicate of this bug. ***