org.scalameta.invariants.InvariantFailedException: invariant failed: when verifying ScalametaTokenizer.this.input.chars.apply(curr.endOffset.+(1)).==('\"') found that ScalametaTokenizer.this.input.chars.apply(curr.endOffset.+(1)) is not equal to '\"' where ScalametaTokenizer = scala.meta.internal.tokenizers.ScalametaTokenizer@334ebcaa

GitHub | johannegger | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Exception on calling .parse[Source]

    GitHub | 9 months ago | johannegger
    org.scalameta.invariants.InvariantFailedException: invariant failed: when verifying ScalametaTokenizer.this.input.chars.apply(curr.endOffset.+(1)).==('\"') found that ScalametaTokenizer.this.input.chars.apply(curr.endOffset.+(1)) is not equal to '\"' where ScalametaTokenizer = scala.meta.internal.tokenizers.ScalametaTokenizer@334ebcaa
  2. 0

    Malformed xml literal for matching nodes in xml node

    GitHub | 3 months ago | tgodzik
    scala.meta.tokenizers.TokenizeException: <input>:1: error: malformed xml literal value match { case <tr>{ cells @ _*}</tr> => 123} ^
  3. 0

    scalafmt fails when using html

    GitHub | 5 months ago | visox
    java.lang.IncompatibleClassChangeError: Found class fastparse.core.Parser, but interface was expected
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    scalafmt fails when using html

    GitHub | 5 months ago | visox
    java.lang.IncompatibleClassChangeError: Found class fastparse.core.Parser, but interface was expected
  6. 0

    InvariantFailedException?

    GitHub | 6 months ago | DavidDudson
    org.scalameta.invariants.InvariantFailedException: invariant failed: when verifying pats.forall(((x$14: scala.meta.Pat) => scala.meta.classifiers.`package`.XtensionClassifiable[scala.meta.Pat](x$14)(scala.meta.Tree.classifiable[scala.meta.Pat]).is[Term.Name](Term.this.Name.ClassifierClass[scala.meta.Pat]).`unary_!`)) found that pats.forall(((x$14: scala.meta.Pat) => scala.meta.classifiers.`package`.XtensionClassifiable[scala.meta.Pat](x$14)(scala.meta.Tree.classifiable[scala.meta.Pat]).is[Term.Name](Term.this.Name.ClassifierClass[scala.meta.Pat]).`unary_!`)) is false where Term = scala.meta.Term$@136c21a6 where pats = List(stateInitial)

    Root Cause Analysis

    1. org.scalameta.invariants.InvariantFailedException

      invariant failed: when verifying ScalametaTokenizer.this.input.chars.apply(curr.endOffset.+(1)).==('\"') found that ScalametaTokenizer.this.input.chars.apply(curr.endOffset.+(1)) is not equal to '\"' where ScalametaTokenizer = scala.meta.internal.tokenizers.ScalametaTokenizer@334ebcaa

      at org.scalameta.invariants.InvariantFailedException$.raise()
    2. org.scalameta.invariants
      InvariantFailedException$.raise
      1. org.scalameta.invariants.InvariantFailedException$.raise(Exceptions.scala:15)
      1 frame
    3. scala.meta.internal
      ScalametaTokenizer$$anon$2.apply
      1. scala.meta.internal.tokenizers.ScalametaTokenizer.emitContents$1(ScalametaTokenizer.scala:222)
      2. scala.meta.internal.tokenizers.ScalametaTokenizer.loop$1(ScalametaTokenizer.scala:231)
      3. scala.meta.internal.tokenizers.ScalametaTokenizer.uncachedTokenize(ScalametaTokenizer.scala:246)
      4. scala.meta.internal.tokenizers.ScalametaTokenizer.tokenize(ScalametaTokenizer.scala:34)
      5. scala.meta.internal.tokenizers.ScalametaTokenizer$$anon$2.apply(ScalametaTokenizer.scala:262)
      5 frames
    4. scala.meta.tokenizers
      Api$XtensionTokenizeInputLike.tokenize
      1. scala.meta.tokenizers.Api$XtensionTokenizeDialectInput.tokenize(Api.scala:23)
      2. scala.meta.tokenizers.Api$XtensionTokenizeInputLike.tokenize(Api.scala:12)
      2 frames
    5. scala.meta.internal
      ScalametaParser$$anon$190.apply
      1. scala.meta.internal.parsers.ScalametaParser.scannerTokens$lzycompute(ScalametaParser.scala:204)
      2. scala.meta.internal.parsers.ScalametaParser.scannerTokens(ScalametaParser.scala:204)
      3. scala.meta.internal.parsers.ScalametaParser.<init>(ScalametaParser.scala:165)
      4. scala.meta.internal.parsers.ScalametaParser$$anon$190.apply(ScalametaParser.scala:3596)
      4 frames
    6. scala.meta.parsers
      Api$XtensionParseInputLike.parse
      1. scala.meta.parsers.Api$XtensionParseDialectInput.parse(Api.scala:21)
      2. scala.meta.parsers.Api$XtensionParseInputLike.parse(Api.scala:10)
      2 frames