-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
CodeNarcServer unexpected error: Parse Error: Invalid status code #374
Comments
I forgot to mention that the execution continues and seems properly terminating with expected detection done. It seems the error is triggered by the use of "-o test.html" or "-o test.xml" on the command line. |
This issue has been automatically marked as stale because it has not had recent activity. If you think this issue should stay open, please remove the |
little up to avoid closure of the ticket |
@guilcy XML and HTML are direct calls to CodeNarc formatter, it's much better to use txt , json or sarif, as npm-groovy-llint handles pre-processing and post-processing :) You could also upgrade nodejs to >= 20 |
I give it a try on nodejs 22.5.0, unfortunatly got the exact same behavior. I will check if we can get rid of the html rendering. (xml is not an issue we can suppress it). |
This issue has been automatically marked as stale because it has not had recent activity. If you think this issue should stay open, please remove the |
* Add troubleshooting section in documentation Related to #374 * build
@guilcy I added a troubleshooting section that will allow you to see more logs :) |
This issue has been automatically marked as stale because it has not had recent activity. If you think this issue should stay open, please remove the |
@guilcy thanks a lot :) |
@nvuillam I give it a try, unfortunatly I am not sure there is much info to understand the problem. Run on: debian 12 Command: DEBUG=npm-groovy-lint,npm-groovy-lint-trace npm-groovy-lint -i '/.git/' -o test.html scripts//*.groovy 1>&2 2> run-npm-groovy-linter.log |
This issue has been automatically marked as stale because it has not had recent activity. If you think this issue should stay open, please remove the |
Hello,
I encounter following error message when using npm-groovy-lint on a debian 12.
err.log
As I am not familiar at all with node technology, I am stuck.
Software versions involved:
root@486be283f05f:/home/jenkins# npm-groovy-lint --version
GroovyLint: Successfully processed CodeNarc:
CodeNarc version 3.3.0
npm-groovy-lint version 14.6.0
Embeds:
CodeNarc version 3.3.0
root@486be283f05f:/home/jenkins# npm list -g
/usr/local/lib
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
openjdk 17.0.11 2024-04-16
OpenJDK Runtime Environment Temurin-17.0.11+9 (build 17.0.11+9)
OpenJDK 64-Bit Server VM Temurin-17.0.11+9 (build 17.0.11+9, mixed mode)
On another docker image with debian 11, with openjdk autoinstalled by npm-groovy-lint, with all above same version installed, I do not have the error.
Can you help to figure out the problem ?
Details of the debian 12 package installed:
apt-list.log
Maybe that was not the right place to share this problem (I am even not sure it is a npm-groovy-lint bug), apologize in that case just tell me where I should ask for support.
The text was updated successfully, but these errors were encountered: