Skip to content

codeAction failed with message: Cannot read property 'split' of undefined #18

@nvuillam

Description

@nvuillam

Thank you so much for this quick fix! There's still something left - resembles #6 - LMK if we should continue there:

Start linting file:///XXX/Jenkinsfile
GroovyLint: Started CodeNarc Server after 1 attempts
Completed linting file:///XXX/Jenkinsfile in 10831 ms
[Error - 7:56:11 AM] Request textDocument/codeAction failed.
  Message: Request textDocument/codeAction failed with message: Cannot read property 'split' of undefined
  Code: -32603 
[Error - 8:04:31 AM] Request textDocument/codeAction failed.
  Message: Request textDocument/codeAction failed with message: Cannot read property 'split' of undefined
  Code: -32603 
[Error - 8:04:33 AM] Request textDocument/codeAction failed.
  Message: Request textDocument/codeAction failed with message: Cannot read property 'split' of undefined
  Code: -32603 

EDIT: (Only) the last error seems to repeat after visiting the file again (without changes - no new linting), if it may help you pinpoint the issue ;-)

Originally posted by @yuvmel in #16 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions