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

Android: Unexcepted RuntimeError onResume #14118

Open
1 task done
Informate opened this issue Sep 17, 2024 · 2 comments
Open
1 task done

Android: Unexcepted RuntimeError onResume #14118

Informate opened this issue Sep 17, 2024 · 2 comments
Labels
bug needs triage This issue hasn't been reviewed by maintainers

Comments

@Informate
Copy link

Informate commented Sep 17, 2024

I have searched and made sure there are no existing issues for the issue I am filing

  • I have searched the existing issues

Description

I found this unexpected error on resume.
(Maybe it could be my Samsung phone experiencing an elsewhere not existent problem).

On app resume this error sometimes appeares and inhibits app resume:

runtime-error

I have also another similar issue with the interval service.
The service object is memorized at service startup (for each cycle) into a variable, later on inside a setInterval (when a bounded service already called the paused event) I call toForergroundNotify, but sometimes the call fails with the error: can not read property 'forergroundNotify' of null !!! (In theory as long as I know the object should be null from startup, but I haven't checked this now).

Expected Behavior

No Error on Resume

Actual behavior

From time to time this error could happen

Reproducible sample

X

Steps to reproduce

X

Platform

Android

SDK version you are using

12.4.0 GA

Alloy version you are using

No response

@Informate Informate added bug needs triage This issue hasn't been reviewed by maintainers labels Sep 17, 2024
@m1ga
Copy link
Contributor

m1ga commented Sep 18, 2024

is this with Liveview enabled? If so: this happens from time to time. I never have this without liveview or in production

The forergroundNotify part sounds more like something you have to fix in your app.

@Informate
Copy link
Author

I am not sure what LiveView is. I would say not using but not sure.
It is not in production, is an APK uploaded via USB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs triage This issue hasn't been reviewed by maintainers
Projects
None yet
Development

No branches or pull requests

2 participants