The app crashes when clicking on the "COUNTING" feature

in utopian-io •  7 years ago 

Project Information

Repository : https://github.com/wistein/TourCount
Title : TourCount
Publisher : Wilhelm Stein

Expected behavior

Supposedly, when I click on the "Counting" feature, the feature works fine without error

Actual behavior

When I open the app and click on the "COUNTING" feature, the app suddenly crashes and exits by itself. And I have reinstalled, but the error persists.

How to reproduce

  1. Install and open the app
  2. Next click the feature "COUNTING" located under the Prepare Recording feature. Or click the Counting icon located above the app next to the pencil icon.
    Then you will find the error as I experienced

  • Device: Xiaomi Redmi 4X
  • Operating system: Marshmallow, 6.0.1 mmb29m (CPU: Octa-core Max 1.9 GHz, RAM: 2 GB)
  • Application Version: 3.0.3

Recording Of The Bug

Proof of Work Done

Submitted the issue on GitHub: Click here
My GitHub Profile: https://github.com/ahyar92

Logcat

05-25 05:42:28.915  3695  3695 E AndroidRuntime: FATAL EXCEPTION: main
05-25 05:42:28.915  3695  3695 E AndroidRuntime: Process: com.wmstein.tourcount, PID: 3695
05-25 05:42:28.915  3695  3695 E AndroidRuntime: java.lang.RuntimeException: Unable to resume activity {com.wmstein.tourcount/com.wmstein.tourcount.CountingActivity}: java.lang.SecurityException: "passive" location provider requires ACCESS_FINE_LOCATION permission.
05-25 05:42:28.915  3695  3695 E AndroidRuntime:    at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3136)
05-25 05:42:28.915  3695  3695 E AndroidRuntime:    at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3167)
05-25 05:42:28.915  3695  3695 E AndroidRuntime:    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2514)
05-25 05:42:28.915  3695  3695 E AndroidRuntime:    at android.app.ActivityThread.access$1000(ActivityThread.java:153)
05-25 05:42:28.915  3695  3695 E AndroidRuntime:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1373)
05-25 05:42:28.915  3695  3695 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:102)
05-25 05:42:28.915  3695  3695 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:154)
05-25 05:42:28.915  3695  3695 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:5527)
05-25 05:42:28.915  3695  3695 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
05-25 05:42:28.915  3695  3695 E AndroidRuntime:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
05-25 05:42:28.915  3695  3695 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
05-25 05:42:28.915  3695  3695 E AndroidRuntime: Caused by: java.lang.SecurityException: "passive" location provider requires ACCESS_FINE_LOCATION permission.
05-25 05:42:28.915  3695  3695 E AndroidRuntime:    at android.os.Parcel.readException(Parcel.java:1620)
05-25 05:42:28.915  3695  3695 E AndroidRuntime:    at android.os.Parcel.readException(Parcel.java:1573)
05-25 05:42:28.915  3695  3695 E AndroidRuntime:    at android.location.ILocationManager$Stub$Proxy.getProviderProperties(ILocationManager.java:1031)
05-25 05:42:28.915  3695  3695 E AndroidRuntime:    at android.location.LocationManager.getProvider(LocationManager.java:373)
05-25 05:42:28.915  3695  3695 E AndroidRuntime:    at com.wmstein.tourcount.CountingActivity.onResume(CountingActivity.java:268)
05-25 05:42:28.915  3695  3695 E AndroidRuntime:    at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1259)
05-25 05:42:28.915  3695  3695 E AndroidRuntime:    at android.app.Activity.performResume(Activity.java:6379)
05-25 05:42:28.915  3695  3695 E AndroidRuntime:    at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3125)
05-25 05:42:28.915  3695  3695 E AndroidRuntime:    ... 10 more
05-25 05:42:28.917  3695  3695 E MQSEventManagerDelegate: failed to get MQSService.
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:  

Hello @ahyar92, thank you for contributing through Utopian but a similar issues was submitted here few day ago, endeavor to always check for a report that is similar to your report before submitting.

Anyways, We appreciate your contribution.


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

[utopian-moderator]

No problem for that
thank you sir @tykee

bang @ahyar92
ajarin bang, cara ngetest aplikasi error kayak gitu,,,
gilak bang @rezamusic sampe dapet $30 lebih,,, njir,,,
ane mau bang, ketimbang bikin artikel lain gak guna,,, mending gini ada kesempatan dikit2,,, meskipun harus bekerja lebih keras,,,
buat ngumpulin STEEM bang, buat nyewa delegasi :D

bang ane dah add di discord :)
hehe kasih tau resep rahasianya ya bang, pengen dapet income juga dari steemit

Yoiii
Sudah di accept @calprut

Thank you! Every time I read your posts and watch videos I learn something new for myself. )

youare welcome
and thanks for comment

Congratulations @ahyar92! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes
Award for the number of comments received

Click on any badge to view your Board of Honor.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

Do not miss the last announcement from @steemitboard!

Do you like SteemitBoard's project? Vote for its witness and get one more award!