Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unknown exception #6684

Closed
1 task done
ilippert opened this issue Jul 13, 2020 · 2 comments · Fixed by #9067
Closed
1 task done

unknown exception #6684

ilippert opened this issue Jul 13, 2020 · 2 comments · Fixed by #9067

Comments

@ilippert
Copy link
Contributor

ilippert commented Jul 13, 2020

JabRef 5.1--2020-07-13--6344401
Linux 5.7.7-200.fc32.x86_64 amd64
Java 14.0.1

sorry, no idea yet, when this exception occurs. it occurred a few times whilst adding new entries.

Log File
java.lang.IllegalStateException: Not on FX application thread; currentThread = pool-9-thread-1
  at [email protected]/com.sun.javafx.tk.Toolkit.checkFxUserThread(Unknown Source)
  at [email protected]/com.sun.javafx.tk.quantum.QuantumToolkit.checkFxUserThread(Unknown Source)
  at [email protected]/javafx.scene.Parent$3.onProposedChange(Unknown Source)
  at [email protected]/com.sun.javafx.collections.VetoableListDecorator.setAll(Unknown Source)
  at [email protected]/com.sun.javafx.collections.VetoableListDecorator.setAll(Unknown Source)
  at [email protected]/javafx.scene.control.skin.LabeledSkinBase.updateChildren(Unknown Source)
  at [email protected]/javafx.scene.control.skin.LabeledSkinBase.lambda$new$11(Unknown Source)
  at [email protected]/com.sun.javafx.scene.control.LambdaMultiplePropertyChangeListenerHandler.lambda$new$1(Unknown Source)
  at [email protected]/javafx.beans.value.WeakChangeListener.changed(Unknown Source)
  at [email protected]/com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(Unknown Source)
  at [email protected]/com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Unknown Source)
  at [email protected]/javafx.beans.property.StringPropertyBase.fireValueChangedEvent(Unknown Source)
  at [email protected]/javafx.beans.property.StringPropertyBase.markInvalid(Unknown Source)
  at [email protected]/javafx.beans.property.StringPropertyBase.set(Unknown Source)
  at [email protected]/javafx.beans.property.StringPropertyBase.set(Unknown Source)
  at [email protected]/javafx.beans.property.StringProperty.setValue(Unknown Source)
  at [email protected]/javafx.scene.control.Labeled.setText(Unknown Source)
  at [email protected]/javafx.scene.control.skin.TabPaneSkin$TabHeaderSkin.lambda$new$2(Unknown Source)
  at [email protected]/com.sun.javafx.scene.control.LambdaMultiplePropertyChangeListenerHandler.lambda$new$1(Unknown Source)
  at [email protected]/javafx.beans.value.WeakChangeListener.changed(Unknown Source)
  at [email protected]/com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(Unknown Source)
  at [email protected]/com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Unknown Source)
  at [email protected]/javafx.beans.property.StringPropertyBase.fireValueChangedEvent(Unknown Source)
  at [email protected]/javafx.beans.property.StringPropertyBase.markInvalid(Unknown Source)
  at [email protected]/javafx.beans.property.StringPropertyBase.set(Unknown Source)
  at [email protected]/javafx.beans.property.StringPropertyBase.set(Unknown Source)
  at [email protected]/javafx.scene.control.Tab.setText(Unknown Source)
  at [email protected]/org.jabref.gui.JabRefFrame.updateAllTabTitles(Unknown Source)
  at [email protected]/org.jabref.gui.exporter.SaveDatabaseAction.save(Unknown Source)
  at [email protected]/org.jabref.gui.exporter.SaveDatabaseAction.save(Unknown Source)
  at [email protected]/org.jabref.gui.exporter.SaveDatabaseAction.save(Unknown Source)
  at [email protected]/org.jabref.gui.dialogs.AutosaveUiManager.listen(Unknown Source)
  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.base/java.lang.reflect.Method.invoke(Unknown Source)
  at [email protected]/com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Unknown Source)
  at [email protected]/com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Unknown Source)
  at [email protected]/com.google.common.eventbus.Subscriber$1.run(Unknown Source)
  at [email protected]/com.google.common.util.concurrent.DirectExecutor.execute(Unknown Source)
  at [email protected]/com.google.common.eventbus.Subscriber.dispatchEvent(Unknown Source)
  at [email protected]/com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Unknown Source)
  at [email protected]/com.google.common.eventbus.EventBus.post(Unknown Source)
  at [email protected]/org.jabref.logic.autosaveandbackup.AutosaveManager.lambda$listen$0(Unknown Source)
  at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
  at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  at java.base/java.lang.Thread.run(Unknown Source)

@Siedlerchr
Copy link
Member

It's related to the autosave backup manager which is on the wrong thread. Nothing critical.
I hope I find some time to work on that general restructure of thatautosave backup

@ilippert
Copy link
Contributor Author

by now I have autosave disabled. but exceptions still take place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants