java.lang.NegativeArraySizeException

GitHub | xuwei-k | 3 years ago
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

    BigDecimal Arbitrary

    GitHub | 3 years ago | xuwei-k
    java.lang.NegativeArraySizeException

    Root Cause Analysis

    1. java.lang.NegativeArraySizeException

      No message provided

      at java.math.BigDecimal.bigTenToThe()
    2. Java RT
      BigDecimal.intValue
      1. java.math.BigDecimal.bigTenToThe(BigDecimal.java:3376)
      2. java.math.BigDecimal.setScale(BigDecimal.java:2406)
      3. java.math.BigDecimal.toBigInteger(BigDecimal.java:2925)
      4. java.math.BigDecimal.intValue(BigDecimal.java:3028)
      4 frames
    3. Scala
      BigDecimal.toInt
      1. scala.math.BigDecimal.intValue(BigDecimal.scala:361)
      2. scala.math.ScalaNumericAnyConversions$class.toInt(ScalaNumericConversions.scala:52)
      3. scala.math.BigDecimal.toInt(BigDecimal.scala:163)
      3 frames