Re: ObservableValue Stacktrace

2013-06-06 Thread Martin Sladecek
JavaFX should not fail in these cases, but doesn't consider that a valid state, so it always prints a warning on the stderr, for the developer to see something went wrong. Regards, -Martin On 5.6.2013 21:38, John Hendrikx wrote: Hi List, I'm getting some log messages sometimes (see at the

Re: ObservableValue Stacktrace

2013-06-06 Thread John Hendrikx
Hm, ok -- it is correct that it doesn't fail, the code runs without any problem and everything works as expected. But, what would be the way to avoid these messages in my log then? Something like: Bindings.select( Bindings.when(dataProperty().isNull()).then( ???

Re: ObservableValue Stacktrace

2013-06-06 Thread Richard Bair
I don't think we ought to print to stdout or stderr in any case in the platform. A logger is a better idea. But really I think it is unlikely that this particular message will be that useful (it will be unhelpful in just as many cases). It is not uncommon for a chain to have a null in it at