Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clicking Preferences always crashes #35

Closed
GoogleCodeExporter opened this issue Mar 15, 2015 · 3 comments
Closed

Clicking Preferences always crashes #35

GoogleCodeExporter opened this issue Mar 15, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Click "Preferences"

What is the expected output? What do you see instead?

What I see is this:
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException:
java.lang.Float 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:1
047)
    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.setValue(SpinnerNumberModel.java:430)
    at javax.swing.JSpinner.setValue(JSpinner.java:329)
    at
figtree.application.preferences.AppearancePreferencesSection.retrievePreferences
(Unknown
Source)
    at jam.preferences.PreferencesDialog.showDialog(Unknown Source)
    at jam.framework.Application.doPreferences(Unknown Source)
    at jam.framework.Application$7.actionPerformed(Unknown Source)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
    at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.jav
a:1266)
    at java.awt.Component.processMouseEvent(Component.java:6263)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6028)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4630)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4460)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2475)
    at java.awt.Component.dispatchEvent(Component.java:4460)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    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)


What version of the product are you using? On what operating system?
- Sun java compiler, 64-bit Linux

Please provide any additional information below.


Original issue reported on code.google.com by benjamin...@gmail.com on 14 Oct 2009 at 3:55

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Patch fixes bug in preferences dialogue.

This patch allows me to open the preferences dialog on Linux.

Original comment by benjamin...@gmail.com on 18 Dec 2009 at 7:58

Attachments:

@GoogleCodeExporter
Copy link
Author

Original comment by ramb...@gmail.com on 30 May 2012 at 8:55

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant