java.lang.ClassCastException: java.lang.Double cannot be cast to java.math.BigDecimal

GitHub | alanfx | 5 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

    ClassCastException in org.radargun.utils.Fuzzy.next

    GitHub | 5 months ago | alanfx
    java.lang.ClassCastException: java.lang.Double cannot be cast to java.math.BigDecimal
  2. 0

    find substring index in array using Java

    Stack Overflow | 3 years ago | user25976
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Character
  3. 0

    Pressing escape on the plugin update dialog throws an exception

    GitHub | 1 year ago | matthewhorridge
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [jira] [Closed] (AMQ-6053) java.lang.ClassCastException while removing the inactive durable subscriber

    activemq-issues | 1 year ago | Timothy Bish (JIRA)
    java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
  6. 0

    Searching an array of arrays.

    Oracle Community | 1 decade ago | 807597
    java.lang.ClassCastException: [Ljava.lang.String;
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassCastException

    java.lang.Double cannot be cast to java.math.BigDecimal

    at java.math.BigDecimal.compareTo()
  2. Java RT
    Arrays.binarySearch
    1. java.math.BigDecimal.compareTo(BigDecimal.java:220)
    2. java.util.Arrays.binarySearch0(Arrays.java:2439)
    3. java.util.Arrays.binarySearch(Arrays.java:2379)
    3 frames
  3. org.radargun.utils
    Fuzzy.next
    1. org.radargun.utils.Fuzzy.next(Fuzzy.java:67)
    1 frame
  4. org.radargun.stages
    LegacyStressor.run
    1. org.radargun.stages.cache.test.legacy.KeyExpirationTestStage$Logic.run(KeyExpirationTestStage.java:169)
    2. org.radargun.stages.test.legacy.LegacyStressor.runInternal(LegacyStressor.java:108)
    3. org.radargun.stages.test.legacy.LegacyStressor.run(LegacyStressor.java:65)
    3 frames