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

crash in BlurLayout #77

Open
dinghaoz opened this issue Feb 22, 2021 · 1 comment
Open

crash in BlurLayout #77

dinghaoz opened this issue Feb 22, 2021 · 1 comment

Comments

@dinghaoz
Copy link

Brand: samsung
Model: Galaxy J6
Orientation: Portrait
RAM free: 239.84 MB
Disk free: 8.75 GB

Version: 9
Orientation: Portrait
Rooted: No

Fatal Exception: java.lang.IllegalArgumentException: height must be > 0
at android.graphics.Bitmap.checkWidthHeight(Bitmap.java:447)
at android.graphics.Bitmap.createBitmap(Bitmap.java:843)
at android.graphics.Bitmap.createBitmap(Bitmap.java:811)
at io.alterac.blurkit.BlurLayout.blur(BlurLayout.java:276)
at io.alterac.blurkit.BlurLayout.invalidate(BlurLayout.java:164)
at io.alterac.blurkit.BlurLayout.onSizeChanged(BlurLayout.java:158)
at android.view.View.sizeChange(View.java:22601)
at android.view.View.setFrame(View.java:22543)
at android.view.View.layout(View.java:22403)
at android.view.ViewGroup.layout(ViewGroup.java:6594)
at androidx.constraintlayout.widget.ConstraintLayout.onLayout(ConstraintLayout.java:1843)
at android.view.View.layout(View.java:22406)
at android.view.ViewGroup.layout(ViewGroup.java:6594)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
at android.view.View.layout(View.java:22406)
at android.view.ViewGroup.layout(ViewGroup.java:6594)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
at android.view.View.layout(View.java:22406)
at android.view.ViewGroup.layout(ViewGroup.java:6594)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1565)
at android.view.View.layout(View.java:22406)
at android.view.ViewGroup.layout(ViewGroup.java:6594)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
at com.android.internal.policy.DecorView.onLayout(DecorView.java:1087)
at android.view.View.layout(View.java:22406)
at android.view.ViewGroup.layout(ViewGroup.java:6594)
at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:3414)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2883)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1931)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8578)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:949)
at android.view.Choreographer.doCallbacks(Choreographer.java:761)
at android.view.Choreographer.doFrame(Choreographer.java:696)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:935)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7081)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)

@971400352
Copy link

I get same error.

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

2 participants