Re: NPE is JavaFX Task

2015-05-27 Thread Kevin Rushforth
This is due to a concurrency bug in CSS StyleManager class: https://javafx-jira.kenai.com/browse/RT-40417 It is currently not thread-safe, but it needs to be given that controls may be constructed on arbitrary threads. I plan to start working on this bug later this week and will use your exa

Re: NPE is JavaFX Task

2015-05-27 Thread Peter Penzov
Update: Same result with this code: public void addNewTab(DynamicTreeNodeModel nodeModel) { final Tab tab = new Tab(); final ProgressBar progressBar = new ProgressBar(); final Task loadDataTask = new Task() { @Override public BorderPane