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

App crashes when Cloudy is used in a ModalBottomSheet #14

Open
Rick-AB opened this issue Jul 3, 2023 · 5 comments
Open

App crashes when Cloudy is used in a ModalBottomSheet #14

Rick-AB opened this issue Jul 3, 2023 · 5 comments

Comments

@Rick-AB
Copy link

Rick-AB commented Jul 3, 2023

Please complete the following information:

  • Library Version v0.1.2
  • Affected Device(s) Samsung S20(API 33), Pixel 4(API 33)

Describe the Bug:

When cloudy is used as a component inside a ModalBottomSheet, the exception java.lang.RuntimeException: Failed to copy pixels of the given bitmap! is thrown

Expected Behavior:

The application shouldn't crash

@Boriswp
Copy link

Boriswp commented Jul 4, 2023

Have the same problem, but even in column

@AndreyMedal
Copy link

Have the same problem in preview:

FATAL EXCEPTION: main
                                                                                                    Process: com.test.app, PID: 9114
                                                                                                    java.lang.RuntimeException: Failed to copy pixels of the given bitmap!
                                                                                                    	at com.skydoves.cloudy.CloudyKt.drawBitmapWithPixelCopy$lambda$7(Cloudy.kt:281)
                                                                                                    	at com.skydoves.cloudy.CloudyKt.$r8$lambda$X2Nw-BPO6_ca_Hnlrx5we4hyARg(Unknown Source:0)
                                                                                                    	at com.skydoves.cloudy.CloudyKt$$ExternalSyntheticLambda0.onPixelCopyFinished(Unknown Source:6)
                                                                                                    	at android.view.PixelCopy$1.run(PixelCopy.java:191)
                                                                                                    	at android.os.Handler.handleCallback(Handler.java:942)
                                                                                                    	at android.os.Handler.dispatchMessage(Handler.java:99)
                                                                                                    	at android.os.Looper.loopOnce(Looper.java:226)
                                                                                                    	at android.os.Looper.loop(Looper.java:313)
                                                                                                    	at android.app.ActivityThread.main(ActivityThread.java:8757)
                                                                                                    	at java.lang.reflect.Method.invoke(Native Method)
                                                                                                    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
                                                                                                    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)

@iamcodder
Copy link

Have the same problem

2 similar comments
@HolenZhou
Copy link

Have the same problem

@bybozyurt
Copy link

Have the same problem

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

6 participants