Bug priority: Critical
Description: The pop up message is displayed as "MISSING MESSAGE" if player two(Computer) wins the game. Whereas the message that should be displayed is "Player Two wins! congratulations"
Precondition: The game must be installed on the user's device
Expected result: A message - "Player Two wins! congratulations" should be displayed in the pop up
Actual Result: A message saying-"MISSING MESSAGE" is being displayed in the pop up
Error logs:
2020-12-13 11:59:22.823 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
2020-12-13 11:59:22.823 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at java.util.ArrayList.get(ArrayList.java:437)
2020-12-13 11:59:22.824 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at morteza.packag.com.tictactoekotlin.TicTacToeActivity.action(TicTacToeActivity.kt:149)
2020-12-13 11:59:22.824 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at morteza.packag.com.tictactoekotlin.TicTacToeActivity.imageButtonTapped(TicTacToeActivity.kt:99)
2020-12-13 11:59:22.825 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at java.lang.reflect.Method.invoke(Native Method)
2020-12-13 11:59:22.825 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:288)
2020-12-13 11:59:22.826 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at android.view.View.performClick(View.java:7448)
2020-12-13 11:59:22.827 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at android.view.View.performClickInternal(View.java:7425)
2020-12-13 11:59:22.828 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at android.view.View.access$3600(View.java:810)
2020-12-13 11:59:22.828 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at android.view.View$PerformClick.run(View.java:28305)
2020-12-13 11:59:22.828 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at android.os.Handler.handleCallback(Handler.java:938)
2020-12-13 11:59:22.829 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at android.os.Handler.dispatchMessage(Handler.java:99)
2020-12-13 11:59:22.829 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at android.os.Looper.loop(Looper.java:223)
2020-12-13 11:59:22.829 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at android.app.ActivityThread.main(ActivityThread.java:7656)
2020-12-13 11:59:22.829 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at java.lang.reflect.Method.invoke(Native Method)
2020-12-13 11:59:22.829 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
2020-12-13 11:59:22.829 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
2020-12-13 11:59:25.143 17146-17208/morteza.packag.com.tictactoekotlin D/OpenGLRenderer: endAllActiveAnimators on 0xe1f5b310 (RippleDrawable) with handle 0xe8670230
Bug priority: Critical Description: The pop up message is displayed as "MISSING MESSAGE" if player two(Computer) wins the game. Whereas the message that should be displayed is "Player Two wins! congratulations" Precondition: The game must be installed on the user's device Expected result: A message - "Player Two wins! congratulations" should be displayed in the pop up Actual Result: A message saying-"MISSING MESSAGE" is being displayed in the pop up
Error logs: 2020-12-13 11:59:22.823 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 2020-12-13 11:59:22.823 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at java.util.ArrayList.get(ArrayList.java:437) 2020-12-13 11:59:22.824 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at morteza.packag.com.tictactoekotlin.TicTacToeActivity.action(TicTacToeActivity.kt:149) 2020-12-13 11:59:22.824 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at morteza.packag.com.tictactoekotlin.TicTacToeActivity.imageButtonTapped(TicTacToeActivity.kt:99) 2020-12-13 11:59:22.825 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at java.lang.reflect.Method.invoke(Native Method) 2020-12-13 11:59:22.825 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:288) 2020-12-13 11:59:22.826 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at android.view.View.performClick(View.java:7448) 2020-12-13 11:59:22.827 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at android.view.View.performClickInternal(View.java:7425) 2020-12-13 11:59:22.828 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at android.view.View.access$3600(View.java:810) 2020-12-13 11:59:22.828 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at android.view.View$PerformClick.run(View.java:28305) 2020-12-13 11:59:22.828 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at android.os.Handler.handleCallback(Handler.java:938) 2020-12-13 11:59:22.829 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at android.os.Handler.dispatchMessage(Handler.java:99) 2020-12-13 11:59:22.829 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at android.os.Looper.loop(Looper.java:223) 2020-12-13 11:59:22.829 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at android.app.ActivityThread.main(ActivityThread.java:7656) 2020-12-13 11:59:22.829 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at java.lang.reflect.Method.invoke(Native Method) 2020-12-13 11:59:22.829 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) 2020-12-13 11:59:22.829 17146-17146/morteza.packag.com.tictactoekotlin W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947) 2020-12-13 11:59:25.143 17146-17208/morteza.packag.com.tictactoekotlin D/OpenGLRenderer: endAllActiveAnimators on 0xe1f5b310 (RippleDrawable) with handle 0xe8670230