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

NPE is JavaFX Task

2015-05-27 Thread Peter Penzov
Hi All, I have a question about a issue that I have with JavaFX Task. I'm using the code from this example to display progress bar in TabPane when I click on TreeView Node: http://stackoverflow.com/questions/22803845/loading-logic-for-javafx-task For some reason when I click multiple times on