Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

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

Open
XAMIR555 opened this issue Apr 27, 2019 · 5 comments
Open

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

XAMIR555 opened this issue Apr 27, 2019 · 5 comments
Assignees
Labels
bug Something isn't working high priority This issue has a high priority question Further information is requested

Comments

@XAMIR555
Copy link

XAMIR555 commented Apr 27, 2019

Project Information

Expected behavior

I expected that the application should not be crash when i click on the trigger number option

Actual behavior

After configure the application when i click on the trigher number option the application is crash 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

GitHub Account

https://github.com/XAMIR555

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
@0x5ECF4ULT
Copy link
Owner

Hello friend!
Thank you for reaching out to me. Could you provide me the logcat output please?
You can either do that with an application (requires root privileges) or via Android Studio.

@XAMIR555
Copy link
Author

XAMIR555 commented Apr 28, 2019

here is 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

@0x5ECF4ULT
Copy link
Owner

Thank you very much I will investigate this issue now. Please keep in mind that it could take a while until it is fixed. I don't have that much time :)

@0x5ECF4ULT 0x5ECF4ULT changed the title [ Panic Trigger 0.4-4 ] the application is crash when i click on trigger number [BUG] the application is crash when i click on trigger number Apr 28, 2019
@0x5ECF4ULT 0x5ECF4ULT added bug Something isn't working high priority This issue has a high priority labels Apr 28, 2019
@0x5ECF4ULT 0x5ECF4ULT self-assigned this Apr 28, 2019
@XAMIR555
Copy link
Author

thanks u sir

@0x5ECF4ULT
Copy link
Owner

Hello XAMIR555,
Since you opened this issue I changed the lines shown in the stacktrace. Can you still reproduce the bug? If yes can you please provide me a new stacktrace?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working high priority This issue has a high priority question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants