2050 v1.0.5; App crashes when theme is changed

in #utopian-io5 years ago (edited)

Project Information

Repository: https://github.com/mattvchandler/2050
Project Name: 2050

Expected behavior

The game should be visible for playing and also not crash when the theme is changed in settings.

Actual behavior

The game window becomes totally dark with none of the numbers visible and crashes when user tries to access the theme change settings again.

How To Reproduce

1 Launch the app
2 Click on the menu button (3 horizontal dots at the top right corner)
3 Click on settings
4 Click on "Day / Night Theme" option
5 Select "Night", and then go back to the gameplay window
6 Now repeat the steps 1-3 and you'll see the crash

Device
Android 6.0
App Version 1.0.5

Screen Recording

GitHub Account

https://github.com/jubreal

Link to Github Issue here

LOGCAT

05-30 21:17:03.466 I/am_proc_start(898): [0,5738,10522,org.mattvchandler.a2050,activity,org.mattvchandler.a2050/.MainActivity]
05-30 21:17:03.575 I/am_proc_bound(898): [0,5738,org.mattvchandler.a2050]
05-30 21:17:03.579 I/am_restart_activity(898): [0,172839263,117225,org.mattvchandler.a2050/.MainActivity]
05-30 21:17:03.738 I/am_on_resume_called(5738): [0,org.mattvchandler.a2050.MainActivity]
05-30 21:17:03.951 I/am_activity_launch_time(898): [0,172839263,org.mattvchandler.a2050/.MainActivity,497,89753]
05-30 21:17:08.286 I/am_create_activity(898): [0,92926408,117225,org.mattvchandler.a2050/.Settings,NULL,NULL,NULL,0]
05-30 21:17:08.287 I/am_pause_activity(898): [0,172839263,org.mattvchandler.a2050/.MainActivity]
05-30 21:17:08.296 I/am_focused_activity(898): [0,org.mattvchandler.a2050/.Settings]
05-30 21:17:08.331 I/am_on_paused_called(5738): [0,org.mattvchandler.a2050.MainActivity]
05-30 21:17:08.335 I/am_restart_activity(898): [0,92926408,117225,org.mattvchandler.a2050/.Settings]
05-30 21:17:08.432 I/am_on_resume_called(5738): [0,org.mattvchandler.a2050.Settings]
05-30 21:17:08.683 I/am_activity_launch_time(898): [0,92926408,org.mattvchandler.a2050/.Settings,349,349]
05-30 21:17:08.961 I/sf_frame_dur(271): [org.mattvchandler.a2050/org.mattvchandler.a2050.MainActivity,34,5,28,3,0,0,0]
05-30 21:17:11.161 I/am_on_paused_called(5738): [0,org.mattvchandler.a2050.Settings]
05-30 21:17:11.262 I/am_on_resume_called(5738): [0,org.mattvchandler.a2050.Settings]
05-30 21:17:11.301 I/sf_frame_dur(271): [org.mattvchandler.a2050/org.mattvchandler.a2050.Settings,36,4,1,0,1,0,0]
05-30 21:17:11.333 I/sf_frame_dur(271): [org.mattvchandler.a2050/org.mattvchandler.a2050.Settings,2,1,0,0,1,1,0]
05-30 21:17:11.373 I/am_on_paused_called(5738): [0,org.mattvchandler.a2050.Settings]
05-30 21:17:11.419 I/am_on_resume_called(5738): [0,org.mattvchandler.a2050.Settings]
05-30 21:17:12.632 I/am_finish_activity(898): [0,92926408,117225,org.mattvchandler.a2050/.Settings,app-request]
05-30 21:17:12.636 I/am_focused_activity(898): [0,org.mattvchandler.a2050/.MainActivity]
05-30 21:17:12.637 I/am_pause_activity(898): [0,92926408,org.mattvchandler.a2050/.Settings]
05-30 21:17:12.640 I/am_on_paused_called(5738): [0,org.mattvchandler.a2050.Settings]
05-30 21:17:12.643 I/am_resume_activity(898): [0,172839263,117225,org.mattvchandler.a2050/.MainActivity]
05-30 21:17:12.648 I/am_on_resume_called(5738): [0,org.mattvchandler.a2050.MainActivity]
05-30 21:17:12.682 I/am_on_paused_called(5738): [0,org.mattvchandler.a2050.MainActivity]
05-30 21:17:12.780 I/am_on_resume_called(5738): [0,org.mattvchandler.a2050.MainActivity]
05-30 21:17:13.214 I/am_destroy_activity(898): [0,92926408,117225,org.mattvchandler.a2050/.Settings,finish-imm]
05-30 21:17:13.231 I/sf_frame_dur(271): [org.mattvchandler.a2050/org.mattvchandler.a2050.Settings,0,1,0,0,0,0,1]
05-30 21:17:15.835 I/am_create_activity(898): [0,55312492,117225,org.mattvchandler.a2050/.Settings,NULL,NULL,NULL,0]
05-30 21:17:15.836 I/am_pause_activity(898): [0,172839263,org.mattvchandler.a2050/.MainActivity]
05-30 21:17:15.844 I/am_focused_activity(898): [0,org.mattvchandler.a2050/.Settings]
05-30 21:17:15.982 I/am_pss  (898): [5738,10522,org.mattvchandler.a2050,60731392,57521152]
05-30 21:17:16.243 I/am_crash(898): [898,0,org.mattvchandler.a2050,952680004,Native crash,Aborted,unknown,0]
05-30 21:17:16.339 I/am_restart_activity(898): [0,55312492,117225,org.mattvchandler.a2050/.Settings]
05-30 21:17:16.379 I/am_finish_activity(898): [0,172839263,117225,org.mattvchandler.a2050/.MainActivity,proc died without state saved]
05-30 21:17:16.395 I/am_proc_start(898): [0,5796,10522,org.mattvchandler.a2050,activity,org.mattvchandler.a2050/.Settings]
05-30 21:17:16.507I/am_proc_bound(898): [0,5796,org.mattvchandler.a2050]
05-30 21:17:16.510 I/am_restart_activity(898): [0,55312492,117225,org.mattvchandler.a2050/.Settings]
05-30 21:17:16.647 I/am_on_resume_called(5796): [0,org.mattvchandler.a2050.Settings]
05-30 21:17:16.669 I/am_on_paused_called(5796): [0,org.mattvchandler.a2050.Settings]
05-30 21:17:16.723 I/am_on_resume_called(5796): [0,org.mattvchandler.a2050.Settings]
05-30 21:17:16.890 I/am_activity_launch_time(898): [0,55312492,org.mattvchandler.a2050/.Settings,551,551]
05-30 21:17:17.158 I/sf_frame_dur(271): [org.mattvchandler.a2050/org.mattvchandler.a2050.MainActivity,36,1,1,2,0,0,0]
05-30 21:17:18.142 I/sf_frame_dur(271): [Application Error: org.mattvchandler.a2050,0,1,0,0,0,2,0]
05-30 21:17:19.067 I/am_pause_activity(898): [0,55312492,org.mattvchandler.a2050/.Settings]
05-30 21:17:19.070 I/am_on_paused_called(5796): [0,org.mattvchandler.a2050.Settings]
05-30 21:17:19.561 I/sf_frame_dur(271): [org.mattvchandler.a2050/org.mattvchandler.a2050.Settings,23,1,0,0,2,0,0] ```
Sort:  

Can you please include the project's repository? And the link to the issue opened on github

sorry about that please, I got your message while trying to rectify it.

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

Hi @jubreal, thanks for making this contribution.

The game sort of reminds me of 2048. Thanks for providing a logcat, although I am unable to spot the cause from reading the trace. I can see the PO has acknowledged the bug. Hopefully, a fix is in the works.

I look forward to your next report

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]

Hi @jubreal!

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, @jubreal!

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.15
TRX 0.16
JST 0.028
BTC 68787.57
ETH 2439.22
USDT 1.00
SBD 2.34