Describe the bug
While using the SVIP UI, an error is thrown when trying to generate data with the Vex feature.
To Reproduce
Steps to reproduce the behavior:
Import any SBOM
Select the SBOM and press the Vex button
Choose any combination of options in the modal and press the "Generate Data" button
The following error should be thrown in the SVIP API console:
svip-api | 2023-10-11T22:22:16.724Z WARN 1 --- [nio-8080-exec-7] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.lang.Long'; For input string: "[objectObject]"]
Expected behavior
No error should be thrown.
Additional context
The issue might start from VEXController.java's request parameter for the id which of type Long.
Describe the bug While using the SVIP UI, an error is thrown when trying to generate data with the Vex feature.
To Reproduce Steps to reproduce the behavior:
Expected behavior No error should be thrown.
Additional context The issue might start from
VEXController.java
's request parameter for the id which of typeLong
.