java.lang.RuntimeException

java.lang.RuntimeException: java.io.FileNotFoundException: /Users/NasK/Dropbox/Source/tmep/cofoja-example/target/classes -Acom.google.java.contract.classpath=/Users/NasK/Dropbox/Source/tmep/cofoja-example/cofoja-2.0.0.jar -Acom.google.java.contract.sourcepath=/Users/NasK/Dropbox/Source/tmep/cofoja-example/src/main/java: does not exist

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via GitHub by nkavian
    ,
  • Stack trace

    • java.lang.RuntimeException: java.lang.RuntimeException: java.io.FileNotFoundException: /Users/NasK/Dropbox/Source/tmep/cofoja-example/target/classes -Acom.google.java.contract.classpath=/Users/NasK/Dropbox/Source/tmep/cofoja-example/cofoja-2.0.0.jar -Acom.google.java.contract.sourcepath=/Users/NasK/Dropbox/Source/tmep/cofoja-example/src/main/java: does not exist at com.sun.tools.javac.main.Main.compile(Main.java:469) at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:132) at org.jetbrains.jps.javac.JavacMain.compile(JavacMain.java:167) at org.jetbrains.jps.incremental.java.JavaBuilder.compileJava(JavaBuilder.java:364) at org.jetbrains.jps.incremental.java.JavaBuilder.compile(JavaBuilder.java:276) at org.jetbrains.jps.incremental.java.JavaBuilder.doBuild(JavaBuilder.java:190) at org.jetbrains.jps.incremental.java.JavaBuilder.build(JavaBuilder.java:162) at org.jetbrains.jps.incremental.IncProjectBuilder.runModuleLevelBuilders(IncProjectBuilder.java:1018) at org.jetbrains.jps.incremental.IncProjectBuilder.runBuildersForChunk(IncProjectBuilder.java:742) at org.jetbrains.jps.incremental.IncProjectBuilder.buildTargetsChunk(IncProjectBuilder.java:790) at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunkIfAffected(IncProjectBuilder.java:705) at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunks(IncProjectBuilder.java:526) at org.jetbrains.jps.incremental.IncProjectBuilder.runBuild(IncProjectBuilder.java:314) at org.jetbrains.jps.incremental.IncProjectBuilder.build(IncProjectBuilder.java:179) at org.jetbrains.jps.cmdline.BuildRunner.runBuild(BuildRunner.java:129) at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:220) at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:112) at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler$1.run(BuildMain.java:132) at org.jetbrains.jps.service.impl.SharedThreadPoolImpl$1.run(SharedThreadPoolImpl.java:41) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /Users/NasK/Dropbox/Source/tmep/cofoja-example/target/classes -Acom.google.java.contract.classpath=/Users/NasK/Dropbox/Source/tmep/cofoja-example/cofoja-2.0.0.jar -Acom.google.java.contract.sourcepath=/Users/NasK/Dropbox/Source/tmep/cofoja-example/src/main/java: does not exist at com.google.java.contract.core.apt.AnnotationProcessor.process(AnnotationProcessor.java:189) at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:793) at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:722) at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1700(JavacProcessingEnvironment.java:97) at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1029) at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1163) at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1108) at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824) at com.sun.tools.javac.main.Main.compile(Main.java:439) ... 23 more Caused by: java.io.FileNotFoundException: /Users/NasK/Dropbox/Source/tmep/cofoja-example/target/classes -Acom.google.java.contract.classpath=/Users/NasK/Dropbox/Source/tmep/cofoja-example/cofoja-2.0.0.jar -Acom.google.java.contract.sourcepath=/Users/NasK/Dropbox/Source/tmep/cofoja-example/src/main/java: does not exist at com.sun.tools.javac.file.JavacFileManager.getOutputDirectory(JavacFileManager.java:840) at com.sun.tools.javac.file.JavacFileManager.setLocation(JavacFileManager.java:820) at com.google.java.contract.core.apt.ContractJavaFileManager.setLocation(ContractJavaFileManager.java:124) at com.google.java.contract.core.apt.ContractJavaCompiler.setClassOutputDirectory(ContractJavaCompiler.java:120) at com.google.java.contract.core.apt.ContractJavaCompiler.<init>(ContractJavaCompiler.java:86) at com.google.java.contract.core.apt.AnnotationProcessor.process(AnnotationProcessor.java:184) ... 31 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.