java.lang.ClassCastException: java.lang.Float cannot be cast to java.lang.Double

GitHub | lveci | 2 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

    GitHub comment 27#71220386

    GitHub | 2 years ago | lveci
    java.lang.ClassCastException: java.lang.Float cannot be cast to java.lang.Double

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Float cannot be cast to java.lang.Double

      at java.lang.Double.compareTo()
    2. Java RT
      SpinnerNumberModel.<init>
      1. java.lang.Double.compareTo(Double.java:49)
      2. javax.swing.SpinnerNumberModel.<init>(SpinnerNumberModel.java:123)
      2 frames
    3. org.esa.beam
      ProductSubsetDialog.createSpatialSubsetPane
      1. org.esa.beam.framework.ui.UIUtils.createSpinner(UIUtils.java:481)
      2. org.esa.beam.framework.ui.UIUtils.createSpinner(UIUtils.java:389)
      3. org.esa.beam.framework.ui.product.ProductSubsetDialog$SpatialSubsetPane.createGeoCoordinatesPane(ProductSubsetDialog.java:658)
      4. org.esa.beam.framework.ui.product.ProductSubsetDialog$SpatialSubsetPane.createUI(ProductSubsetDialog.java:594)
      5. org.esa.beam.framework.ui.product.ProductSubsetDialog$SpatialSubsetPane.<init>(ProductSubsetDialog.java:521)
      6. org.esa.beam.framework.ui.product.ProductSubsetDialog$SpatialSubsetPane.<init>(ProductSubsetDialog.java:495)
      7. org.esa.beam.framework.ui.product.ProductSubsetDialog.createSpatialSubsetPane(ProductSubsetDialog.java:403)
      7 frames