InvocationTargetException when binding to custom class run by JavaFX Concurrent Task
问题 I'm getting InvocationTargetException and NullPointerException when attempting to bind to custom class run by Task. I have working examples of binding to library classes ObeservableList, Long, Integer etc but now need to bind to values of custom class. I created TaskOutput class that includes StringProperty for binding purposes as follows: public class TaskOutput { private final StringProperty textValue = new SimpleStringProperty(); public TaskOutput(String textValue) { this.textValue.set