MahmoudMabrok / QuranyApp

Open Source HolyQuran app that provide Read, Listen, Tafseer, Test all of them and app is very small size.
Apache License 2.0
205 stars 52 forks source link

(BUG) APPLICATION crashes when I click on GO BY JUZ #15

Closed saraji-ali closed 5 years ago

saraji-ali commented 5 years ago

Project Information

Expected behavior

The application should not be crashed when I click on GO BY JUZ Rather, the option in GO BY JUZ should appear

Actual behavior

After going to the JUMP option, the application crashes when I click on GO BY JUZ.# How to reproduce

1-Download the app and open it 2-Click on three vertical dots 3- click on the Jump 4- click on GO BY JUZ 5- see bug

Recording Of The Bug

20190518_165538

My Github Account

https://github.com/facebook-786

Logcat

E/AndroidRuntime(22838): FATAL EXCEPTION: main

E/AndroidRuntime(22838): Process: education.mahmoud.quranyapp, PID: 22838

E/AndroidRuntime(22838): java.lang.NumberFormatException: Invalid int: ""

E/AndroidRuntime(22838):    at java.lang.Integer.invalidInt(Integer.java:138)

E/AndroidRuntime(22838):    at java.lang.Integer.parseInt(Integer.java:358)

E/AndroidRuntime(22838):    at java.lang.Integer.parseInt(Integer.java:334)

E/AndroidRuntime(22838):    at education.mahmoud.quranyapp.feature.show_sura_list.GoToSurah.onViewClicked(Unknown Source)

E/AndroidRuntime(22838):    at education.mahmoud.quranyapp.feature.show_sura_list.GoToSurah_ViewBinding$1.a(Unknown Source)

E/AndroidRuntime(22838):    at butterknife.a.a.onClick(Unknown Source)

E/AndroidRuntime(22838):    at android.view.View.performClick(View.java:5076)

E/AndroidRuntime(22838):    at android.view.View$PerformClick.run(View.java:20279)

E/AndroidRuntime(22838):    at android.os.Handler.handleCallback(Handler.java:739)

E/AndroidRuntime(22838):    at android.os.Handler.dispatchMessage(Handler.java:95)

E/AndroidRuntime(22838):    at android.os.Looper.loop(Looper.java:135)

E/AndroidRuntime(22838):    at android.app.ActivityThread.main(ActivityThread.java:5910)

E/AndroidRuntime(22838):    at java.lang.reflect.Method.invoke(Native Method)

E/AndroidRuntime(22838):    at java.lang.reflect.Method.invoke(Method.java:372)

E/AndroidRuntime(22838):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)

E/AndroidRuntime(22838):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)
MahmoudMabrok commented 5 years ago

I am sorry for this bug, it has been solved but the latest version is not available in Play Store (as it takes time for review )

latest version

https://github.com/MahmoudMabrok/QuranyApp/tree/master/apk

I look forward to listening from you after try this latest version

saraji-ali commented 5 years ago

thanks your sir bug has been solved thanks you