Skip to content

owasp 11.1.0>12.0.0 update: Cannot invoke "String.split(String)" because "existingNonProxyHosts" is null #7304

@phoedos

Description

@phoedos

Describe the bug
Have a mock SpringBoot project just to update NVD databases with using jenkins cron job.
Since release of 12.0.0 my job became unsuscessful

Failed to execute goal org.owasp:dependency-check-maven:12.0.0:check (default-cli) on project hello-world-springboot: 
Execution default-cli of goal org.owasp:dependency-check-maven:12.0.0:check failed: 
Cannot invoke "String.split(String)" because "existingNonProxyHosts" is null -> [Help 1]

in both cases .m2/settings.xml was unchanged with next structure

<proxies>
<proxy>
<id>http
<active>true
<protocol>http
<host>proxy.myserver.com
<port>3128
<nonProxyHosts>*.myserver.com|*.myserver.local
...
(the same for https) 

Version of dependency-check used
mvn --batch-mode org.owasp:dependency-check-maven:11.1.0:check work fine
mvn --batch-mode org.owasp:dependency-check-maven:check fails
mvn --batch-mode org.owasp:dependency-check-maven:12.0.0:check fails

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions