scala.MatchError: cache:publish-m2-local: /Users/dnw/.m2/repository (of class sbt.librarymanagement.MavenCache)

GitHub | dwijnand | 5 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael , rp and Rafael Fischer Viola . Or join the community to write better ones.
  1. 0

    Match errors due to changes in MavenRepository and MavenCache class hierarchy

    GitHub | 5 months ago | dwijnand
    scala.MatchError: cache:publish-m2-local: /Users/dnw/.m2/repository (of class sbt.librarymanagement.MavenCache)
  2. 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
  3. 0
    samebug tip
    Try to restart Play
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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.
  6. 0

    StringIndexOutOfBoundsException on both tree and graph

    GitHub | 4 years ago | hedefalk
    java.lang.StringIndexOutOfBoundsException: String index out of range: 168

    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. scala.MatchError

      cache:publish-m2-local: /Users/dnw/.m2/repository (of class sbt.librarymanagement.MavenCache)

      at sbt.internal.librarymanagement.ConvertResolver$$anonfun$defaultConvert$1.applyOrElse()
    2. sbt.internal.librarymanagement
      ConvertResolver$$anonfun$defaultConvert$1.applyOrElse
      1. sbt.internal.librarymanagement.ConvertResolver$$anonfun$defaultConvert$1.applyOrElse(ConvertResolver.scala:117)
      2. sbt.internal.librarymanagement.ConvertResolver$$anonfun$defaultConvert$1.applyOrElse(ConvertResolver.scala:115)
      2 frames
    3. Scala
      AbstractPartialFunction.apply
      1. scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:36)
      1 frame
    4. sbt.internal.librarymanagement
      IvySbt$$anonfun$mapResolvers$1$1.apply
      1. sbt.internal.librarymanagement.ConvertResolver$.apply(ConvertResolver.scala:112)
      2. sbt.internal.librarymanagement.IvySbt$$anonfun$mapResolvers$1$1.apply(Ivy.scala:279)
      3. sbt.internal.librarymanagement.IvySbt$$anonfun$mapResolvers$1$1.apply(Ivy.scala:279)
      3 frames
    5. Scala
      AbstractTraversable.map
      1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
      2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
      3. scala.collection.Iterator$class.foreach(Iterator.scala:893)
      4. scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
      5. scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
      6. scala.collection.AbstractIterable.foreach(Iterable.scala:54)
      7. scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
      8. scala.collection.AbstractTraversable.map(Traversable.scala:104)
      8 frames
    6. sbt.internal.librarymanagement
      IvySbt$.mapResolvers$1
      1. sbt.internal.librarymanagement.IvySbt$.mapResolvers$1(Ivy.scala:279)
      1 frame