Unable to connect to the dependency-check database
See original GitHub issueDescribe the bug
I’d previously been running dependencyCheck quite happily on my Mac. But now I’ve switched to running a Fedora VM under QubesOS it no longer seems to work.
I get the error
[error] (*:dependencyCheck) org.owasp.dependencycheck.exception.ExceptionCollection: One or more exceptions occurred during analysis:
[error] Unable to connect to the dependency-check database
Version of sbt-dependency-check used
The problem occurs using version 0.2.10 (which is what I was using on my mac) and 1.3.0 of the the plugin.
Log file
https://gist.github.com/mgladdish/3971948c0fd101d9a1ab67fd7f4d6307
To Reproduce
Steps to reproduce the behavior:
- execute the
dependencyCheck
target
Expected behavior
The dependencyCheck task to run without errors, and produce a report.
Additional context
I’ve seen similar errors logged on the “parent” project, e.g. https://github.com/jeremylong/DependencyCheck/issues/1783. I tried dependencyCheckPurge
and deleting my .ivy2/cache/org.owasp/dependency-check-utils/jars/data
directory. Neither of which helped.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (5 by maintainers)
Unfortunately the default for sbt/scala is to only show the exception stacktrace and not showing the stacktraces and messages of the underlying causes. The root cause in this case is wrapped two times in new Exceptions. I’m preparing a fix to log those exceptions including their root cause. This should help you pinpoint where your platform specific issue comes from.
@mgladdish I’m going to close this issue for now. if you need more assistance please leave a comment