{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/dependency-check-plugin/issues/7","repository_url":"https://api.github.com/repos/jenkinsci/dependency-check-plugin","labels_url":"https://api.github.com/repos/jenkinsci/dependency-check-plugin/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/dependency-check-plugin/issues/7/comments","events_url":"https://api.github.com/repos/jenkinsci/dependency-check-plugin/issues/7/events","html_url":"https://github.com/jenkinsci/dependency-check-plugin/pull/7","id":187987336,"number":7,"title":"Avoid NullPointerException if exception doesn't have a cause","user":{"login":"vincentdaniel","id":829201,"avatar_url":"https://avatars.githubusercontent.com/u/829201?v=3","gravatar_id":"","url":"https://api.github.com/users/vincentdaniel","html_url":"https://github.com/vincentdaniel","followers_url":"https://api.github.com/users/vincentdaniel/followers","following_url":"https://api.github.com/users/vincentdaniel/following{/other_user}","gists_url":"https://api.github.com/users/vincentdaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentdaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentdaniel/subscriptions","organizations_url":"https://api.github.com/users/vincentdaniel/orgs","repos_url":"https://api.github.com/users/vincentdaniel/repos","events_url":"https://api.github.com/users/vincentdaniel/events{/privacy}","received_events_url":"https://api.github.com/users/vincentdaniel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-08T13:08:09Z","updated_at":"2016-11-08T17:45:20Z","closed_at":"2016-11-08T17:43:31Z","pull_request":{"url":"https://api.github.com/repos/jenkinsci/dependency-check-plugin/pulls/7","html_url":"https://github.com/jenkinsci/dependency-check-plugin/pull/7","diff_url":"https://github.com/jenkinsci/dependency-check-plugin/pull/7.diff","patch_url":"https://github.com/jenkinsci/dependency-check-plugin/pull/7.patch"},"body":"Avoid the following NullPointerException, which happened to me on version v1.4.4:\r\n```\r\n[DependencyCheck] OWASP Dependency-Check Plugin v1.4.4\r\n[DependencyCheck] Executing Dependency-Check with the following options:\r\n[DependencyCheck]  -name = XXXXXXX-dependencyCheck\r\n[DependencyCheck]  -scanPath = XXXXXXX\r\n[DependencyCheck]  -outputDirectory = XXXXXXX\r\n[DependencyCheck]  -dataDirectory = XXXXXXX\r\n[DependencyCheck]  -dataMirroringType = none\r\n[DependencyCheck]  -proxyServer = XXXXXXX\r\n[DependencyCheck]  -proxyPort = XXXX\r\n[DependencyCheck]  -isQuickQueryTimestampEnabled = true\r\n[DependencyCheck]  -useMavenArtifactsScanPath = false\r\n[DependencyCheck]  -jarAnalyzerEnabled = true\r\n[DependencyCheck]  -nodeJsAnalyzerEnabled = true\r\n[DependencyCheck]  -composerLockAnalyzerEnabled = true\r\n[DependencyCheck]  -pythonAnalyzerEnabled = true\r\n[DependencyCheck]  -rubyGemAnalyzerEnabled = true\r\n[DependencyCheck]  -cocoaPodsAnalyzerEnabled = true\r\n[DependencyCheck]  -swiftPackageManagerAnalyzerEnabled = true\r\n[DependencyCheck]  -archiveAnalyzerEnabled = true\r\n[DependencyCheck]  -assemblyAnalyzerEnabled = true\r\n[DependencyCheck]  -centralAnalyzerEnabled = true\r\n[DependencyCheck]  -nuspecAnalyzerEnabled = false\r\n[DependencyCheck]  -nexusAnalyzerEnabled = false\r\n[DependencyCheck]  -autoconfAnalyzerEnabled = true\r\n[DependencyCheck]  -cmakeAnalyzerEnabled = true\r\n[DependencyCheck]  -opensslAnalyzerEnabled = true\r\n[DependencyCheck]  -showEvidence = true\r\n[DependencyCheck]  -format = ALL\r\n[DependencyCheck]  -autoUpdate = true\r\n[DependencyCheck]  -updateOnly = false\r\n[DependencyCheck] Scanning: XXXXXXX\r\n[DependencyCheck] Analyzing Dependencies\r\n[DependencyCheck] One or more exceptions were thrown while executing Dependency-Check\r\n[DependencyCheck] Exception Caught: org.owasp.dependencycheck.analyzer.exception.AnalysisException\r\nERROR: Build step failed with exception\r\njava.lang.NullPointerException\r\n\tat org.jenkinsci.plugins.DependencyCheck.DependencyCheckExecutor.performBuild(DependencyCheckExecutor.java:109)\r\n\tat org.jenkinsci.plugins.DependencyCheck.AbstractDependencyCheckBuilder$2.call(AbstractDependencyCheckBuilder.java:97)\r\n\tat org.jenkinsci.plugins.DependencyCheck.AbstractDependencyCheckBuilder$2.call(AbstractDependencyCheckBuilder.java:94)\r\n\tat hudson.remoting.UserRequest.perform(UserRequest.java:121)\r\n\tat hudson.remoting.UserRequest.perform(UserRequest.java:49)\r\n\tat hudson.remoting.Request$2.run(Request.java:325)\r\n\tat hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)\r\n\tat java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)\r\n\tat java.util.concurrent.FutureTask.run(Unknown Source)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\r\n\tat hudson.remoting.Engine$1$1.run(Engine.java:69)\r\n\tat java.lang.Thread.run(Unknown Source)\r\n\tat ......remote call to swintoolsint03(Native Method)\r\n\tat hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1433)\r\n\tat hudson.remoting.UserResponse.retrieve(UserRequest.java:253)\r\n\tat hudson.remoting.Channel.call(Channel.java:797)\r\n\tat org.jenkinsci.plugins.DependencyCheck.AbstractDependencyCheckBuilder.perform(AbstractDependencyCheckBuilder.java:94)\r\n\tat org.jenkinsci.plugins.DependencyCheck.DependencyCheckBuilder.perform(DependencyCheckBuilder.java:209)\r\n\tat hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)\r\n\tat hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)\r\n\tat hudson.model.Build$BuildExecution.build(Build.java:205)\r\n\tat hudson.model.Build$BuildExecution.doRun(Build.java:162)\r\n\tat hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)\r\n\tat hudson.model.Run.execute(Run.java:1720)\r\n\tat hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)\r\n\tat hudson.model.ResourceController.execute(ResourceController.java:98)\r\n\tat hudson.model.Executor.run(Executor.java:404)\r\nBuild step 'Invoke OWASP Dependency-Check analysis' marked build as failure\r\n[DependencyCheck] Skipping publisher since build result is FAILURE\r\nFinished: FAILURE\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/jenkinsci/dependency-check-plugin/issues/comments/259206858","html_url":"https://github.com/jenkinsci/dependency-check-plugin/pull/7#issuecomment-259206858","issue_url":"https://api.github.com/repos/jenkinsci/dependency-check-plugin/issues/7","id":259206858,"user":{"login":"stevespringett","id":3878933,"avatar_url":"https://avatars.githubusercontent.com/u/3878933?v=3","gravatar_id":"","url":"https://api.github.com/users/stevespringett","html_url":"https://github.com/stevespringett","followers_url":"https://api.github.com/users/stevespringett/followers","following_url":"https://api.github.com/users/stevespringett/following{/other_user}","gists_url":"https://api.github.com/users/stevespringett/gists{/gist_id}","starred_url":"https://api.github.com/users/stevespringett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevespringett/subscriptions","organizations_url":"https://api.github.com/users/stevespringett/orgs","repos_url":"https://api.github.com/users/stevespringett/repos","events_url":"https://api.github.com/users/stevespringett/events{/privacy}","received_events_url":"https://api.github.com/users/stevespringett/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T17:45:20Z","updated_at":"2016-11-08T17:45:20Z","body":"Thanks for the PR."}}
{"actor":{"display_login":"stevespringett"}}