java.lang.IllegalStateException: Not on FX application thread; currentThread = Thread-14

GitHub | lenhard | 2 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 2290#267979341

    GitHub | 2 months ago | lenhard
    java.lang.IllegalStateException: Not on FX application thread; currentThread = Thread-15
  2. 0

    GitHub comment 34#108263523

    GitHub | 2 years ago | josteinaj
    java.lang.IllegalStateException: Not on FX application thread; currentThread = Thread-25
  3. 0

    Timer in Javafx Creating FX Thread null pointers and out of bounds exceptions

    Stack Overflow | 2 years ago | Josh
    java.lang.IllegalStateException: Not on FX application thread; currentThread = Thread-4
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java - javafx binding from another thread - Stack Overflow

    wwwblogher.com | 1 year ago
    java.lang.IllegalStateException: Not on FX application thread; currentThread = Thread-5

    14 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Not on FX application thread; currentThread = Thread-14

      at com.sun.javafx.tk.Toolkit.checkFxUserThread()
    2. com.sun.javafx
      QuantumToolkit.checkFxUserThread
      1. com.sun.javafx.tk.Toolkit.checkFxUserThread(Toolkit.java:236)[jfxrt.jar:?]
      2. com.sun.javafx.tk.quantum.QuantumToolkit.checkFxUserThread(QuantumToolkit.java:423)[jfxrt.jar:?]
      2 frames
    3. javafx.scene
      Parent$2.onProposedChange
      1. javafx.scene.Parent$2.onProposedChange(Parent.java:367)[jfxrt.jar:?]
      1 frame
    4. com.sun.javafx
      VetoableListDecorator.setAll
      1. com.sun.javafx.collections.VetoableListDecorator.setAll(VetoableListDecorator.java:113)[jfxrt.jar:?]
      2. com.sun.javafx.collections.VetoableListDecorator.setAll(VetoableListDecorator.java:108)[jfxrt.jar:?]
      2 frames
    5. FXSampler
      BehaviorSkinBase.lambda$registerChangeListener$61
      1. com.sun.javafx.scene.control.skin.LabeledSkinBase.updateChildren(LabeledSkinBase.java:575)[jfxrt.jar:?]
      2. com.sun.javafx.scene.control.skin.LabeledSkinBase.handleControlPropertyChanged(LabeledSkinBase.java:204)[jfxrt.jar:?]
      3. com.sun.javafx.scene.control.skin.ListCellSkin.handleControlPropertyChanged(ListCellSkin.java:49)[jfxrt.jar:?]
      4. com.sun.javafx.scene.control.skin.BehaviorSkinBase.lambda$registerChangeListener$61(BehaviorSkinBase.java:197)[jfxrt.jar:?]
      4 frames
    6. com.sun.javafx
      MultiplePropertyChangeListenerHandler$1.changed
      1. com.sun.javafx.scene.control.MultiplePropertyChangeListenerHandler$1.changed(MultiplePropertyChangeListenerHandler.java:55)[jfxrt.jar:?]
      1 frame
    7. javafx.beans.value
      WeakChangeListener.changed
      1. javafx.beans.value.WeakChangeListener.changed(WeakChangeListener.java:89)[jfxrt.jar:?]
      1 frame
    8. com.sun.javafx
      ExpressionHelper.fireValueChangedEvent
      1. com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:182)[jfxrt.jar:?]
      2. com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)[jfxrt.jar:?]
      2 frames
    9. javafx.beans.property
      StringProperty.setValue
      1. javafx.beans.property.StringPropertyBase.fireValueChangedEvent(StringPropertyBase.java:103)[jfxrt.jar:?]
      2. javafx.beans.property.StringPropertyBase.markInvalid(StringPropertyBase.java:110)[jfxrt.jar:?]
      3. javafx.beans.property.StringPropertyBase.set(StringPropertyBase.java:144)[jfxrt.jar:?]
      4. javafx.beans.property.StringPropertyBase.set(StringPropertyBase.java:49)[jfxrt.jar:?]
      5. javafx.beans.property.StringProperty.setValue(StringProperty.java:65)[jfxrt.jar:?]
      5 frames
    10. FXSampler
      BehaviorSkinBase.lambda$registerChangeListener$61
      1. javafx.scene.control.Labeled.setText(Labeled.java:145)[jfxrt.jar:?]
      2. com.sun.javafx.scene.control.skin.ComboBoxListViewSkin.updateDisplayText(ComboBoxListViewSkin.java:389)[jfxrt.jar:?]
      3. com.sun.javafx.scene.control.skin.ComboBoxListViewSkin.access$100(ComboBoxListViewSkin.java:57)[jfxrt.jar:?]
      4. com.sun.javafx.scene.control.skin.ComboBoxListViewSkin$2$1.updateItem(ComboBoxListViewSkin.java:425)[jfxrt.jar:?]
      5. javafx.scene.control.ListCell.updateItem(ListCell.java:471)[jfxrt.jar:?]
      6. javafx.scene.control.ListCell.indexChanged(ListCell.java:330)[jfxrt.jar:?]
      7. javafx.scene.control.IndexedCell.updateIndex(IndexedCell.java:116)[jfxrt.jar:?]
      8. com.sun.javafx.scene.control.skin.ComboBoxListViewSkin.updateDisplayNode(ComboBoxListViewSkin.java:351)[jfxrt.jar:?]
      9. com.sun.javafx.scene.control.skin.ComboBoxListViewSkin.getDisplayNode(ComboBoxListViewSkin.java:206)[jfxrt.jar:?]
      10. com.sun.javafx.scene.control.skin.ComboBoxBaseSkin.updateDisplayArea(ComboBoxBaseSkin.java:141)[jfxrt.jar:?]
      11. com.sun.javafx.scene.control.skin.ComboBoxBaseSkin.handleControlPropertyChanged(ComboBoxBaseSkin.java:134)[jfxrt.jar:?]
      12. com.sun.javafx.scene.control.skin.ComboBoxListViewSkin.handleControlPropertyChanged(ComboBoxListViewSkin.java:159)[jfxrt.jar:?]
      13. com.sun.javafx.scene.control.skin.BehaviorSkinBase.lambda$registerChangeListener$61(BehaviorSkinBase.java:197)[jfxrt.jar:?]
      13 frames
    11. com.sun.javafx
      MultiplePropertyChangeListenerHandler$1.changed
      1. com.sun.javafx.scene.control.MultiplePropertyChangeListenerHandler$1.changed(MultiplePropertyChangeListenerHandler.java:55)[jfxrt.jar:?]
      1 frame
    12. javafx.beans.value
      WeakChangeListener.changed
      1. javafx.beans.value.WeakChangeListener.changed(WeakChangeListener.java:89)[jfxrt.jar:?]
      1 frame
    13. com.sun.javafx
      ExpressionHelper.fireValueChangedEvent
      1. com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:361)[jfxrt.jar:?]
      2. com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)[jfxrt.jar:?]
      2 frames
    14. javafx.beans.property
      ObjectPropertyBase.set
      1. javafx.beans.property.ObjectPropertyBase.fireValueChangedEvent(ObjectPropertyBase.java:105)[jfxrt.jar:?]
      2. javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:112)[jfxrt.jar:?]
      3. javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:146)[jfxrt.jar:?]
      3 frames
    15. FXSampler
      ComboBox$3.changed
      1. javafx.scene.control.ComboBoxBase.setValue(ComboBoxBase.java:150)[jfxrt.jar:?]
      2. javafx.scene.control.ComboBox.updateValue(ComboBox.java:463)[jfxrt.jar:?]
      3. javafx.scene.control.ComboBox.access$200(ComboBox.java:192)[jfxrt.jar:?]
      4. javafx.scene.control.ComboBox$3.changed(ComboBox.java:446)[jfxrt.jar:?]
      4 frames
    16. com.sun.javafx
      ExpressionHelper.fireValueChangedEvent
      1. com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:361)[jfxrt.jar:?]
      2. com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)[jfxrt.jar:?]
      2 frames
    17. javafx.beans.property
      ObjectPropertyBase.set
      1. javafx.beans.property.ReadOnlyObjectPropertyBase.fireValueChangedEvent(ReadOnlyObjectPropertyBase.java:74)[jfxrt.jar:?]
      2. javafx.beans.property.ReadOnlyObjectWrapper.fireValueChangedEvent(ReadOnlyObjectWrapper.java:102)[jfxrt.jar:?]
      3. javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:112)[jfxrt.jar:?]
      4. javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:146)[jfxrt.jar:?]
      4 frames
    18. FXSampler
      ComboBox$ComboBoxSelectionModel.lambda$new$154
      1. javafx.scene.control.SelectionModel.setSelectedItem(SelectionModel.java:102)[jfxrt.jar:?]
      2. javafx.scene.control.ComboBox$ComboBoxSelectionModel.lambda$new$154(ComboBox.java:494)[jfxrt.jar:?]
      2 frames
    19. com.sun.javafx
      ExpressionHelper.fireValueChangedEvent
      1. com.sun.javafx.binding.ExpressionHelper$SingleInvalidation.fireValueChangedEvent(ExpressionHelper.java:137)[jfxrt.jar:?]
      2. com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)[jfxrt.jar:?]
      2 frames
    20. javafx.beans.property
      IntegerPropertyBase.set
      1. javafx.beans.property.ReadOnlyIntegerPropertyBase.fireValueChangedEvent(ReadOnlyIntegerPropertyBase.java:72)[jfxrt.jar:?]
      2. javafx.beans.property.ReadOnlyIntegerWrapper.fireValueChangedEvent(ReadOnlyIntegerWrapper.java:102)[jfxrt.jar:?]
      3. javafx.beans.property.IntegerPropertyBase.markInvalid(IntegerPropertyBase.java:113)[jfxrt.jar:?]
      4. javafx.beans.property.IntegerPropertyBase.set(IntegerPropertyBase.java:147)[jfxrt.jar:?]
      4 frames
    21. FXSampler
      SingleSelectionModel.select
      1. javafx.scene.control.SelectionModel.setSelectedIndex(SelectionModel.java:68)[jfxrt.jar:?]
      2. javafx.scene.control.SingleSelectionModel.updateSelectedIndex(SingleSelectionModel.java:215)[jfxrt.jar:?]
      3. javafx.scene.control.SingleSelectionModel.select(SingleSelectionModel.java:149)[jfxrt.jar:?]
      4. javafx.scene.control.SingleSelectionModel.select(SingleSelectionModel.java:124)[jfxrt.jar:?]
      4 frames
    22. net.sf.jabref
      ManageJournalAbbreviationsController.lambda$setBindings$16
      1. net.sf.jabref.gui.journals.ManageJournalAbbreviationsController.lambda$setBindings$16(ManageJournalAbbreviationsController.java:132)[main/:?]
      1 frame
    23. com.sun.javafx
      ExpressionHelper.fireValueChangedEvent
      1. com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:361)[jfxrt.jar:?]
      2. com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)[jfxrt.jar:?]
      2 frames
    24. javafx.beans.property
      ObjectPropertyBase.set
      1. javafx.beans.property.ObjectPropertyBase.fireValueChangedEvent(ObjectPropertyBase.java:105)[jfxrt.jar:?]
      2. javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:112)[jfxrt.jar:?]
      3. javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:146)[jfxrt.jar:?]
      3 frames
    25. net.sf.jabref
      ManageJournalAbbreviationsViewModel.lambda$new$2
      1. net.sf.jabref.gui.journals.ManageJournalAbbreviationsViewModel.lambda$new$2(ManageJournalAbbreviationsViewModel.java:87)[main/:?]
      1 frame
    26. com.sun.javafx
      ListExpressionHelper.fireValueChangedEvent
      1. com.sun.javafx.binding.ListExpressionHelper$Generic.notifyListeners(ListExpressionHelper.java:593)[jfxrt.jar:?]
      2. com.sun.javafx.binding.ListExpressionHelper$Generic.fireValueChangedEvent(ListExpressionHelper.java:571)[jfxrt.jar:?]
      3. com.sun.javafx.binding.ListExpressionHelper.fireValueChangedEvent(ListExpressionHelper.java:109)[jfxrt.jar:?]
      3 frames
    27. javafx.beans.property
      ListPropertyBase.lambda$new$29
      1. javafx.beans.property.ListPropertyBase.fireValueChangedEvent(ListPropertyBase.java:200)[jfxrt.jar:?]
      2. javafx.beans.property.ListPropertyBase.lambda$new$29(ListPropertyBase.java:56)[jfxrt.jar:?]
      2 frames
    28. com.sun.javafx
      ListListenerHelper.fireValueChangedEvent
      1. com.sun.javafx.collections.ListListenerHelper$Generic.fireValueChangedEvent(ListListenerHelper.java:329)[jfxrt.jar:?]
      2. com.sun.javafx.collections.ListListenerHelper.fireValueChangedEvent(ListListenerHelper.java:73)[jfxrt.jar:?]
      2 frames
    29. javafx.collections
      ModifiableObservableListBase.add
      1. javafx.collections.ObservableListBase.fireChange(ObservableListBase.java:233)[jfxrt.jar:?]
      2. javafx.collections.ListChangeBuilder.commit(ListChangeBuilder.java:482)[jfxrt.jar:?]
      3. javafx.collections.ListChangeBuilder.endChange(ListChangeBuilder.java:541)[jfxrt.jar:?]
      4. javafx.collections.ObservableListBase.endChange(ObservableListBase.java:205)[jfxrt.jar:?]
      5. javafx.collections.ModifiableObservableListBase.add(ModifiableObservableListBase.java:155)[jfxrt.jar:?]
      5 frames
    30. Java RT
      AbstractList.add
      1. java.util.AbstractList.add(AbstractList.java:108)[?:1.8.0_92]
      1 frame
    31. javafx.beans.binding
      ListExpression.add
      1. javafx.beans.binding.ListExpression.add(ListExpression.java:248)[jfxrt.jar:?]
      1 frame
    32. net.sf.jabref
      ManageJournalAbbreviationsViewModel.lambda$createFileObjects$5
      1. net.sf.jabref.gui.journals.ManageJournalAbbreviationsViewModel.openFile(ManageJournalAbbreviationsViewModel.java:163)[main/:?]
      2. net.sf.jabref.gui.journals.ManageJournalAbbreviationsViewModel.lambda$createFileObjects$5(ManageJournalAbbreviationsViewModel.java:126)[main/:?]
      2 frames
    33. Java RT
      ArrayList.forEach
      1. java.util.ArrayList.forEach(ArrayList.java:1249)[?:1.8.0_92]
      1 frame
    34. net.sf.jabref
      ManageJournalAbbreviationsController$1.call
      1. net.sf.jabref.gui.journals.ManageJournalAbbreviationsViewModel.createFileObjects(ManageJournalAbbreviationsViewModel.java:126)[main/:?]
      2. net.sf.jabref.gui.journals.ManageJournalAbbreviationsController$1.call(ManageJournalAbbreviationsController.java:59)[main/:?]
      3. net.sf.jabref.gui.journals.ManageJournalAbbreviationsController$1.call(ManageJournalAbbreviationsController.java:53)[main/:?]
      3 frames
    35. javafx.concurrent
      Task$TaskCallable.call
      1. javafx.concurrent.Task$TaskCallable.call(Task.java:1423)[jfxrt.jar:?]
      1 frame
    36. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:1.8.0_92]
      2. java.lang.Thread.run(Thread.java:745)[?:1.8.0_92]
      2 frames