java.lang.IllegalStateException

Not on FX application thread; currentThread = Thread-14

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web18235

  • Not on FX application thread; currentThread = pool-2-thread-14
  • via GitHub by lenhard
    , 6 months ago
    Not on FX application thread; currentThread = Thread-14
  • via Oracle Community by 868052, 11 months ago
    Not on FX application thread; currentThread = Thread
  • Stack trace

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

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 3 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    3 times, 8 months ago
    11 more bugmates