java.lang.ClassCastException: java.lang.Integer 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 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, 1 year ago
via YouTrack by Unknown author, 1 year ago
via YouTrack by Unknown author, 1 year ago
via YouTrack by Unknown author, 1 year ago
java.lang.Long cannot be cast to java.lang.Double
java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Double●●●●●●
at java.lang.Double.compareTo(Double.java:32)
at javax.swing.SpinnerNumberModel.incrValue(SpinnerNumberModel.java:332)
at javax.swing.SpinnerNumberModel.getPreviousValue(SpinnerNumberModel.java:371)
at javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState(BasicSpinnerUI.java:489)
at javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState(BasicSpinnerUI.java:470)
at javax.swing.plaf.basic.BasicSpinnerUI.access$200(BasicSpinnerUI.java:33)
at javax.swing.plaf.basic.BasicSpinnerUI$Handler.stateChanged(BasicSpinnerUI.java:1047)
at javax.swing.JSpinner.fireStateChanged(JSpinner.java:434)
at javax.swing.JSpinner$ModelListener.stateChanged(JSpinner.java:361)
at javax.swing.AbstractSpinnerModel.fireStateChanged(AbstractSpinnerModel.java:102)
at javax.swing.SpinnerNumberModel.setMaximum(SpinnerNumberModel.java:247)
at mobac.gui.settings.SettingsGUIPaper.setModel(SettingsGUIPaper.java:58)
at mobac.gui.settings.SettingsGUIPaper.setUnitSystem(SettingsGUIPaper.java:381)
at mobac.gui.settings.SettingsGUIPaper.(SettingsGUIPaper.java:128)
at mobac.gui.settings.SettingsGUI.(SettingsGUI.java:158)
at mobac.gui.settings.SettingsGUI.(SettingsGUI.java:89)
at mobac.gui.settings.SettingsGUI$1.run(SettingsGUI.java:164)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:602)
at java.awt.EventQueue$1.run(EventQueue.java:600)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
at mobac.utilities.GUIExceptionHandler$EventQueueProxy.dispatchEvent(GUIExceptionHandler.java:301)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

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