The app crashes and exits on its own when accessing the "Share" feature

in utopian-io •  6 years ago 

Project Information

Repository : https://github.com/kaeptmblaubaer1000/android-torchlight
Title : TorchLight
Publisher : Kaeptm Blaubaer (kaeptmblaubaer1000)

Expected behavior

Supposedly, the "share" feature can be used without any errors.

Actual behavior

When I click on the "share" feature, the app suddenly crashes and exits by itself.

How to reproduce

  1. Install and open the app
  2. Next, click on the "Share" feature located in the top left menu of the app.
    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: 2.6

Recording Of The Bug

Proof of Work Done

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

Logcat

05-22 00:11:53.305 29721 29721 E AndroidRuntime: FATAL EXCEPTION: main
05-22 00:11:53.305 29721 29721 E AndroidRuntime: Process: com.fake.android.torchlight, PID: 29721
05-22 00:11:53.305 29721 29721 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference
05-22 00:11:53.305 29721 29721 E AndroidRuntime:    at java.io.File.fixSlashes(File.java:183)
05-22 00:11:53.305 29721 29721 E AndroidRuntime:    at java.io.File.<init>(File.java:130)
05-22 00:11:53.305 29721 29721 E AndroidRuntime:    at com.fake.android.torchlight.MainActivity.onNavigationItemSelected(MainActivity.java:157)
05-22 00:11:53.305 29721 29721 E AndroidRuntime:    at android.support.design.widget.NavigationView$1.onMenuItemSelected(NavigationView.java:156)
05-22 00:11:53.305 29721 29721 E AndroidRuntime:    at android.support.v7.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:822)
05-22 00:11:53.305 29721 29721 E AndroidRuntime:    at android.support.v7.view.menu.SubMenuBuilder.dispatchMenuItemSelected(SubMenuBuilder.java:88)
05-22 00:11:53.305 29721 29721 E AndroidRuntime:    at android.support.v7.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:156)
05-22 00:11:53.305 29721 29721 E AndroidRuntime:    at android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:969)
05-22 00:11:53.305 29721 29721 E AndroidRuntime:    at android.support.design.internal.NavigationMenuPresenter$1.onClick(NavigationMenuPresenter.java:342)
05-22 00:11:53.305 29721 29721 E AndroidRuntime:    at android.view.View.performClick(View.java:5207)
05-22 00:11:53.305 29721 29721 E AndroidRuntime:    at android.view.View$PerformClick.run(View.java:21177)
05-22 00:11:53.305 29721 29721 E AndroidRuntime:    at android.os.Handler.handleCallback(Handler.java:742)
05-22 00:11:53.305 29721 29721 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:95)
05-22 00:11:53.305 29721 29721 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:154)
05-22 00:11:53.305 29721 29721 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:5527)
05-22 00:11:53.305 29721 29721 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
05-22 00:11:53.305 29721 29721 E AndroidRuntime:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
05-22 00:11:53.305 29721 29721 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
05-22 00:11:53.307 29721 29721 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 this observation.

Bug reports must be on the latest version of the application. The latest version of the application is version 2.6 and the share feature is working perfectly.


From the video you are clearly using the version 0.02b5 but wrote in your report both here and Github that the version is 2.6.

I urge you to desist from this as you may get banned because in my opinion it is a way to milk Utopian thinking Moderators won't download the application and assume the bug still occurs in the latest version.


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

ajarin gan cara ngecek kayak gitu :D