Soyle-Productions / soyle-stories

An application to help writers keep track of all aspects of their stories without getting in the way of the creative process and offering deep insights into potential plot holes.
Apache License 2.0
12 stars 0 forks source link

Create Name Variant Error (Pre 0.1.12 Alpha) #93

Open ryanreso1993 opened 3 years ago

ryanreso1993 commented 3 years ago
  1. Create a project and a character
  2. Right-click on the character's name and select Create New > Name Variant
  3. Input a Name Variant and hit Enter

What I expect to happen: The character new name variant has been assigned to my character. What actually happens: The pop-out name variant window turns grey and the following error message appears: image

kotlinx.coroutines.CompletionHandlerException: Exception in completion handler InvokeOnCompletion@236ee23a[job@2b0e4f73] for StandaloneCoroutine{Completed}@2b0e4f73 at kotlinx.coroutines.JobSupport.notifyCompletion(JobSupport.kt:1525) at kotlinx.coroutines.JobSupport.completeStateFinalization(JobSupport.kt:323) at kotlinx.coroutines.JobSupport.finalizeFinishingState(JobSupport.kt:240) at kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath(JobSupport.kt:903) at kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.kt:860) at kotlinx.coroutines.JobSupport.makeCompletingOnce$kotlinx_coroutines_core(JobSupport.kt:825) at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:111) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:32) at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:113) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665) Caused by: java.lang.IllegalStateException: Not on FX application thread; currentThread = DefaultDispatcher-worker-4 at com.sun.javafx.tk.Toolkit.checkFxUserThread(Toolkit.java:291) at com.sun.javafx.tk.quantum.QuantumToolkit.checkFxUserThread(QuantumToolkit.java:446) at javafx.stage.Window.setShowing(Window.java:1173) at javafx.stage.Window.hide(Window.java:1199) at javafx.stage.Stage.close(Stage.java:1223) at tornadofx.UIComponent.close(Component.kt:1072) at com.soyle.stories.character.nameVariant.create.CreateCharacterNameFormView$root$1$1$1$2.invoke(CreateCharacterNameFormView.kt:38) at com.soyle.stories.character.nameVariant.create.CreateCharacterNameFormView$root$1$1$1$2.invoke(CreateCharacterNameFormView.kt:37) at kotlinx.coroutines.InvokeOnCompletion.invoke(JobSupport.kt:1385) at kotlinx.coroutines.JobSupport.notifyCompletion(JobSupport.kt:1520) ... 15 more