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 253279

Summary: IllegalArgumentException: file:/Users/ryan.moquin/myaccolade/modules/foundation/entities/conf is not a valid classpath entry; it must end with a slash.
Product: third-party Reporter: rmoquin <rmoquin>
Component: -- Other --Assignee: issues@third-party <issues>
Status: RESOLVED WONTFIX    
Severity: normal CC: jag
Priority: P2    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 207357
Attachments: stacktrace

Description rmoquin 2015-07-01 15:04:30 UTC
This bug was originally marked as duplicate of bug 235687, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Mac OS X

User Comments:
jag: Still scanned unopened projects

jag: This happens every time I start NetBeans, without fail

jag: Still scanning projects that it shouldn't!

jag: NetBeans is still scanning random files that are not opened projects

jag: It's scanning a symlink that points nowhere!!!  That's in a directory where there's no open project!!  Why?

jag: Still scanning projects that it shouldn't scan!

jag: Still scanning a file that it shouldn't be scanning

jag: Still scanning old closed projects and spewing

jag: !!

jag: Still scanning unopened projects

jag: scannng closed project

jag: Still inappropriatly scanning an old project

jag: starting

jag: Still scanning files it shouldn't

jag: Still scanning old projects

rmoquin: trying to deal with an sbt build/

jag: Again...

jag: Still scanning where it shouldn't!




Stacktrace: 
java.lang.IllegalArgumentException: file:/Users/ryan.moquin/myaccolade/modules/foundation/entities/conf is not a valid classpath entry; it must end with a slash.
   at org.netbeans.modules.java.classpath.SimplePathResourceImplementation.verify(SimplePathResourceImplementation.java:113)
   at org.netbeans.modules.java.classpath.SimplePathResourceImplementation.verify(SimplePathResourceImplementation.java:68)
   at org.netbeans.modules.java.classpath.SimplePathResourceImplementation.<init>(SimplePathResourceImplementation.java:131)
   at org.netbeans.spi.java.classpath.support.ClassPathSupport.createResource(ClassPathSupport.java:77)
   at org.netbeans.modules.scala.sbt.classpath.SBTClassPath$$anonfun$org$netbeans$modules$scala$sbt$classpath$SBTClassPath$$getResolvedClassPath$2.apply(SBTClassPath.java:76)
   at org.netbeans.modules.scala.sbt.classpath.SBTClassPath$$anonfun$org$netbeans$modules$scala$sbt$classpath$SBTClassPath$$getResolvedClassPath$2.apply(SBTClassPath.java:58)
Comment 1 rmoquin 2015-07-01 15:04:32 UTC
Created attachment 154459 [details]
stacktrace
Comment 2 Exceptions Reporter 2015-07-30 16:57:00 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=207357
Comment 3 Tomas Zezula 2015-08-03 15:03:46 UTC
The problem is in the Scala plugin which creates an invalid ClassPath resource (does not end with '/').
"file:/Users/ryan.moquin/myaccolade/modules/foundation/entities/conf"
Comment 4 Tomas Zezula 2015-08-03 15:06:56 UTC
I've created a bug on the NB Scala module: https://github.com/dcaoyuan/nbscala/issues/148

Closing this one as WONTFIX as it's tracked extenraly on GitHub.