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 during autotest #174

Open
Quireg opened this issue Aug 5, 2024 · 0 comments
Open

Crash during autotest #174

Quireg opened this issue Aug 5, 2024 · 0 comments

Comments

@Quireg
Copy link

Quireg commented Aug 5, 2024

Hi team, thank you for the wonderful library.
I came across this crash and decided to share it with you.

ฅ^•ﻌ•^ฅ

Please complete the following information:

  • Library Version [e.g. v1.2.7]
  • Affected Device(s) [-]

Describe the Bug:

08-05 13:48:39.452 4500 4500 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.ViewGroup$LayoutParams android.widget.PopupWindow$PopupDecorView.getLayoutParams()' on a null object reference
08-05 13:48:39.452 4500 4500 E AndroidRuntime: at android.widget.PopupWindow.getDecorViewLayoutParams(PopupWindow.java:2363)
08-05 13:48:39.452 4500 4500 E AndroidRuntime: at android.widget.PopupWindow.update(PopupWindow.java:2239)
08-05 13:48:39.452 4500 4500 E AndroidRuntime: at com.skydoves.powerspinner.PowerSpinnerView$show$1.invoke$lambda$0(PowerSpinnerView.kt:764)
08-05 13:48:39.452 4500 4500 E AndroidRuntime: at com.skydoves.powerspinner.PowerSpinnerView$show$1.$r8$lambda$sxw4-pEekfKgYcMVXbjivnSTk04(Unknown Source:0)
08-05 13:48:39.452 4500 4500 E AndroidRuntime: at com.skydoves.powerspinner.PowerSpinnerView$show$1$$ExternalSyntheticLambda0.run(Unknown Source:2)
08-05 13:48:39.452 4500 4500 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:942)
08-05 13:48:39.452 4500 4500 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
08-05 13:48:39.452 4500 4500 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:201)
08-05 13:48:39.452 4500 4500 E AndroidRuntime: at android.os.Looper.loop(Looper.java:288)
08-05 13:48:39.452 4500 4500 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7937)
08-05 13:48:39.452 4500 4500 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
08-05 13:48:39.452 4500 4500 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:569)
08-05 13:48:39.452 4500 4500 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1019)

Expected Behavior:
When dialog is dismissed it's decorView becomes null.

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

1 participant