java.lang.AssertionError: assertion failed: <no phase>: <?>

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

    Parse a file to AST with non-interactive scala.tools.nsc.Global

    Stack Overflow | 1 year ago | Alexey Romanov
    java.lang.AssertionError: assertion failed: <no phase>: <?>
  2. 0

    Parsing Scala source with scala.tools.nsc.Global

    Stack Overflow | 2 years ago
    java.lang.AssertionError: assertion failed: TypeHistory(<no phase>:0,<?>,null)

    Root Cause Analysis

    1. java.lang.AssertionError

      assertion failed: <no phase>: <?>

      at scala.reflect.internal.Symbols$TypeHistory.<init>()
    2. Scala
      Mirrors$Roots.EmptyPackageClass
      1. scala.reflect.internal.Symbols$TypeHistory.<init>(Symbols.scala:3667)
      2. scala.reflect.internal.Symbols$Symbol.info_$eq(Symbols.scala:1509)
      3. scala.reflect.internal.Symbols$TypeSymbol.info_$eq(Symbols.scala:3099)
      4. scala.reflect.internal.Symbols$Symbol.setInfo(Symbols.scala:1515)
      5. scala.reflect.internal.Mirrors$Roots$RootClass.<init>(Mirrors.scala:307)
      6. scala.reflect.internal.Mirrors$Roots.RootClass$lzycompute(Mirrors.scala:321)
      7. scala.reflect.internal.Mirrors$Roots.RootClass(Mirrors.scala:321)
      8. scala.reflect.internal.Mirrors$Roots$EmptyPackageClass.<init>(Mirrors.scala:330)
      9. scala.reflect.internal.Mirrors$Roots.EmptyPackageClass$lzycompute(Mirrors.scala:336)
      10. scala.reflect.internal.Mirrors$Roots.EmptyPackageClass(Mirrors.scala:336)
      10 frames