-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 app crashes before tests run #3654
Comments
Device logs;
|
Detox logs;
|
@alexborton there is an application runtime crash happening, as can be seen in the line "Attempt to invoke virtual method 'boolean android.os.Bundle.isEmpty()' on a null object reference". You mention that it fails on CI - does the same thing happen when you run the tests locally? Does the crash happen also in debug or only in release mode? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions! For more information on bots in this repository, read this discussion. |
The issue has been closed for inactivity. |
What happened?
I have recently upgraded from React native 64 to 66 and our CI is now failing to run detox tests. It would appear the app is crashing, but there is nothing to suggest it should (i can run the release version and it builds successfully).
Detox itself returns a generic;
Detox can't seem to connect to the test app(s)!
What was the expected behaviour?
I would expect the app to run the tests as previously able to prior to react native changes. Application still runs as expected, it seems to only be detox that is struggling (iOS is having no issue either in detox or otherwise).
Was it tested on latest Detox?
Did your test throw out a timeout?
Help us reproduce this issue!
No response
In what environment did this happen?
Detox version: 19.12.6
React Native version: 0.66.4
Node version: 14
Device model: Pixel_3a_API_29
Android version: system-images;android-29;default;x86
Test-runner (select one): jest
Detox logs
Detox logs
Device logs
Device logs
More data, please!
No response
The text was updated successfully, but these errors were encountered: