Skip to content

Cannot read 'split' of undefined #17378

@jennifer-shehane

Description

@jennifer-shehane

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

Metadata

Metadata

Assignees

Labels

pkg/driverThis is due to an issue in the packages/driver directorytype: bug

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions