TourCount - Application crashes when the "PREPARE RECORDING" feature is accessed.

in utipian-io •  7 years ago  (edited)

Project Information



Expected behavior

Supposedly, when I want to access the "PREPARE RECORDING" feature the app does not crash and exit without a command.

Actual behavior

The app crashes when the user accesses the "PREPARE RECORDING" feature and exits by itself without any command.

How to reproduce

  • Install and open the app
  • If already signed in the app, then access the "PREPARE RECORDING" feature
  • Then the app will crash and exit without command.


  • 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

https://github.com/apadet90

Logcat

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

I have replied regarding to this post here
Utopian-io
Bug-hunting
[Community-Manager]