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

Cannot read 'split' of undefined #17378

Closed
jennifer-shehane opened this issue Jul 16, 2021 · 2 comments · Fixed by #17575
Closed

Cannot read 'split' of undefined #17378

jennifer-shehane opened this issue Jul 16, 2021 · 2 comments · Fixed by #17575
Assignees
Labels
pkg/driver This is due to an issue in the packages/driver directory type: bug

Comments

@jennifer-shehane
Copy link
Member

Current behavior

We've had reports that this error is displaying for some users. This error should never be shown in Cypress. There's also not currently a great way to track down why this was thrown (what was the stacktrace or shape of error that made this occur).

Screen Shot 2021-07-16 at 3 35 19 PM

Desired behavior

We should better handle when the stack is undefined. Do not throw an error here and don't display the stack trace. This would unblock people who see this error.

Test code to reproduce

This happens intermittently in CI on a large project, so there hasn't been a provided example. Although I don't think this is necessary in order to create a fallback solution and to test it.

Cypress Version

7.5.0

Other

No response

@jennifer-shehane jennifer-shehane added type: bug pkg/driver This is due to an issue in the packages/driver directory labels Jul 16, 2021
@cypress-bot cypress-bot bot added stage: work in progress There is an open PR for this issue [WIP] and removed stage: to do labels Aug 2, 2021
@cypress-bot cypress-bot bot added stage: needs review The PR code is done & tested, needs review and removed stage: work in progress There is an open PR for this issue [WIP] labels Aug 3, 2021
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Aug 3, 2021

The code for this is done in cypress-io/cypress#17575, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot cypress-bot bot added stage: pending release and removed stage: needs review The PR code is done & tested, needs review labels Aug 3, 2021
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Aug 4, 2021

Released in 8.2.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v8.2.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Aug 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pkg/driver This is due to an issue in the packages/driver directory type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants