Cypress crashes: TypeError: Cannot read property '0' of null
See original GitHub issuebug
version
Cypress 1.0.1 on Linux
When @jennifer-shehane changed her GitHub email, Cypress run started crashing trying to parse the commit author line (in several projects).
Opening Cypress...
TypeError: Cannot read property '0' of null
at Function.module.exports.Commit.actor (/root/cypress-dashboard/node_modules/cypress/dist/Cypress/resources/app/packages/server/node_modules/gift/lib/commit.js:176:56)
at Function.module.exports.Commit.parse_commits (/root/cypress-dashboard/node_modules/cypress/dist/Cypress/resources/app/packages/server/node_modules/gift/lib/commit.js:139:21)
at /root/cypress-dashboard/node_modules/cypress/dist/Cypress/resources/app/packages/server/node_modules/gift/lib/commit.js:99:39
at ChildProcess.exithandler (child_process.js:209:7)
The crash happens inside gift
package at line that tries to parse author line
ref1 = this.actor(author_line), author = ref1[0], authored_date = ref1[1];
We need to handle the crash.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
uncaught typeerror: cannot read properties of undefined ...
In your example Uncaught TypeError: Cannot read properties of undefined (reading 'replace' ) can occur only if your variables song and/or artist are...
Read more >Cypress fixtures - Cannot read properties of undefined ...
I'm trying to use fixtures to hold data for different tests, specifically user credentials. This is an example of the code. When it...
Read more >Error Messages | Cypress Documentation
We found an error preparing your test file. This message means that Cypress encountered an error when compiling and/or bundling your test file....
Read more >Cypress Tips and Tricks - Gleb Bahmutov
For Cypress v10+ specific tips, read the blog post Cypress v10 Tips and Tricks. ... Uncaught TypeError: Cannot assign to read only property...
Read more >cypress-io/cypress - Gitter
Using cypress-cucumber-preprocessor plugin I am unable to use cy.fixture method ... for some of my tests: TypeError: Cannot set property 'innerHTML' of null....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
work around for now - disable PGP signature 😦
Fixed in
1.0.3
.