java.lang.ClassCastException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19021

  • java.lang.Float cannot be cast to java.lang.Double
  • via GitHub by samuliheljo
    , 8 months ago
    java.lang.Float cannot be cast to java.lang.Double
  • via tagwith.com by Unknown author, 1 year ago
    java.lang.Double cannot be cast to java.lang.Float
  • Stack trace

    • java.lang.ClassCastException: java.lang.Float cannot be cast to java.lang.Double at java.lang.Double.compareTo(Double.java:49) at javax.swing.SpinnerNumberModel.<init>(SpinnerNumberModel.java:123) at org.esa.beam.framework.ui.UIUtils.createSpinner(UIUtils.java:481) at org.esa.beam.framework.ui.UIUtils.createSpinner(UIUtils.java:389) at org.esa.beam.framework.ui.product.ProductSubsetDialog$SpatialSubsetPane.createGeoCoordinatesPane(ProductSubsetDialog.java:658) at org.esa.beam.framework.ui.product.ProductSubsetDialog$SpatialSubsetPane.createUI(ProductSubsetDialog.java:594) at org.esa.beam.framework.ui.product.ProductSubsetDialog$SpatialSubsetPane.<init>(ProductSubsetDialog.java:521) at org.esa.beam.framework.ui.product.ProductSubsetDialog$SpatialSubsetPane.<init>(ProductSubsetDialog.java:495) at org.esa.beam.framework.ui.product.ProductSubsetDialog.createSpatialSubsetPane(ProductSubsetDialog.java:403)

    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

    Unknown user
    Once, 10 months ago