vscode-jenkins-pipeline-linter-connector icon indicating copy to clipboard operation
vscode-jenkins-pipeline-linter-connector copied to clipboard

Command 'Validate Jenkinsfile' resulted in an error (Cannot convert undefined or null to object)

Open darth-hp opened this issue 4 years ago • 4 comments

Tried to run F1->Validate Jenkinsfile which resulted in "Command 'Validate Jenkinsfile' resulted in an error (Cannot convert undefined or null to object)". I configured settings but got no clue what's happening.

darth-hp avatar Oct 23 '20 10:10 darth-hp

I'm getting the same error when I'm trying to use token authentication. The workaround for me was to put the token as the password. see https://github.com/janjoerke/vscode-jenkins-pipeline-linter-connector/issues/19#issuecomment-596307978

timnee avatar Nov 04 '20 14:11 timnee

Would be fixed by #31

ohartl avatar Apr 26 '21 16:04 ohartl

I'm getting the same error when I'm trying to use token authentication. The workaround for me was to put the token as the password. see #19 (comment)

I had the same issue today - maybe the documentation should be updated

JoSSte avatar Oct 09 '23 08:10 JoSSte

Using this plugin puts me to this issue. Filling my Jenkins token in the Pass configuration field fires validation (https://github.com/janjoerke/vscode-jenkins-pipeline-linter-connector/issues/27#issuecomment-721766698) while in Token raises the error. v1.2.0, in WSL. 🤷‍♂️ Jenkins 2.452.1.

CrimsonEdgeHope avatar Jun 05 '24 08:06 CrimsonEdgeHope