-
-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
On Android I'm getting the following error when I add a TexImage
widget:
E/AndroidRuntime(14339): FATAL EXCEPTION: DefaultDispatcher-worker-1
E/AndroidRuntime(14339): Process: com.example.latex_test, PID: 14339
E/AndroidRuntime(14339): kotlin.UninitializedPropertyAccessException: lateinit property renderer has not been initialized
E/AndroidRuntime(14339): at com.madlonkay.flutter_tex_js.FlutterTexJsPlugin.access$getRenderer$p(FlutterTexJsPlugin.kt:16)
E/AndroidRuntime(14339): at com.madlonkay.flutter_tex_js.FlutterTexJsPlugin$handleRender$1.invokeSuspend(FlutterTexJsPlugin.kt:99)
E/AndroidRuntime(14339): at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
E/AndroidRuntime(14339): at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
E/AndroidRuntime(14339): at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
E/AndroidRuntime(14339): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
E/AndroidRuntime(14339): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
It reproduced in a couple sample apps.
It seems like onAttachedToEngine
is getting called. I've tried to debug the issue but could get anywhere.
Happy to provide more information or test more if needed.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working