java.lang.IllegalArgumentException

bad match (Fruit "banana")

Solutions on the web952

  • via Google Groups by Chris Cannam, 6 months ago
    bad match (Fruit "banana")
  • bad match (None [])
  • bad data. lengths don't match read:204 != len:205
  • Stack trace

    • java.lang.IllegalArgumentException: bad match (Fruit "banana") at yeti.lang.Core.badMatch(Core.java:216) at yertle.index$scoreIndexFor.apply(index.yeti:118) at yertle.index$scoreIndexFor.apply(index.yeti:121) at yertle.index$scoreIndexFor.apply(index.yeti:121) at yeti.lang.Fun2_.apply(Unknown Source) at yeti.lang.Compose.apply(Unknown Source) at yeti.lang.std$mapIntoHash$.apply(std.yeti:2356) at yertle.index$chooseIndex.apply(index.yeti:126) at yertle.store$match.apply(store.yeti:100) at code.apply(<>:1) at yeti.lang.compiler.eval._1(eval.yeti:98) at yeti.lang.compiler.eval.execClass(eval.yeti:76) at yeti.lang.compiler.eval$evaluateYetiCode$._0(eval.yeti:484) at yeti.lang.compiler.eval$evaluateYetiCode$.apply(eval.yeti:460) at yeti.lang.Fun2_.apply(Unknown Source) at yeti.lang.compiler.yeti.repl(yeti.yeti:59) at yeti.lang.compiler.yeti.main(yeti.yeti:217)

    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

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.