[BUG] the application is crash when i click on trigger number

in #utopian-io7 years ago (edited)

Project Information

The PO has acknowledged the bug

@tacticalDevC tacticalDevC added bug high priority labels a day ago
tacticalDevC self-assigned this a day ago

Expected behavior

I'm expecting that The application should not be crashed when I click the trigger number option.

Actual behavior

After configuring the application. The app gets crashes when I click the Trigger number option. you can see in bug video properly

How to reproduce

  • Download and open the application
  • click on configure
  • and then click on trigger number
  • Note the Bug
  • Browser/App version-:0.4-4
  • Operating system----:8.0.0

Recording Of The Bug

final_5cc6befb64533c0013870cd3_36521

Logcat

04-27 22:08:09.236 27239 27239 E AndroidRuntime: Process: at.tacticaldevc.panictrigger, PID: 27239
04-27 22:08:09.236 27239 27239 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{at.tacticaldevc.panictrigger/at.tacticaldevc.panictrigger.ContactPickerActivity}: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
04-27 22:08:09.236 27239 27239 E AndroidRuntime:    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3303)
04-27 22:08:09.236 27239 27239 E AndroidRuntime:    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3411)
04-27 22:08:09.236 27239 27239 E AndroidRuntime:    at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:5477)
04-27 22:08:09.236 27239 27239 E AndroidRuntime:    at android.app.ActivityThread.-wrap19(Unknown Source:0)
04-27 22:08:09.236 27239 27239 E AndroidRuntime:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2000)
04-27 22:08:09.236 27239 27239 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:108)
04-27 22:08:09.236 27239 27239 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:166)
04-27 22:08:09.236 27239 27239 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:7529)
04-27 22:08:09.236 27239 27239 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
04-27 22:08:09.236 27239 27239 E AndroidRuntime:    at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
04-27 22:08:09.236 27239 27239 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
04-27 22:08:09.236 27239 27239 E AndroidRuntime: Caused by: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
04-27 22:08:09.236 27239 27239 E AndroidRuntime:    at at.tacticaldevc.panictrigger.ContactPickerActivity.onCreate(ContactPickerActivity.java:90)
04-27 22:08:09.236 27239 27239 E AndroidRuntime:    at android.app.Activity.performCreate(Activity.java:7383)
04-27 22:08:09.236 27239 27239 E AndroidRuntime:    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1218)
04-27 22:08:09.236 27239 27239 E AndroidRuntime:    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3256)
04-27 22:08:09.236 27239 27239 E AndroidRuntime:    ... 10 more
04-27 22:15:10.999 27688 27688 E AndroidRuntime: FATAL EXCEPTION: main
04-27 22:15:10.999 27688 27688 E AndroidRuntime: Process: at.tacticaldevc.panictrigger, PID: 27688
04-27 22:15:10.999 27688 27688 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{at.tacticaldevc.panictrigger/at.tacticaldevc.panictrigger.ContactPickerActivity}: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
04-27 22:15:10.999 27688 27688 E AndroidRuntime:    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3303)
04-27 22:15:10.999 27688 27688 E AndroidRuntime:    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3411)
04-27 22:15:10.999 27688 27688 E AndroidRuntime:    at android.app.ActivityThread.-wrap12(Unknown Source:0)
04-27 22:15:10.999 27688 27688 E AndroidRuntime:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1994)
04-27 22:15:10.999 27688 27688 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:108)
04-27 22:15:10.999 27688 27688 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:166)
04-27 22:15:10.999 27688 27688 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:7529)
04-27 22:15:10.999 27688 27688 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
04-27 22:15:10.999 27688 27688 E AndroidRuntime:    at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
04-27 22:15:10.999 27688 27688 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
04-27 22:15:10.999 27688 27688 E AndroidRuntime: Caused by: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
04-27 22:15:10.999 27688 27688 E AndroidRuntime:    at at.tacticaldevc.panictrigger.ContactPickerActivity.onCreate(ContactPickerActivity.java:90)
04-27 22:15:10.999 27688 27688 E AndroidRuntime:    at android.app.Activity.performCreate(Activity.java:7383)
04-27 22:15:10.999 27688 27688 E AndroidRuntime:    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1218)
04-27 22:15:10.999 27688 27688 E AndroidRuntime:    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3256)
04-27 22:15:10.999 27688 27688 E AndroidRuntime:    ... 9 more
Sort:  

Hi @xamir5, thanks for making this contribution.

I see the PO has acknowledged the bug with a promise to come up with a fix the moment he gets the chance. I like that you provided a crash log. It helps narrow the search.

Your post still has a lot of spelling mistakes. I will suggest you use grammarly in your next contribution to help reduce the grammatical errors.

Other than that, it is a great find. I look forward to your next contribution.

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? Chat with us on Discord.

[utopian-moderator]

Thank you for your review, @fego! Keep up the good work!

Hi @xamir5!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Hey, @xamir5!

Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Coin Marketplace

STEEM 0.04
TRX 0.32
JST 0.098
BTC 64555.14
ETH 1916.97
USDT 1.00
SBD 0.38