Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(BUG)[Total Zero VERSION 1.2] The application crashes when I click on the equal to sign (=) #2

Closed
XAMIR555 opened this issue Jun 6, 2019 · 0 comments

Comments

@XAMIR555
Copy link

XAMIR555 commented Jun 6, 2019

Project Information

Expected behavior

When I click on the equal (=) sign, the result should be displayed And the application should not crash

Actual behavior

The application crashes when I click on the equal to sign (=)

How to reproduce

  • Download and open the application

  • click on Make it zero

  • click on the equal (=) sign,

  • Note the Bug

  • Browser/App version-: v1.2

  • Operating system----: 9.0.0

Recording Of The Bug

20190606_170431

Logcat

06-06 17:00:19.236 10157 10157 E AndroidRuntime: FATAL EXCEPTION: main
06-06 17:00:19.236 10157 10157 E AndroidRuntime: Process: com.andreasgift.totalzero, PID: 10157
06-06 17:00:19.236 10157 10157 E AndroidRuntime: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
06-06 17:00:19.236 10157 10157 E AndroidRuntime: 	at java.util.ArrayList.get(ArrayList.java:437)
06-06 17:00:19.236 10157 10157 E AndroidRuntime: 	at com.andreasgift.totalzero.MainActivity.a(Unknown Source:1)
06-06 17:00:19.236 10157 10157 E AndroidRuntime: 	at com.andreasgift.totalzero.MainActivity.k(Unknown Source:194)
06-06 17:00:19.236 10157 10157 E AndroidRuntime: 	at com.andreasgift.totalzero.MainActivity$3.onClick(Unknown Source:59)
06-06 17:00:19.236 10157 10157 E AndroidRuntime: 	at android.view.View.performClick(View.java:7339)
06-06 17:00:19.236 10157 10157 E AndroidRuntime: 	at android.widget.TextView.performClick(TextView.java:14222)
06-06 17:00:19.236 10157 10157 E AndroidRuntime: 	at android.view.View.performClickInternal(View.java:7305)
06-06 17:00:19.236 10157 10157 E AndroidRuntime: 	at android.view.View.access$3200(View.java:846)
06-06 17:00:19.236 10157 10157 E AndroidRuntime: 	at android.view.View$PerformClick.run(View.java:27788)
06-06 17:00:19.236 10157 10157 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:873)
06-06 17:00:19.236 10157 10157 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:99)
06-06 17:00:19.236 10157 10157 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:214)
06-06 17:00:19.236 10157 10157 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7073)
06-06 17:00:19.236 10157 10157 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
06-06 17:00:19.236 10157 10157 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
06-06 17:00:19.236 10157 10157 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)
06-06 17:00:40.929 10759 10759 E AndroidRuntime: FATAL EXCEPTION: main
06-06 17:00:40.929 10759 10759 E AndroidRuntime: Process: com.andreasgift.totalzero, PID: 10759
06-06 17:00:40.929 10759 10759 E AndroidRuntime: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
06-06 17:00:40.929 10759 10759 E AndroidRuntime: 	at java.util.ArrayList.get(ArrayList.java:437)
06-06 17:00:40.929 10759 10759 E AndroidRuntime: 	at com.andreasgift.totalzero.MainActivity.k(Unknown Source:96)
06-06 17:00:40.929 10759 10759 E AndroidRuntime: 	at com.andreasgift.totalzero.MainActivity$3.onClick(Unknown Source:59)
06-06 17:00:40.929 10759 10759 E AndroidRuntime: 	at android.view.View.performClick(View.java:7339)
06-06 17:00:40.929 10759 10759 E AndroidRuntime: 	at android.widget.TextView.performClick(TextView.java:14222)
06-06 17:00:40.929 10759 10759 E AndroidRuntime: 	at android.view.View.performClickInternal(View.java:7305)
06-06 17:00:40.929 10759 10759 E AndroidRuntime: 	at android.view.View.access$3200(View.java:846)
06-06 17:00:40.929 10759 10759 E AndroidRuntime: 	at android.view.View$PerformClick.run(View.java:27788)
06-06 17:00:40.929 10759 10759 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:873)
06-06 17:00:40.929 10759 10759 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:99)
06-06 17:00:40.929 10759 10759 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:214)
06-06 17:00:40.929 10759 10759 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7073)
06-06 17:00:40.929 10759 10759 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
06-06 17:00:40.929 10759 10759 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
06-06 17:00:40.929 10759 10759 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)
andrea-liu87 referenced this issue Jun 8, 2019
change layout to constraint layout
upgrade to new build tools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants