[Livedisplay][v0.8.0]The application crashes when I try to inactive time set

in #utopian-io5 years ago

Related Information

ProjectRepository:https://github.com/CarlosACepeda/LiveDisplay

Project Name:Livedisplay

The submitted issue is here:https://github.com/CarlosACepeda/LiveDisplay/issues/36

Expected behavior

The application should not crash when I click on inactive time set.

Actual behavior

the application is crash when I click on inactive time set.

How to reproduce:

  • Download the app and open it
  • Then apply setting option.
  • Click the menu icon.
  • click on notification & select naw inactive hours
  • see bug

Recording Of The Bug

1.Browser/App version: v0.8.0
2.Operating system: 5.0.1
3.Smartphone: Galaxy j2

My GitHub account:

https://github.com/44asad

Logcat

E/AndroidRuntime(17414): FATAL EXCEPTION: main
E/AndroidRuntime(17414): Process: com.underground.livedisplay, PID: 17414
E/AndroidRuntime(17414): java.lang.NoSuchMethodError: no non-static method "Landroid/preference/PreferenceFragment;.getContext()Landroid/content/Context;"
E/AndroidRuntime(17414):   at mono.android.preference.Preference_OnPreferenceClickListenerImplementor.n_onPreferenceClick(Native Method)
E/AndroidRuntime(17414):   at mono.android.preference.Preference_OnPreferenceClickListenerImplementor.onPreferenceClick(Preference_OnPreferenceClickListenerImplementor.java:30)
E/AndroidRuntime(17414):   at android.preference.Preference.performClick(Preference.java:1162)
E/AndroidRuntime(17414):   at android.preference.PreferenceScreen.onItemClick(PreferenceScreen.java:225)
E/AndroidRuntime(17414):   at android.widget.AdapterView.performItemClick(AdapterView.java:318)
E/AndroidRuntime(17414):   at android.widget.AbsListView.performItemClick(AbsListView.java:1166)
E/AndroidRuntime(17414):   at android.widget.AbsListView$PerformClick.run(AbsListView.java:3136)
E/AndroidRuntime(17414):   at android.widget.AbsListView$3.run(AbsListView.java:3943)
E/AndroidRuntime(17414):   at android.os.Handler.handleCallback(Handler.java:739)
E/AndroidRuntime(17414):   at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime(17414):   at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(17414):   at android.app.ActivityThread.main(ActivityThread.java:5912)
E/AndroidRuntime(17414):   at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(17414):   at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(17414):   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)
E/AndroidRuntime(17414):   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)
Sort:  

Hi @asad44, thanks for making this contribution.

This appears to have been fixed and closed by the PO. I love that you included a logcat. This must have helped narrow down the search.

The bug's actual behavior is well written, the same as the expected behavior. Also, the steps looked easy enough to follow. Your title, on the other hand, should be better worded in future reports.

I look forward to more of your contributions.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Chat with us on Discord.

[utopian-moderator]

Thank you for your review, @fego! Keep up the good work!

Hi @asad44!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Hey, @asad44!

Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Coin Marketplace

STEEM 0.32
TRX 0.11
JST 0.034
BTC 66004.40
ETH 3243.40
USDT 1.00
SBD 4.19