question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

App Crash on when using the spinner Android 6 and below

See original GitHub issue

Please complete the following information:

  • Library Version V1.1.3
  • Affected Device(s) Android 6 and below

Describe the Bug:

Hello, There’s a bug that is being reported by crashlytics on Android 5 and 6 and I faced when testing on Android 4.4 that causes the app to crash when using the spinner. it’s working fine on Android 10 and Android 8 this the logcat

    java.lang.NullPointerException
        at android.widget.PopupWindow.update(PopupWindow.java:1375)
        at com.skydoves.powerspinner.PowerSpinnerView$updateSpinnerWindowSize$1.run(PowerSpinnerView.kt:496)
        at android.os.Handler.handleCallback(Handler.java:733)
        at android.os.Handler.dispatchMessage(Handler.java:95)
        at android.os.Looper.loop(Looper.java:136)
        at android.app.ActivityThread.main(ActivityThread.java:5017)
        at java.lang.reflect.Method.invokeNative(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:515)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
        at dalvik.system.NativeStart.main(Native Method)


Is there any fix for this problem as I am getting multiple crashes on Android 5 and 6. Thanks.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
skydovescommented, Oct 8, 2020

Released a new version 1.1.4. Thanks!

1reaction
basemosamacommented, Oct 8, 2020

Nice, Thanks for the quick update.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spinner makes android application crash
Everything seems fine until I run the app and click on the spinner. After I click on the spinner the app crash. I've...
Read more >
Optimize your app for autofill
In Android 8.0 (API level 26) and 8.1 (API level 27), autofill can cause your app to crash in certain scenarios. To work...
Read more >
Android Drop Down List Tutorial - YouTube
187K views 6 years ago Android App Development ... Run the app and you will see a spinner with values being populated whenever...
Read more >
several app crashes with web page widget + loading spinner ...
I tried to use web page widget and used my web application ... webview widget might crash the whole application under some circumstances, ......
Read more >
SAP AppGyver Changelog
Fixed an issue where on built standalone Android apps, opening page with dropdown would freeze/crash the app (requires component update from the marketplace!)...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found