{"action":"created","issue":{"url":"https://api.github.com/repos/jeremylong/DependencyCheck/issues/1061","repository_url":"https://api.github.com/repos/jeremylong/DependencyCheck","labels_url":"https://api.github.com/repos/jeremylong/DependencyCheck/issues/1061/labels{/name}","comments_url":"https://api.github.com/repos/jeremylong/DependencyCheck/issues/1061/comments","events_url":"https://api.github.com/repos/jeremylong/DependencyCheck/issues/1061/events","html_url":"https://github.com/jeremylong/DependencyCheck/issues/1061","id":287193637,"number":1061,"title":"Dependency check fails with error message \"Archive file was not found\"","user":{"login":"bmuschko","id":440872,"avatar_url":"https://avatars2.githubusercontent.com/u/440872?v=4","gravatar_id":"","url":"https://api.github.com/users/bmuschko","html_url":"https://github.com/bmuschko","followers_url":"https://api.github.com/users/bmuschko/followers","following_url":"https://api.github.com/users/bmuschko/following{/other_user}","gists_url":"https://api.github.com/users/bmuschko/gists{/gist_id}","starred_url":"https://api.github.com/users/bmuschko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmuschko/subscriptions","organizations_url":"https://api.github.com/users/bmuschko/orgs","repos_url":"https://api.github.com/users/bmuschko/repos","events_url":"https://api.github.com/users/bmuschko/events{/privacy}","received_events_url":"https://api.github.com/users/bmuschko/received_events","type":"User","site_admin":false},"labels":[{"id":13090908,"url":"https://api.github.com/repos/jeremylong/DependencyCheck/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-01-09T18:55:59Z","updated_at":"2018-02-05T11:56:06Z","closed_at":null,"author_association":"NONE","body":"I recently integrated the plugin into the [Gradle build](https://github.com/gradle/gradle/blob/master/gradle/dependenciesCheck.gradle). The dependency check is run as [one of the steps in our CI build pipeline](https://builds.gradle.org/viewType.html?buildTypeId=Gradle_Check_DependenciesCheck&branch_Gradle_Check_Stage_BranchBuildAccept=master&tab=buildTypeStatusDiv).\r\n\r\n### Reporting Bugs/Errors\r\n\r\nIntermittently, I am encountering the following issue:\r\n\r\n```\r\n[11:48:42][Gradle failure report] Caused by: org.gradle.api.GradleException: One or more exceptions occurred during analysis\r\n[11:48:42][Gradle failure report] \tat org.owasp.dependencycheck.gradle.tasks.AbstractAnalyze.analyze(AbstractAnalyze.groovy:111)\r\n[11:48:42][Gradle failure report] \tat org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)\r\n[11:48:42][Gradle failure report] \tat org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:46)\r\n[11:48:42][Gradle failure report] \tat org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)\r\n[11:48:42][Gradle failure report] \tat org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)\r\n[11:48:42][Gradle failure report] \tat org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:788)\r\n[11:48:42][Gradle failure report] \tat org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:755)\r\n[11:48:42][Gradle failure report] \tat org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:124)\r\n[11:48:42][Gradle failure report] \tat org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)\r\n[11:48:42][Gradle failure report] \tat org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)\r\n[11:48:42][Gradle failure report] \tat org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)\r\n[11:48:42][Gradle failure report] \tat org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)\r\n[11:48:42][Gradle failure report] \tat org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:113)\r\n[11:48:42][Gradle failure report] \tat org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:95)\r\n[11:48:42][Gradle failure report] \t... 32 more\r\n[11:48:42][Gradle failure report] Caused by: org.owasp.dependencycheck.exception.ExceptionCollection: One or more exceptions occurred during dependency-check analysis\r\n[11:48:42][Gradle failure report] \tArchive file was not found.\r\n[11:48:42][Gradle failure report] \tat org.owasp.dependencycheck.Engine.analyzeDependencies(Engine.java:693)\r\n[11:48:42][Gradle failure report] \tat org.owasp.dependencycheck.Engine$analyzeDependencies$1.call(Unknown Source)\r\n[11:48:42][Gradle failure report] \tat org.owasp.dependencycheck.gradle.tasks.AbstractAnalyze.analyze(AbstractAnalyze.groovy:78)\r\n[11:48:42][Gradle failure report] \t... 45 more\r\n```\r\n\r\nCould you please give me hint on what the underlying issue might be? I saw that there also was an [issue with connection to the database](https://builds.gradle.org/viewLog.html?buildId=10292522&tab=buildResultsDiv&buildTypeId=Gradle_Check_DependenciesCheck) earlier. Could this potentially be an issue with concurrency?\r\n\r\n```\r\nCaused by: org.owasp.dependencycheck.exception.ExceptionCollection: Unable to continue dependency-check analysis.\r\nUnable to connect to the database\r\n```\r\n  "},"comment":{"url":"https://api.github.com/repos/jeremylong/DependencyCheck/issues/comments/363063856","html_url":"https://github.com/jeremylong/DependencyCheck/issues/1061#issuecomment-363063856","issue_url":"https://api.github.com/repos/jeremylong/DependencyCheck/issues/1061","id":363063856,"user":{"login":"jeremylong","id":862914,"avatar_url":"https://avatars2.githubusercontent.com/u/862914?v=4","gravatar_id":"","url":"https://api.github.com/users/jeremylong","html_url":"https://github.com/jeremylong","followers_url":"https://api.github.com/users/jeremylong/followers","following_url":"https://api.github.com/users/jeremylong/following{/other_user}","gists_url":"https://api.github.com/users/jeremylong/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremylong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremylong/subscriptions","organizations_url":"https://api.github.com/users/jeremylong/orgs","repos_url":"https://api.github.com/users/jeremylong/repos","events_url":"https://api.github.com/users/jeremylong/events{/privacy}","received_events_url":"https://api.github.com/users/jeremylong/received_events","type":"User","site_admin":false},"created_at":"2018-02-05T11:56:06Z","updated_at":"2018-02-05T11:56:06Z","author_association":"OWNER","body":"@bmuschko sorry for the extremely delayed response - the temp directory would be changed via `temp.directory`.  In 3.1.1 I also added some debug logging that should assist in tracking the problem down."}}
{"actor":{"display_login":"jeremylong"}}