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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by lveci
, 1 year ago
java.lang.Float cannot be cast to java.lang.Double
via Google Groups by Roedy Green, 5 months ago
java.lang.Integer cannot be cast to java.lang.Double
via Coderanch by Knute Snortum, 1 year ago
java.lang.Integer cannot be cast to java.lang.Double
via mobac by brainsail
, 1 year ago
java.lang.Integer cannot be cast to java.lang.Double
via mobac by havo
, 1 year ago
java.lang.Integer cannot be cast to java.lang.Double●●●●●●
via YouTrack by Unknown author, 2 years ago
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.(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.(ProductSubsetDialog.java:521)
at org.esa.beam.framework.ui.product.ProductSubsetDialog$SpatialSubsetPane.(ProductSubsetDialog.java:495)
at org.esa.beam.framework.ui.product.ProductSubsetDialog.createSpatialSubsetPane(ProductSubsetDialog.java:403)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.