#25 Exception: Cannot open codebase filesystem

3.0.0
wont-fix
None
4
2015-02-06
2013-12-18
No

Hi, we have a little problem here with findbugs. Actually it stops with an exception without actually reporting a bug other than the error itself. It is this one:

 [java] The following errors occurred during analysis:
 [java] 18.12.2013 15:15:37 edu.umd.cs.findbugs.TextUIBugReporter reportAnalysisError
 [java] SCHWERWIEGEND: Cannot open codebase filesystem:C:\Users\USERNAME\.m2\repository\org\apache\sling\org.apache.sling.api\2.2.0\org.apache.sling.api-2.2.0.jarC:\Users\USERNAME\.m2\repository\org\apache\sling\org.apache.sling.jcr.api\2.1.0\org.apache.sling.jcr.api-2.1.0.jar
 [java] java.io.FileNotFoundException: File C:\Users\USERNAME\.m2\repository\org\apache\sling\org.apache.sling.api\2.2.0\org.apache.sling.api-2.2.0.jarC:\Users\USERNAME\.m2\repository\org\apache\sling\org.apache.sling.jcr.api\2.1.0\org.apache.sling.jcr.api-2.1.0.jar doesn't exist
 [java]     at edu.umd.cs.findbugs.classfile.impl.ClassFactory.createFilesystemCodeBase(ClassFactory.java:107)
 [java]     at edu.umd.cs.findbugs.classfile.impl.FilesystemCodeBaseLocator.openCodeBase(FilesystemCodeBaseLocator.java:75)
 [java]     at edu.umd.cs.findbugs.classfile.impl.ClassPathBuilder.processWorkList(ClassPathBuilder.java:596)
 [java]     at edu.umd.cs.findbugs.classfile.impl.ClassPathBuilder.build(ClassPathBuilder.java:220)
 [java]     at edu.umd.cs.findbugs.FindBugs2.buildClassPath(FindBugs2.java:779)
 [java]     at edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:217)
 [java]     at edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:391)
 [java]     at edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1298)
 [java]   Cannot open codebase filesystem:C:\Users\USERNAME\.m2\repository\org\apache\sling\org.apache.sling.api\2.2.0\org.apache.sling.api-2.2.0.jarC:\Users\USERNAME\.m2\repository\org\apache\sling\org.apache.sling.jcr.api\2.1.0\org.apache.sling.jcr.api-2.1.0.jar
 [java]     java.io.FileNotFoundException: File C:\Users\USERNAME\.m2\repository\org\apache\sling\org.apache.sling.api\2.2.0\org.apache.sling.api-2.2.0.jarC:\Users\USERNAME\.m2\repository\org\apache\sling\org.apache.sling.jcr.api\2.1.0\org.apache.sling.jcr.api-2.1.0.jar doesn't exist
 [java]       At edu.umd.cs.findbugs.classfile.impl.ClassFactory.createFilesystemCodeBase(ClassFactory.java:107)
 [java]       At edu.umd.cs.findbugs.classfile.impl.FilesystemCodeBaseLocator.openCodeBase(FilesystemCodeBaseLocator.java:75)
 [java]       At edu.umd.cs.findbugs.classfile.impl.ClassPathBuilder.processWorkList(ClassPathBuilder.java:596)
 [java]       At edu.umd.cs.findbugs.classfile.impl.ClassPathBuilder.build(ClassPathBuilder.java:220)
 [java]       At edu.umd.cs.findbugs.FindBugs2.buildClassPath(FindBugs2.java:779)
 [java]       At edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:217)
 [java]       At edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:391)
 [java]       At edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1298)

Thanks for having a look!

Regards
Daniel

Discussion

  • Andrey Loskutov

    Andrey Loskutov - 2014-06-19
    • status: open --> wont-fix
    • assigned_to: Andrey Loskutov
     
  • Andrey Loskutov

    Andrey Loskutov - 2014-06-19

    You have a typo in the project configuration: there is no separator between those two jars in the error log:

    "Cannot open codebase filesystem:C:\Users\USERNAME.m2\repository\org\apache\sling\org.apache.sling.api\2.2.0\org.apache.sling.api-2.2.0.jarC:\Users\USERNAME.m2\repository\org\apache\sling\org.apache.sling.jcr.api\2.1.0\org.apache.sling.jcr.api-2.1.0.jar"

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks