-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Error - Not alive and dispose was called #6073
Comments
Same, I'm getting the same error using the CLI
|
I cut out a part of the "debug log" and attached it The /opt/dependency-check/data/cache/NODEAUDIT.key is 0 bytes It do manage to write the the report dependency-check-report.htm before this happens. On MS-Windows with version 8.1.2 this don't happen, on Linux with version 8.1.2/8.4.2/8.4.3 it happens for one of my projects. |
This is a completely ignorable error. It makes zero sense that this is reported by JCS as an error as opposed to a debug message. It does not affect the functioning of the cache at all. |
Sadly I can't ignore it as it exits with error code 14, had it exited with 0 then the build system wouldn't have stopped. |
@j-aho you should see a line that says "One or more fatal errors occurred" in the output. What is directly below that line? |
@j-aho I'm 99.9% positive this "error" reported stating 'Not alive and dispose was called' is not the source of the exit code 14. |
Okay, then I'll try to figure out what it may be. |
Hi @jeremylong ,
|
Please don't combine issues into a single ticket like this. Yes, due to capacity issues with the NVD API 9.0.0 has issues. See #6107. |
I have the same issue, is there any update on this? |
@alireza1371 the exit code (like 14 from @Hacksoull screenshot) has nothing to do with the error message displayed in the screenshot For Error codes you can look at: https://github.com/jeremylong/DependencyCheck/blob/main/cli/src/main/java/org/owasp/dependencycheck/App.java Sadly it will not give much information, most likely it can be some files that causes the issue, try to exclude directories like .git from the scanning. Here is a small example when scanning dependency-check.sh --dotnet /usr/bin/dotnet -s /usr/include/ -o /tmp ; echo "EXIT CODE: $?":
So the error is there, but do not affect the writing of the report and exiting it as if nothing had happen. Sure it had been nice if the error could have been warning or info, think less people would be confused. |
Describe the bug
When scanning a Maven project for vulnerabilities, new errors have started appearing after upgrading to version 8.4.3 (see attached log excerpt). The issue is reproducible 100 % of the time in our project, but did not occur on any previous versions of the plugin.
Version of dependency-check used
The problem occurs using version 8.4.3 of the Maven plugin.
Log file
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No errors are displayed, preferably also no
Cache event queue destroyed
messages.The text was updated successfully, but these errors were encountered: