java.lang.IllegalArgumentException

requirement failed: PosMoneyAmounts must be positive

Solutions on the web9774

  • requirement failed: PosMoneyAmounts must be positive
  • requirement failed: size=0 and step=0, but both must be positive
  • via Google Groups by Unknown author, 1 year ago
    requirement failed: size=0 and step=0, but both must be positive
  • Stack trace

    • java.lang.IllegalArgumentException: requirement failed: PosMoneyAmounts must be positive at scala.Predef$.require(Predef.scala:224) at example.PosMoneyAmount.<init>(EventId.scala:14) at example.PosMoneyAmount$$anonfun$4.apply(EventId.scala:18) at example.PosMoneyAmount$$anonfun$4.apply(EventId.scala:18) at com.trueaccord.scalapb.TypeMapper$$anon$1.toCustom(TypeMapper.scala:24) at example.Event.Deposit$.defaultInstance$lzycompute(Deposit.scala:71) at example.Event.Deposit$.defaultInstance(Deposit.scala:70) at example.Event.Deposit$.defaultInstance(Deposit.scala:58) at com.trueaccord.scalapb.LiteParser$.parseFrom(LiteParser.scala:9) at com.trueaccord.scalapb.GeneratedMessageCompanion$class.parseFrom(GeneratedMessageCompanion.scala:103)

    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

    Once, 10 hours ago
    Once, 1 month ago
    16 times, 3 months ago
    2 times, 8 months ago
    2 times, 10 months ago
    44 more bugmates