-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Exception in thread "main" com.fasterxml.jackson.databind.JsonMappingException: Document nesting depth (1001) exceeds the maximum allowed #406
Comments
@Fabi9199 please can you try with npm-groovy-lint@beta ? |
@nvuillam Thanks for the quick answer!
I played around a little bit and realised this issue do not come up if I run Could you explain the impact of it? |
@Fabi9199 the Groovy files parsing uses Groovy 3.9.0 parser to confirm that the code is correct What version of groovy are you using ? Would it be possible to share an example of your Jenkinsfile so I can reproduce ? |
@nvuillam I currently do not know which Groovy Version our Jenkins is using. I will try to find out and come back to you. I created a repository containing one of the files, which are failing with the mentioned exception: Just run |
Great! You`re welcome, I really appreciate your support here, thanks! :) Do you have any hint, how I can enable the |
@Fabi9199 you can't for now but I'm currently making updates to VsCode Groovy Lint so I'll add this option ! |
Convert parse errors into strings manually to avoid JSON serialisation failure due to circular references. Fixes #406
Convert parse errors into strings manually to avoid JSON serialisation failure due to circular references. Fixes #406
Convert parse errors into strings manually to avoid JSON serialisation failure due to circular references. Fixes #406
@Fabi9199 glad your use case is ok now :) Thanks for reporting the issue :) |
Hey
I am facing an issue during linting of several groovy files I am using in a Jenkins Pipeline.
The log containing the exception can be seen here:
Exception.log
I am using the groovy linter now in several projects but only face this problem in one of them, it is a Jenkins Library.
What could be the problem causing this?
Thanks and best regards,
Fabian
The text was updated successfully, but these errors were encountered: