You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Still having an issue with proxy settings, now in 7.4.1. It looks to be getting further since #291 was resolved, but now it is failing with the following:
Execution failed for task ':service:dependencyCheckAnalyze'.
> Cannot cast object 'localhost|127.0.0.1' with class 'java.lang.String' to class 'java.util.List'`
Caused by: org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'localhost|127.0.0.1|192.168.1.1' with class 'java.lang.String' to class 'java.util.List'
at org.owasp.dependencycheck.gradle.extension.ProxyExtension.setProperty(ProxyExtension.groovy)
at org.owasp.dependencycheck.gradle.tasks.ConfiguredTask.configureProxy(ConfiguredTask.groovy:204)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
It seems it is trying to assign a String to a List<String>:
Still having an issue with proxy settings, now in 7.4.1. It looks to be getting further since #291 was resolved, but now it is failing with the following:
It seems it is trying to assign a String to a List<String>:
dependency-check-gradle/src/main/groovy/org/owasp/dependencycheck/gradle/tasks/ConfiguredTask.groovy
Line 204 in bfc6eda
See target:
dependency-check-gradle/src/main/groovy/org/owasp/dependencycheck/gradle/extension/ProxyExtension.groovy
Line 30 in bfc6eda
Looking at the history, it was previously fetching the
nonProxyHosts
differently, which was returning a List<Pattern>:dependency-check-gradle/src/main/groovy/org/owasp/dependencycheck/gradle/tasks/ConfiguredTask.groovy
Line 207 in 2475268
Now, It is simply fetching a single String:
dependency-check-gradle/src/main/groovy/org/owasp/dependencycheck/gradle/tasks/ConfiguredTask.groovy
Line 188 in bfc6eda
The text was updated successfully, but these errors were encountered: