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

Error opening Saved Slot on Android 12 #353

Open
co-silviu opened this issue Jan 6, 2022 · 5 comments
Open

Error opening Saved Slot on Android 12 #353

co-silviu opened this issue Jan 6, 2022 · 5 comments
Labels
Bug Something isn't working Unverified Issue not yet confirmed/reproduced or feature requests not yet checked for plausibility

Comments

@co-silviu
Copy link

Describe your problem!

I saved the game and when I try to open it I receive an error message, I will provide error log

How to reproduce?

Save the game, close app, reopen app and saved slot, receive error

Actual result after these steps?

App error message - Null pointer

Expected result after these steps?

To open the saved slot

Reproducible

Yes

WhereYouGo Version

2022.01.02

System information

Pixel 6, Android 12

Additional Information

Link to log error https://we.tl/t-A1j1pJA5vv

@co-silviu co-silviu added Bug Something isn't working Unverified Issue not yet confirmed/reproduced or feature requests not yet checked for plausibility labels Jan 6, 2022
@Lineflyer
Copy link
Member

Thanks for reporting.

Your link is not working.

What directory did you define in settings for your cartridges to be saved.
As WhereYouGo did not set be reworked to have a proper file access on Android 11+ it might fail if you select some random folder.

@sk-juroot
Copy link
Contributor

Content of error.log attached:

2022/01/05 16:29:30
[MainApplication] onTrimMemory(20): savegame failed
2022/01/05 16:30:40
[MainApplication] onTrimMemory(20): savegame failed
2022/01/05 16:32:07
[MainApplication] onTrimMemory(20): savegame failed
2022/01/05 16:34:24
[MainApplication] onTrimMemory(20): savegame failed
2022/01/05 16:36:23
[MainApplication] onTrimMemory(20): savegame failed
2022/01/05 16:37:14
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/05 16:37:14
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/05 16:37:14
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/05 16:37:14
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/05 16:37:14
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/05 16:37:29
[MainApplication] onTrimMemory(20): savegame failed
2022/01/05 17:47:36
[MainApplication] onTrimMemory(20): savegame failed
2022/01/05 21:22:17
[MainApplication] onTrimMemory(20): savegame failed
2022/01/06 10:05:47
[MainApplication] onTrimMemory(20): savegame failed
2022/01/06 10:07:00
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:01
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:02
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:03
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:04
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:05
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:06
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:07
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:08
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:13
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:14
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:15
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:16
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:17
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:18
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:19
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:20
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:21
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:22
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:23
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:24
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:25
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:26
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:27
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:28
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:29
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:30
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:31
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)
2022/01/06 10:07:32
[WUI] showError(you hit a bug! please report at openwig.googlecode.com and i'll fix it for you!
java.lang.NullPointerException: Attempt to read from field 'cz.matejcik.openwig.Cartridge cz.matejcik.openwig.Engine.cartridge' on a null object reference)

@sk-juroot
Copy link
Contributor

From the first sight, this could be one of problems being fixed with #309 , will keep my eye on that. For now, I will suggest to pick only the WhereYouGo "private" folder for everything WYG related (cartridges, savegames, logs) here: /data/user/0/menion.android.whereyougo/files/

@co-silviu
Copy link
Author

Thanks for your input but he only folder where I could copy the cartridge and map file, was
folder storage/emulated/0/Android/media, in /data I don't have access and Wherigo Settings can't use a folder which is not in /emulated/0/Android.

Maybe you can check why the error message like the one from log file, is displayed many times in application, like 3 per second, so I have to press many times the close dialog for every message error. One error message should be enough.

I will wait for the new version with issue #309 resolved.

@Lineflyer
Copy link
Member

It should work on Android 12 if you use the default storage place, which should IMHO be /storage/emulated/0/Android/data/menion.android.whereyougo/files/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Unverified Issue not yet confirmed/reproduced or feature requests not yet checked for plausibility
Projects
None yet
Development

No branches or pull requests

3 participants