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

in #utopian-io5 years ago

Project Information

The PO has acknowledged the bug

snufflesrea referenced this issue 16 hours ago

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)
Sort:  

Thanks for your contribution.

Great to see that this has been reported and then acknowledged by the project owner.

I was unable to test due to the APK not being available via the link provided and unable to find anywhere, not sure, but due to the project owner acknowledging I feel this is enough to prove this is a bug on this occasion.

I would keep in mind that the steps you provided don't link up with the video and overall I believe the steps provided would work fine, it's due to the issue show in the video of creating an invalid input, I cannot be 100% on this occasion due to the issue mentioned previously, however something to think about in your next contribution.

Once again, thanks for your contribution and I look forward to seeing more in the future.

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, @tobias-g! 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.25
TRX 0.11
JST 0.033
BTC 63036.79
ETH 3067.42
USDT 1.00
SBD 3.82