Crash app when setting color in "dhikr feature"

Words
121
Reading
1 min
Listen
Play
8y

Project Information

Expected behavior

Supposedly, the color setting inside the "Dhizkr feature" works normally and does not cause the application to stop.

Actual behavior

When I enter "Dhikr feature" and change the color settings, Application stops automatically.

How to reproduce

You can get this app in F-droid. After successfully install the application, Steps you should do:

  1. Open and run the app.
  2. Open "Dzhikr feature".
  3. Click on the color settings provided in the "dhikr feature".
  4. Then the app will stop.


  • Browser : Redmi Note 5A
  • System Operating : 7.1.0 Nougat
  • App Version : 3.7

Recording Of The Bug

Logcat

05-16 23:28:19.479  5568  5568 E AndroidRuntime: FATAL EXCEPTION: main
05-16 23:28:19.479  5568  5568 E AndroidRuntime: Process: com.metinkale.prayer, PID: 5568
05-16 23:28:19.479  5568  5568 E AndroidRuntime: java.lang.IllegalStateException: Could not find method changeColor(View) in a parent or ancestor Context for android:onClick attribute defined on view class android.view.View
05-16 23:28:19.479  5568  5568 E AndroidRuntime:    at android.view.View$DeclaredOnClickListener.resolveMethod(View.java:4767)
05-16 23:28:19.479  5568  5568 E AndroidRuntime:    at android.view.View$DeclaredOnClickListener.onClick(View.java:4726)
05-16 23:28:19.479  5568  5568 E AndroidRuntime:    at android.view.View.performClick(View.java:5647)
05-16 23:28:19.479  5568  5568 E AndroidRuntime:    at android.view.View$PerformClick.run(View.java:22462)
05-16 23:28:19.479  5568  5568 E AndroidRuntime:    at android.os.Handler.handleCallback(Handler.java:754)
05-16 23:28:19.479  5568  5568 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:95)
05-16 23:28:19.479  5568  5568 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:163)
05-16 23:28:19.479  5568  5568 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:6361)
05-16 23:28:19.479  5568  5568 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
05-16 23:28:19.479  5568  5568 E AndroidRuntime:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
05-16 23:28:19.479  5568  5568 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)

Proof Of Work Done

http://www.github.com/rezamusic881

https://github.com/metinkale38/prayer-times-android/issues/120

Crash app when setting color in "dhikr feature" | Ecency