Adding Location From CSV Crashes Prayer times

in #utopian-io7 years ago (edited)

Project Information

  • Title: Prayer-Times Crashed

Expected behavior

I expected adding location from csv to be a successful operation.

Actual behavior

Prayer times app crashes when "add from Csv" is clicked on.

How to reproduce

  • Download and install PrayerTimes from fdroid

  • Launch the app 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

  • Now locate "add from csv" right under "Auto-Location" at the top

  • Click on it 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

  • Device : Itel p12 (v6.0) & Tecno G9 (v4.2.2)

Recording Of The Bug

Proof of work

https://github.com/organik1

LOG

05-11 17:49:54.518 E/linker (15199): load_library(linker.cpp:759): library "libmaliinstr.so" not found 05-11 17:49:54.523 E/ (15199): appName=com.metinkale.prayer, acAppName=com.android.cts.openglperf 05-11 17:49:54.526 E/ (15199): 0 05-11 17:49:54.528 E/ (15199): appName=com.metinkale.prayer, acAppName=com.android.browser 05-11 17:49:54.529 E/ (15199): 0 05-11 17:50:00.556 E/AndroidRuntime(15199): FATAL EXCEPTION: main 05-11 17:50:00.556 E/AndroidRuntime(15199): java.lang.IllegalStateException: Could not find method addFromCSV(View) in a parent or ancestor Context for android:onClick attribute defined on view class android.support.v7.widget.AppCompatTextView 05-11 17:50:00.556 E/AndroidRuntime(15199): at android.support.v7.app.l$a.a(AppCompatViewInflater.java:327) 05-11 17:50:00.556 E/AndroidRuntime(15199): at android.support.v7.app.l$a.onClick(AppCompatViewInflater.java:284) 05-11 17:50:00.556 E/AndroidRuntime(15199): at android.view.View.performClick(View.java:4222) 05-11 17:50:00.556 E/AndroidRuntime(15199): at android.view.View$PerformClick.run(View.java:17628) 05-11 17:50:00.556 E/AndroidRuntime(15199): at android.os.Handler.handleCallback(Handler.java:800) 05-11 17:50:00.556 E/AndroidRuntime(15199): at android.os.Handler.dispatchMessage(Handler.java:100) 05-11 17:50:00.556 E/AndroidRuntime(15199): at android.os.Looper.loop(Looper.java:194) 05-11 17:50:00.556 E/AndroidRuntime(15199): at android.app.ActivityThread.main(ActivityThread.java:5370) 05-11 17:50:00.556 E/AndroidRuntime(15199): at java.lang.reflect.Method.invokeNative(Native Method) 05-11 17:50:00.556 E/AndroidRuntime(15199): at java.lang.reflect.Method.invoke(Method.java:525) 05-11 17:50:00.556 E/AndroidRuntime(15199): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833) 05-11 17:50:00.556 E/AndroidRuntime(15199): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600) 05-11 17:50:00.556 E/AndroidRuntime(15199): at dalvik.system.NativeStart.main(Native Method)

Sort:  
Loading...

Hey @organik
Thanks for contributing on Utopian.
We're already looking forward to your next contribution!

Contributing on Utopian
Learn how to contribute on our website or by watching this tutorial on Youtube.

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

Vote for Utopian Witness!