Making Use Of Manuel City Chooser Crashes PrayerTimes

in utopian-io •  7 years ago 

Project Information

  • Title: App crashed when utilising manuel city chooser

Expected behavior

Since the option of using manuel city chooser is available in prayer times, I expected to use it effectively.

Actual behavior

Prayer time crashed when using manuel chooser to add a city

How to reproduce

  • Download and run PrayerTimes from fdroid.org

  • Launch the app and grant it the required permissions.

  • Now you should be on the prayer time page.

  • If not, click on the three vertical dashes located at the upper left corner of current page to produce the side bar.

  • Click on prayer time, which is right above prayer compass

  • Now locate "use manuel city chooser" at the bottom of the page and click on it.

  • Click on any of the provided cities,

  • It should crash prayer times or open another location.

  • Select a one result provided by your selected city, until you reach the final location.

  • Clicking on that location should crash prayer times app.

  • Browser/App version: V3.7

  • Operating system: Android v4.2.2 jellybean.

On further test, this issue was also producible on android 6.0 marshmallow.

Recording Of The Bug

LOG

05-11 17:19:31.197 E/linker (11170): load_library(linker.cpp:759): library "libmaliinstr.so" not found 05-11 17:19:31.199 E/ (11170): appName=com.metinkale.prayer, acAppName=com.android.cts.openglperf 05-11 17:19:31.199 E/ (11170): 0 05-11 17:19:31.199 E/ (11170): appName=com.metinkale.prayer, acAppName=com.android.browser 05-11 17:19:31.199 E/ (11170): 0 05-11 17:19:31.197 E/linker (11170): load_library(linker.cpp:759): library "libmaliinstr.so" not found 05-11 17:19:31.199 E/ (11170): appName=com.metinkale.prayer, acAppName=com.android.cts.openglperf 05-11 17:19:31.199 E/ (11170): 0 05-11 17:19:31.199 E/ (11170): appName=com.metinkale.prayer, acAppName=com.android.browser 05-11 17:19:31.199 E/ (11170): 0 05-11 17:19:31.197 E/linker (11170): load_library(linker.cpp:759): library "libmaliinstr.so" not found 05-11 17:19:31.199 E/ (11170): appName=com.metinkale.prayer, acAppName=com.android.cts.openglperf 05-11 17:19:31.199 E/ (11170): 0 05-11 17:19:31.199 E/ (11170): appName=com.metinkale.prayer, acAppName=com.android.browser 05-11 17:19:31.199 E/ (11170): 0 05-11 17:19:40.205 E/AndroidRuntime(11170): FATAL EXCEPTION: main 05-11 17:19:40.205 E/AndroidRuntime(11170): java.lang.RuntimeException: java.lang.NoSuchMethodException: [long] 05-11 17:19:40.205 E/AndroidRuntime(11170): at com.metinkale.prayerapp.vakit.times.b.l.a(WebTimes.java:87) 05-11 17:19:40.205 E/AndroidRuntime(11170): at com.metinkale.prayerapp.vakit.times.b.l.a(WebTimes.java:77) 05-11 17:19:40.205 E/AndroidRuntime(11170): at com.metinkale.prayerapp.vakit.fragments.SelectCityFragment.onItemClick(SelectCityFragment.java:112) 05-11 17:19:40.205 E/AndroidRuntime(11170): at android.widget.AdapterView.performItemClick(AdapterView.java:298) 05-11 17:19:40.205 E/AndroidRuntime(11170): at android.widget.AbsListView.performItemClick(AbsListView.java:1139) 05-11 17:19:40.205 E/AndroidRuntime(11170): at android.widget.AbsListView$PerformClick.run(AbsListView.java:2856) 05-11 17:19:40.205 E/AndroidRuntime(11170): at android.widget.AbsListView$1.run(AbsListView.java:3619) 05-11 17:19:40.205 E/AndroidRuntime(11170): at android.os.Handler.handleCallback(Handler.java:800) 05-11 17:19:40.205 E/AndroidRuntime(11170): at android.os.Handler.dispatchMessage(Handler.java:100) 05-11 17:19:40.205 E/AndroidRuntime(11170): at android.os.Looper.loop(Looper.java:194) 05-11 17:19:40.205 E/AndroidRuntime(11170): at android.app.ActivityThread.main(ActivityThread.java:5370) 05-11 17:19:40.205 E/AndroidRuntime(11170): at java.lang.reflect.Method.invokeNative(Native Method) 05-11 17:19:40.205 E/AndroidRuntime(11170): at java.lang.reflect.Method.invoke(Method.java:525) 05-11 17:19:40.205 E/AndroidRuntime(11170): FATAL EXCEPTION: main 05-11 17:19:40.205 E/AndroidRuntime(11170): java.lang.RuntimeException: java.lang.NoSuchMethodException: [long] 05-11 17:19:40.205 E/AndroidRuntime(11170): at com.metinkale.prayerapp.vakit.times.b.l.a(WebTimes.java:87) 05-11 17:19:40.205 E/AndroidRuntime(11170): at com.metinkale.prayerapp.vakit.times.b.l.a(WebTimes.java:77) 05-11 17:19:40.205 E/AndroidRuntime(11170): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833) 05-11 17:19:40.205 E/AndroidRuntime(11170): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600) 05-11 17:19:40.205 E/AndroidRuntime(11170): at dalvik.system.NativeStart.main(Native Method) 05-11 17:19:40.205 E/AndroidRuntime(11170): Caused by: java.lang.NoSuchMethodException: [long] 05-11 17:19:40.205 E/AndroidRuntime(11170): at java.lang.Class.getConstructorOrMethod(Class.java:460) 05-11 17:19:40.205 E/AndroidRuntime(11170): at java.lang.Class.getConstructor(Class.java:431) 05-11 17:19:40.205 E/AndroidRuntime(11170): at com.metinkale.prayerapp.vakit.times.b.l.a(WebTimes.java:85) 05-11 17:19:40.205 E/AndroidRuntime(11170): ... 15 more 05-11 17:19:40.205 E/AndroidRuntime(11170): at com.metinkale.prayerapp.vakit.fragments.SelectCityFragment.onItemClick(SelectCityFragment.java:112) 05-11 17:19:40.205 E/AndroidRuntime(11170): at android.widget.AdapterView.performItemClick(AdapterView.java:298) 05-11 17:19:40.205 E/AndroidRuntime(11170): at android.widget.AbsListView.performItemClick(AbsListView.java:1139) 05-11 17:19:40.205 E/AndroidRuntime(11170): at android.widget.AbsListView$PerformClick.run(AbsListView.java:2856) 05-11 17:19:40.205 E/AndroidRuntime(11170): at android.widget.AbsListView$1.run(AbsListView.java:3619) 05-11 17:19:40.205 E/AndroidRuntime(11170): at android.os.Handler.handleCallback(Handler.java:800) 05-11 17:19:40.205 E/AndroidRuntime(11170): at android.os.Handler.dispatchMessage(Handler.java:100) 05-11 17:19:40.205 E/AndroidRuntime(11170): at android.os.Looper.loop(Looper.java:194) 05-11 17:19:40.205 E/AndroidRuntime(11170): at android.app.ActivityThread.main(ActivityThread.java:5370) 05-11 17:19:40.205 E/AndroidRuntime(11170): at java.lang.reflect.Method.invokeNative(Native Method) 05-11 17:19:40.205 E/AndroidRuntime(11170): at java.lang.reflect.Method.invoke(Method.java:525) 05-11 17:19:40.205 E/AndroidRuntime(11170): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833) 05-11 17:19:40.205 E/AndroidRuntime(11170): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600) 05-11 17:19:40.205 E/AndroidRuntime(11170): at dalvik.system.NativeStart.main(Native Method) 05-11 17:19:40.205 E/AndroidRuntime(11170): Caused by: java.lang.NoSuchMethodException: [long] 05-11 17:19:40.205 E/AndroidRuntime(11170): at java.lang.Class.getConstructorOrMethod(Class.java:460) 05-11 17:19:40.205 E/AndroidRuntime(11170): at java.lang.Class.getConstructor(Class.java:431) 05-11 17:19:40.205 E/AndroidRuntime(11170): at com.metinkale.prayerapp.vakit.times.b.l.a(WebTimes.java:85) 05-11 17:19:40.205 E/AndroidRuntime(11170): ... 15 more 05-11 17:19:40.205 E/AndroidRuntime(11170): FATAL EXCEPTION: main 05-11 17:19:40.205 E/AndroidRuntime(11170): java.lang.RuntimeException: java.lang.NoSuchMethodException: [long] 05-11 17:19:40.205 E/AndroidRuntime(11170): at com.metinkale.prayerapp.vakit.times.b.l.a(WebTimes.java:87) 05-11 17:19:40.205 E/AndroidRuntime(11170): at com.metinkale.prayerapp.vakit.times.b.l.a(WebTimes.java:77) 05-11 17:19:40.205 E/AndroidRuntime(11170): at com.metinkale.prayerapp.vakit.fragments.SelectCityFragment.onItemClick(SelectCityFragment.java:112) 05-11 17:19:40.205 E/AndroidRuntime(11170): at android.widget.AdapterView.performItemClick(AdapterView.java:298) 05-11 17:19:40.205 E/AndroidRuntime(11170): at android.widget.AbsListView.performItemClick(AbsListView.java:1139) 05-11 17:19:40.205 E/AndroidRuntime(11170): at android.widget.AbsListView$PerformClick.run(AbsListView.java:2856) 05-11 17:19:40.205 E/AndroidRuntime(11170): at android.widget.AbsListView$1.run(AbsListView.java:3619) 05-11 17:19:40.205 E/AndroidRuntime(11170): at android.os.Handler.handleCallback(Handler.java:800) 05-11 17:19:40.205 E/AndroidRuntime(11170): at android.os.Handler.dispatchMessage(Handler.java:100) 05-11 17:19:40.205 E/AndroidRuntime(11170): at android.os.Looper.loop(Looper.java:194) 05-11 17:19:40.205 E/AndroidRuntime(11170): at android.app.ActivityThread.main(ActivityThread.java:5370) 05-11 17:19:40.205 E/AndroidRuntime(11170): at java.lang.reflect.Method.invokeNative(Native Method) 05-11 17:19:40.205 E/AndroidRuntime(11170): at java.lang.reflect.Method.invoke(Method.java:525) 05-11 17:19:40.205 E/AndroidRuntime(11170): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833) 05-11 17:19:40.205 E/AndroidRuntime(11170): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600) 05-11 17:19:40.205 E/AndroidRuntime(11170): at dalvik.system.NativeStart.main(Native Method) 05-11 17:19:40.251 E/AppErrorDialog(562): Failed to get ILowStorageHandle instance 05-11 17:19:40.205 E/AndroidRuntime(11170): Caused by: java.lang.NoSuchMethodException: [long] 05-11 17:19:40.205 E/AndroidRuntime(11170): at java.lang.Class.getConstructorOrMethod(Class.java:460) 05-11 17:19:40.205 E/AndroidRuntime(11170): at java.lang.Class.getConstructor(Class.java:431) 05-11 17:19:40.205 E/AndroidRuntime(11170): at com.metinkale.prayerapp.vakit.times.b.l.a(WebTimes.java:85) 05-11 17:19:40.205 E/AndroidRuntime(11170): ... 15 more 05-11 17:19:40.251 E/AppErrorDialog(562): Failed to get ILowStorageHandle instance 05-11 17:19:40.251 E/AppErrorDialog(562): Failed to get ILowStorageHandle instance

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Much detailed for easy reproduction, 👍

Yes; Thank you.

Hi @organik thank you for the contribution
we were able to reproduce the bug on the last version of the application ,but the developer has already resolved this issue in one of his later commits (not sure which), and because of that your report would provide no value to the project owner.

we built the last version of this app from the repository , and everything is working fine

Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Is that v3.7 ?

it's the latest version with all the new fixes and modifications , we built it from the github repository

You mean V3.7 right? Or another version that is yet to be released?

it's a new version that contain a fix for this bug