java.lang.IllegalArgumentException: requirement failed: Source file '/Users/avernet/Drive/Work/Product/target/.history' does not exist.

GitHub | avernet | 3 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rp , Rafael Fischer Viola and rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    Try to restart Play
  2. 0
    samebug tip
    You're using incompatible versions of Scala and ScalaTest. If you're using Scala 2.11.x you should use ScalaTest 2.11. You can add this libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.0" % "test" to build definitions to avoid this issue.
  3. 0

    ant clean produces java.lang.IllegalArgumentException

    GitHub | 3 months ago | avernet
    java.lang.IllegalArgumentException: requirement failed: Source file '/Users/avernet/Drive/Work/Product/target/.history' does not exist.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Source file .history does not exist

    GitHub | 1 year ago | Fristi
    java.lang.IllegalArgumentException: requirement failed: Source file '<sbt-project>/.history' does not exist.
  6. 0
    samebug tip
    This bug happens from SDK 8 b117 to SDK 8 b122, try updating to 122 or further to fix it.
    via GitHub by imeredith

  1. tyson925 1 times, last 4 weeks ago
  2. poroszd 1 times, last 4 weeks ago
  3. rp 1 times, last 4 weeks ago
  4. Handemelindo 10 times, last 3 months ago
  5. richard77 9 times, last 5 months ago
3 more registered users
35 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    requirement failed: Source file '/Users/avernet/Drive/Work/Product/target/.history' does not exist.

    at scala.Predef$.require()
  2. Scala
    Predef$.require
    1. scala.Predef$.require(Predef.scala:233)
    1 frame
  3. SBT
    IO$$anonfun$move$1.apply
    1. sbt.IO$.copyFile(IO.scala:636)
    2. sbt.IO$.move(IO.scala:839)
    3. sbt.IO$$anonfun$move$1.apply(IO.scala:825)
    4. sbt.IO$$anonfun$move$1.apply(IO.scala:825)
    4 frames
  4. Scala
    List.foreach
    1. scala.Function$$anonfun$tupled$1.apply(Function.scala:77)
    2. scala.Function$$anonfun$tupled$1.apply(Function.scala:76)
    3. scala.collection.immutable.List.foreach(List.scala:318)
    3 frames
  5. SBT
    Defaults$$anonfun$projectTasks$3.apply
    1. sbt.IO$.move(IO.scala:825)
    2. sbt.Defaults$$anonfun$doClean$1.apply(Defaults.scala:748)
    3. sbt.Defaults$$anonfun$doClean$1.apply(Defaults.scala:745)
    4. sbt.IO$.withTemporaryDirectory(IO.scala:344)
    5. sbt.Defaults$.doClean(Defaults.scala:745)
    6. sbt.Defaults$$anonfun$projectTasks$3.apply(Defaults.scala:313)
    7. sbt.Defaults$$anonfun$projectTasks$3.apply(Defaults.scala:313)
    7 frames
  6. Scala
    Function1$$anonfun$compose$1.apply
    1. scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
    1 frame
  7. SBT
    $tilde$greater$$anonfun$$u2219$1.apply
    1. sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
    1 frame
  8. sbt Task system
    Transform$$anon$4.work
    1. sbt.std.Transform$$anon$4.work(System.scala:63)
    1 frame
  9. SBT
    CompletionService$$anon$2.call
    1. sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
    2. sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
    3. sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
    4. sbt.Execute.work(Execute.scala:237)
    5. sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
    6. sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
    7. sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
    8. sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
    8 frames
  10. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    6. java.lang.Thread.run(Thread.java:745)[error]
    6 frames