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

Fatal Exception: java.lang.IllegalStateException #263

Open
egor-slatvinskiy-idf opened this issue Oct 17, 2023 · 2 comments
Open

Fatal Exception: java.lang.IllegalStateException #263

egor-slatvinskiy-idf opened this issue Oct 17, 2023 · 2 comments

Comments

@egor-slatvinskiy-idf
Copy link

Hello!
Our users have fatal exception when using your plugin.
I provide a description of the error:
flutter_pdfview.txt

@TaN4eLL0
Copy link

the same

@viktor-savchik-idf
Copy link

viktor-savchik-idf commented Nov 9, 2023

The same

Fatal Exception: java.lang.IllegalStateException: Surface was already locked!
       at android.view.Surface$HwuiContext.lockCanvas(Surface.java:1152)
       at android.view.Surface.lockHardwareCanvas(Surface.java:569)
       at io.flutter.plugin.platform.PlatformViewWrapper.draw(PlatformViewWrapper.java:300)
       at android.view.View.updateDisplayListIfDirty(View.java:22301)
       at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4586)
       at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4559)
       at android.view.View.updateDisplayListIfDirty(View.java:22241)
       at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4586)
       at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4559)
       at android.view.View.updateDisplayListIfDirty(View.java:22241)
       at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4586)
       at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4559)
       at android.view.View.updateDisplayListIfDirty(View.java:22241)
       at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4586)
       at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4559)
       at android.view.View.updateDisplayListIfDirty(View.java:22241)
       at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4586)
       at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4559)
       at android.view.View.updateDisplayListIfDirty(View.java:22241)
       at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:682)
       at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:690)
       at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:795)
       at android.view.ViewRootImpl.draw(ViewRootImpl.java:4992)
       at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:4681)
       at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3866)
       at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2575)
       at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:9638)
       at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1386)
       at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1394)
       at android.view.Choreographer.doCallbacks(Choreographer.java:1013)
       at android.view.Choreographer.doFrame(Choreographer.java:911)
       at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1366)
       at android.os.Handler.handleCallback(Handler.java:942)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loopOnce(Looper.java:211)
       at android.os.Looper.loop(Looper.java:300)
       at android.app.ActivityThread.main(ActivityThread.java:8232)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1028)

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

No branches or pull requests

3 participants