daveray/seesaw — Issue #67: Stack overflow when calling text
Author: dpx-infinity
Created: 2011-12-08 06:50:56+00:00
State: open

Stack overflow occurs when applying text function to combobox. I know I must use selection instead, but I still think it is an error. I think It should show something like "Unable to apply text to combobox" instead of confusing stack overflow.

user=> (text (combobox :model [1 2 3]))
StackOverflowError seesaw.core/eval2730/fn--2731/G--2719--2736 (core.clj:599)

user=> (try (text (combobox :model [1 2 3])) (catch Error e (.printStackTrace e)))
java.lang.StackOverflowError
at seesaw.to_widget$eval369$fn__370$G__360__375.invoke(to_widget.clj:16)
at seesaw.core$to_widget.invoke(core.clj:188)
at seesaw.core$eval2790$fn__2791.invoke(core.clj:606)
at seesaw.core$eval2730$fn__2731$G__2719__2736.invoke(core.clj:599)
at seesaw.core$eval2790$fn__2791.invoke(core.clj:606)
at seesaw.core$eval2730$fn__2731$G__2719__2736.invoke(core.clj:599)
at seesaw.core$eval2790$fn__2791.invoke(core.clj:606)
at seesaw.core$eval2730$fn__2731$G__2719__2736.invoke(core.clj:599)
at seesaw.core$eval2790$fn__2791.invoke(core.clj:606)
......