-
Notifications
You must be signed in to change notification settings - Fork 0
Description
When running the plugin
<plugin> <groupId>io.github.dodogeny</groupId> <artifactId>bastion-maven-community-plugin</artifactId> <version>1.0.0</version> <!-- Use latest stable version --> <configuration> <!-- Basic settings --> <nvdApiKey>${env.NVD_API_KEY}</nvdApiKey> <skip>false</skip> <failOnError>true</failOnError> <severityThreshold>MEDIUM</severityThreshold> <reportFormats>HTML,JSON</reportFormats> <communityStorageMode>JSON_FILE</communityStorageMode> <jsonFilePath>${project.build.directory}/security/multi-module-vulnerabilities.json</jsonFilePath> </configuration> <executions> <execution> <goals> <goal>scan</goal> </goals> </execution> </executions> </plugin>
The following error occured
Caused by: java.lang.ArithmeticException: / by zero
at java.base/java.math.BigDecimal.divideAndRound(BigDecimal.java:4642)
at java.base/java.math.BigDecimal.divide(BigDecimal.java:5715)
at java.base/java.math.BigDecimal.divide(BigDecimal.java:1636)
at freemarker.core.ArithmeticEngine$BigDecimalEngine.divide(ArithmeticEngine.java:257)
at freemarker.core.ArithmeticEngine$BigDecimalEngine.divide(ArithmeticEngine.java:237)
at freemarker.core.ArithmeticExpression._eval(ArithmeticExpression.java:64)