java.lang.AssertionError

assertion failed: number 221 too large to fit in 1 bytes

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web4719

  • via GitHub by odersky
    , 9 months ago
    assertion failed: number 221 too large to fit in 1 bytes
  • assertion failed: Number of eigenvariables different from number of terms in computation of canonical solution
  • assertion failed: Users > 1
  • Stack trace

    • java.lang.AssertionError: assertion failed: number 221 too large to fit in 1 bytes at scala.Predef$.assert(Predef.scala:165) at dotty.tools.dotc.core.tasty.TastyBuffer.putNat(TastyBuffer.scala:129) at dotty.tools.dotc.core.tasty.NameBuffer.withLength(NameBuffer.scala:48) at dotty.tools.dotc.core.tasty.NameBuffer.pickleName(NameBuffer.scala:66) at dotty.tools.dotc.core.tasty.NameBuffer$$anonfun$assemble$2.apply(NameBuffer.scala:89) at dotty.tools.dotc.core.tasty.NameBuffer$$anonfun$assemble$2.apply(NameBuffer.scala:86) at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:778) at scala.collection.mutable.LinkedHashMap.foreach(LinkedHashMap.scala:139) at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:777) at dotty.tools.dotc.core.tasty.NameBuffer.assemble(NameBuffer.scala:86) at dotty.tools.dotc.core.tasty.TastyPickler.dotty$tools$dotc$core$tasty$TastyPickler$$lengthWithLength$1(TastyPickler.scala:36) at dotty.tools.dotc.core.tasty.TastyPickler.assembleParts(TastyPickler.scala:41) at dotty.tools.backend.jvm.GenBCodePipeline$Worker1$$anonfun$visit$1.apply(GenBCode.scala:207) at dotty.tools.backend.jvm.GenBCodePipeline$Worker1$$anonfun$visit$1.apply(GenBCode.scala:206) at scala.Option.foreach(Option.scala:257) at dotty.tools.backend.jvm.GenBCodePipeline$Worker1.visit(GenBCode.scala:206) at dotty.tools.backend.jvm.GenBCodePipeline$Worker1.run(GenBCode.scala:154) at dotty.tools.backend.jvm.GenBCodePipeline.buildAndSendToDisk(GenBCode.scala:358) at dotty.tools.backend.jvm.GenBCodePipeline.run(GenBCode.scala:324) at dotty.tools.backend.jvm.GenBCode.run(GenBCode.scala:56) at dotty.tools.dotc.core.Phases$Phase$$anonfun$runOn$1.apply(Phases.scala:276) at dotty.tools.dotc.core.Phases$Phase$$anonfun$runOn$1.apply(Phases.scala:274) at scala.collection.immutable.List.map(List.scala:273) at dotty.tools.dotc.core.Phases$Phase$class.runOn(Phases.scala:274) at dotty.tools.backend.jvm.GenBCode.runOn(GenBCode.scala:40) at dotty.tools.dotc.Run$$anonfun$compileUnits$1$$anonfun$apply$mcV$sp$1.apply(Run.scala:69) at dotty.tools.dotc.Run$$anonfun$compileUnits$1$$anonfun$apply$mcV$sp$1.apply(Run.scala:66) at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33) at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186) at dotty.tools.dotc.Run$$anonfun$compileUnits$1.apply$mcV$sp(Run.scala:66) at dotty.tools.dotc.Run$$anonfun$compileUnits$1.apply(Run.scala:60) at dotty.tools.dotc.Run$$anonfun$compileUnits$1.apply(Run.scala:60) at dotty.tools.dotc.util.Stats$.monitorHeartBeat(Stats.scala:69) at dotty.tools.dotc.Run.compileUnits(Run.scala:60) at dotty.tools.dotc.Run.compileSources(Run.scala:57) at dotty.tools.dotc.Run.compile(Run.scala:41) at dotty.tools.dotc.Driver.doCompile(Driver.scala:26) at dotty.tools.dotc.Driver.process(Driver.scala:124) at dotty.tools.dotc.Driver.process(Driver.scala:93) at dotty.tools.dotc.Driver.process(Driver.scala:105) at dotty.tools.dotc.Driver.main(Driver.scala:132) at dotty.tools.dotc.Main.main(Main.scala)

    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

    9 times, 3 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 2 years ago
    753 times, 4 weeks ago
    3 times, 1 month ago
    19 more bugmates