Adding A City From Search Result Crashes PrayerTimes

in #utopian-io6 years ago (edited)

Project Information

  • Title: Prayer-Times Crashed On Picking From Search Result

Expected behavior

I expected to utilize the search result to add a city/location to prayer times, since the option is available.

Actual behavior

When a result is selected from the various search results, prayer times crashes.

How to reproduce

  • Download and install PrayerTimes from fdroid

  • Launch Prayer times and grant the required permissions.

  • You should be on the prayer time page, if not, click on the three vertical dashes located at the upper left corner to produce the side bar.

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

  • Locate a floating plus (+) button at the bottom right corner of the prayer-times page and click on it

  • On the next page, click on the search icon at the bottom left corner

  • Input a word or a letter in the search colum (I used J)

  • Click on a city from the results and notice the app crash.

  • Browser/App version: V3.7

  • Operating system: Android v4.2.2 jelly bean.

I was also able to reproduce this issue on android 6.0 marshmallow

Recording Of The Bug

Log

05-11 17:45:31.392 E/linker (14897): load_library(linker.cpp:759): library "libmaliinstr.so" not found 05-11 17:45:31.395 E/ (14897): appName=com.metinkale.prayer, acAppName=com.android.cts.openglperf 05-11 17:45:31.395 E/ (14897): 0 05-11 17:45:31.395 E/ (14897): appName=com.metinkale.prayer, acAppName=com.android.browser 05-11 17:45:31.395 E/ (14897): 0 05-11 17:45:39.861 E/dalvikvm(14897): Could not find class 'android.app.AppOpsManager', referenced from method jsz.a 05-11 17:45:39.863 E/ProviderInstaller(14897): libgmscore version mismatch (0 vs. 11302) 05-11 17:45:46.242 E/AndroidRuntime(14897): FATAL EXCEPTION: main 05-11 17:45:46.242 E/AndroidRuntime(14897): java.lang.RuntimeException: java.lang.NoSuchMethodException: [long] 05-11 17:45:46.242 E/AndroidRuntime(14897): at com.metinkale.prayerapp.vakit.times.b.l.a(WebTimes.java:87) 05-11 17:45:46.242 E/AndroidRuntime(14897): at com.metinkale.prayerapp.vakit.times.b.l.a(WebTimes.java:77) 05-11 17:45:46.242 E/AndroidRuntime(14897): at com.metinkale.prayerapp.vakit.fragments.SearchCityFragment.onItemClick(SearchCityFragment.java:227) 05-11 17:45:46.242 E/AndroidRuntime(14897): at android.widget.AdapterView.performItemClick(AdapterView.java:298) 05-11 17:45:46.242 E/AndroidRuntime(14897): at android.widget.AbsListView.performItemClick(AbsListView.java:1139) 05-11 17:45:46.242 E/AndroidRuntime(14897): at android.widget.AbsListView$PerformClick.run(AbsListView.java:2856) 05-11 17:45:46.242 E/AndroidRuntime(14897): at android.widget.AbsListView$1.run(AbsListView.java:3619) 05-11 17:45:46.242 E/AndroidRuntime(14897): at android.os.Handler.handleCallback(Handler.java:800) 05-11 17:45:46.242 E/AndroidRuntime(14897): at android.os.Handler.dispatchMessage(Handler.java:100) 05-11 17:45:46.242 E/AndroidRuntime(14897): at android.os.Looper.loop(Looper.java:194) 05-11 17:45:46.242 E/AndroidRuntime(14897): at android.app.ActivityThread.main(ActivityThread.java:5370) 05-11 17:45:46.242 E/AndroidRuntime(14897): at java.lang.reflect.Method.invokeNative(Native Method) 05-11 17:45:46.242 E/AndroidRuntime(14897): at java.lang.reflect.Method.invoke(Method.java:525) 05-11 17:45:46.242 E/AndroidRuntime(14897): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833) 05-11 17:45:46.242 E/AndroidRuntime(14897): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600) 05-11 17:45:46.242 E/AndroidRuntime(14897): at dalvik.system.NativeStart.main(Native Method) 05-11 17:45:46.242 E/AndroidRuntime(14897): Caused by: java.lang.NoSuchMethodException: [long] 05-11 17:45:46.242 E/AndroidRuntime(14897): at java.lang.Class.getConstructorOrMethod(Class.java:460) 05-11 17:45:46.242 E/AndroidRuntime(14897): at java.lang.Class.getConstructor(Class.java:431) 05-11 17:45:46.242 E/AndroidRuntime(14897): at com.metinkale.prayerapp.vakit.times.b.l.a(WebTimes.java:85) 05-11 17:45:46.242 E/AndroidRuntime(14897): ... 15 more 05-11 17:45:46.298 E/AppErrorDialog(562): Failed to get ILowStorageHandle instance 05-11 17:45:48.102 E/JavaBinder(562): !!! FAILED BINDER TRANSACTION !!! 05-11 17:45:48.105 E/JavaBinder(562): !!! FAILED BINDER TRANSACTION !!!

Sort:  

Thanks for your contribution. I was able to replicate the issue you mention on the latest version of the application which is available on fdroid, however, this issue has been resolved by the developer within the commits since this release. This particular repository has had a large number of commits since the last release of the application and as part of my testing, I built the latest version of the application. This is to ensure that the contributions we provide open sources projects are of the highest value. The following image can be used to show the application working as expected:

https://gateway.ipfs.io/ipfs/QmahXVVoBgKioUiPnS4jwGc47Zpx7nPF97camBsjq13NNh

Note: I can't get the image to appear in the post, not sure why. You can open the link in your browser and it will load as expected

Although this is particular contribution will not provide the project owner with any value, I'm very happy to see that you're using log cats within your posts and it enhances you contribution considerably. Your steps to reproduce are also particularly good. Please keep this up for your future contributions.

Please ensure you add your GitHub account to your future posts, although I have already commented this today I will expect that any further posts you make to have this in.

Please try to add in the devices your using to your contribution, it's great to see that you're using multiple devices to test. Would be great to add which device they're too.

Thanks again for your contribution.


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

👏

Coin Marketplace

STEEM 0.24
TRX 0.11
JST 0.032
BTC 62661.87
USDT 1.00
SBD 3.76