DateTimeParseException while running create-vulnerability-report
After succesfully running the /sonatype/evaluate program and succesfully uploading and creating the local results file, I run the /sonatype/create-vulnerability-report with -r, -f, -s, -a arguments, and I receive a java.time.format.DateTimeParseException on '2025-03-25T17:54:51+01:00'.
The full error line shows:
343[INFO] Generating Dependency Scanning report...
344java.time.format.DateTimeParseException: Text '2025-03-25T17:54:51+01:00' could not be parsed at index 19
345 at java.base/java.time.format.DateTimeFormatter.parseResolved0(Unknown Source)
346 at java.base/java.time.format.DateTimeFormatter.parse(Unknown Source)
347 at java.base/java.time.LocalDateTime.parse(Unknown Source)
348 at com.sonatype.nexus.platform.gitlab.DependencyScanning.call(DependencyScanning.java:119)
349 at com.sonatype.nexus.platform.gitlab.DependencyScanning.call(DependencyScanning.java:29)
350 at picocli.CommandLine.executeUserObject(CommandLine.java:2045)
351 at picocli.CommandLine.access$1500(CommandLine.java:148)
352 at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2465)
353 at picocli.CommandLine$RunLast.handle(CommandLine.java:2457)
354 at picocli.CommandLine$RunLast.handle(CommandLine.java:2419)
355 at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2277)
356 at picocli.CommandLine$RunLast.execute(CommandLine.java:2421)
357 at picocli.CommandLine.execute(CommandLine.java:2174)
358 at com.sonatype.nexus.platform.gitlab.DependencyScanning.main(DependencyScanning.java:141)```
It would seem to me that the create-vulnerability-report program cannot process this date format with timezone offset `YYYY-MM-DDTHH:MM:SS+01:00`, which should be generated by the evaluate program?