TourCount - When accessing the "line" icon, the application suddenly crashes

in utipian-io •  6 years ago  (edited)

Project Information



Expected behavior

Supposedly, the "line" icon does not crash when I want to access it.

Actual behavior

If in previous contributions I found errors on the "PENCIL" icon and the "PREPARE RECORDING" feature, then now I find the same thing in the "Line" icon located next to the pencil icon which is an application crashes and exits by itself.

How to reproduce

  • Install and open the app
  • Next step, please tap on the "line" icon located at the top beside the pencil icon
  • There you will find a fatal problem that the application suddenly crashes.


  • 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

--------- beginning of crash
05-24 00:11:43.541 4554 4554 E AndroidRuntime: FATAL EXCEPTION: main
05-24 00:11:43.541 4554 4554 E AndroidRuntime: Process: com.wmstein.tourcount, PID: 4554
05-24 00:11:43.541 4554 4554 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-24 00:11:43.541 4554 4554 E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3136)
05-24 00:11:43.541 4554 4554 E AndroidRuntime: at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3167)
05-24 00:11:43.541 4554 4554 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2514)
05-24 00:11:43.541 4554 4554 E AndroidRuntime: at android.app.ActivityThread.access$1000(ActivityThread.java:153)
05-24 00:11:43.541 4554 4554 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1373)
05-24 00:11:43.541 4554 4554 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
05-24 00:11:43.541 4554 4554 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
05-24 00:11:43.541 4554 4554 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5527)
05-24 00:11:43.541 4554 4554 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-24 00:11:43.541 4554 4554 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
05-24 00:11:43.541 4554 4554 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
05-24 00:11:43.541 4554 4554 E AndroidRuntime: Caused by: java.lang.SecurityException: "passive" location provider requires ACCESS_FINE_LOCATION permission.
05-24 00:11:43.541 4554 4554 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1620)
05-24 00:11:43.541 4554 4554 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1573)
05-24 00:11:43.541 4554 4554 E AndroidRuntime: at android.location.ILocationManager$Stub$Proxy.getProviderProperties(ILocationManager.java:1031)
05-24 00:11:43.541 4554 4554 E AndroidRuntime: at android.location.LocationManager.getProvider(LocationManager.java:373)
05-24 00:11:43.541 4554 4554 E AndroidRuntime: at com.wmstein.tourcount.CountingActivity.onResume(CountingActivity.java:268)
05-24 00:11:43.541 4554 4554 E AndroidRuntime: at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1259)
05-24 00:11:43.541 4554 4554 E AndroidRuntime: at android.app.Activity.performResume(Activity.java:6379)
05-24 00:11:43.541 4554 4554 E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3125)
05-24 00:11:43.541 4554 4554 E AndroidRuntime: ... 10 more
05-24 00:11:43.540 4514 4514 I art : Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.WebViewContentsClientAdapter$7>
05-24 00:11:43.541 4514 4514 I art : Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.WebViewContentsClientAdapter$7>
05-24 00:11:43.543 4514 4514 I art : Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.WebViewContentsClientAdapter$3>
05-24 00:11:43.543 4514 4514 I art : Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.WebViewContentsClientAdapter$3>
05-24 00:11:43.543 4554 4554 E MQSEventManagerDelegate: failed to get MQSService.
05-24 00:11:43.545 2148 2233 I WtEventController: Receive am_crash event for pid: 4554
05-24 00:11:43.546 3538 3605 I octvm_klo: klo lock
05-24 00:11:43.548 1432 2203 W ActivityManager: Force finishing activity com.wmstein.tourcount/.CountingActivity
05-24 00:11:43.550 1432 2203 I Timeline: Timeline: App_transition_ready time:54159
05-24 00:11:43.552 1432 2203 D ActivityTrigger: ActivityTrigger activityPauseTrigger
05-24 00:11:43.552 1432 2203 W ActivityManager: Force finishing activity com.wmstein.tourcount/.WelcomeActivity

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:  

Hi @apadet90,
you have published 3 reports in the same repository which Clearly show the same cause of crash via the same logs. I.E the missing Permission of GPS location. which causes a crash on every action performed on the app.
Reports published Here And Here show that the Log-cat are identical and they can be easily merged into a single report.
Of further investigation, we saw that you have not opened a single Github Issue in any of your scored reports. This is not something we reward here.
we only incentivize people who actually care about the open-source community and want to actually help the projects. you are showing all the traits that you are only doing this for monetary purposes.

According to the Spam section of the Utopian guidelines, contributions should not be submitted for monetary gain and continuous submission of such contributions may result into a ban. I advise you to learn more about open-source and what is GitHub to continue contributing here on Utopian.

This particular contribution and the rest of your contributions looks like they were made for monetary gain and not for helping the open source community.
That is why I will be scoring only one of the Contribution and leaving the rest.
Additionally, the background noises in your video create hindrance and lower the quality of the overall post.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


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

Hey @apadet90
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!