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

GitHub | nkavian | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 45#120652788

    GitHub | 2 years ago | nkavian
    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

    Root Cause Analysis

    1. 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()
    2. Java Tools
      JavacFileManager.setLocation
      1. com.sun.tools.javac.file.JavacFileManager.getOutputDirectory(JavacFileManager.java:840)
      2. com.sun.tools.javac.file.JavacFileManager.setLocation(JavacFileManager.java:820)
      2 frames
    3. Cofoja
      AnnotationProcessor.process
      1. com.google.java.contract.core.apt.ContractJavaFileManager.setLocation(ContractJavaFileManager.java:124)
      2. com.google.java.contract.core.apt.ContractJavaCompiler.setClassOutputDirectory(ContractJavaCompiler.java:120)
      3. com.google.java.contract.core.apt.ContractJavaCompiler.<init>(ContractJavaCompiler.java:86)
      4. com.google.java.contract.core.apt.AnnotationProcessor.process(AnnotationProcessor.java:184)
      4 frames
    4. Java Tools
      JavacTaskImpl.call
      1. com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:793)
      2. com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:722)
      3. com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1700(JavacProcessingEnvironment.java:97)
      4. com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1029)
      5. com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1163)
      6. com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1108)
      7. com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824)
      8. com.sun.tools.javac.main.Main.compile(Main.java:439)
      9. com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:132)
      9 frames
    5. org.jetbrains.jps
      JavacMain.compile
      1. org.jetbrains.jps.javac.JavacMain.compile(JavacMain.java:167)
      1 frame
    6. JetBrains jps
      SharedThreadPoolImpl$1.run
      1. org.jetbrains.jps.incremental.java.JavaBuilder.compileJava(JavaBuilder.java:364)
      2. org.jetbrains.jps.incremental.java.JavaBuilder.compile(JavaBuilder.java:276)
      3. org.jetbrains.jps.incremental.java.JavaBuilder.doBuild(JavaBuilder.java:190)
      4. org.jetbrains.jps.incremental.java.JavaBuilder.build(JavaBuilder.java:162)
      5. org.jetbrains.jps.incremental.IncProjectBuilder.runModuleLevelBuilders(IncProjectBuilder.java:1018)
      6. org.jetbrains.jps.incremental.IncProjectBuilder.runBuildersForChunk(IncProjectBuilder.java:742)
      7. org.jetbrains.jps.incremental.IncProjectBuilder.buildTargetsChunk(IncProjectBuilder.java:790)
      8. org.jetbrains.jps.incremental.IncProjectBuilder.buildChunkIfAffected(IncProjectBuilder.java:705)
      9. org.jetbrains.jps.incremental.IncProjectBuilder.buildChunks(IncProjectBuilder.java:526)
      10. org.jetbrains.jps.incremental.IncProjectBuilder.runBuild(IncProjectBuilder.java:314)
      11. org.jetbrains.jps.incremental.IncProjectBuilder.build(IncProjectBuilder.java:179)
      12. org.jetbrains.jps.cmdline.BuildRunner.runBuild(BuildRunner.java:129)
      13. org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:220)
      14. org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:112)
      15. org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler$1.run(BuildMain.java:132)
      16. org.jetbrains.jps.service.impl.SharedThreadPoolImpl$1.run(SharedThreadPoolImpl.java:41)
      16 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames