checkmarx-ltd / cx-flow

Checkmarx Scan and Result Orchestration
Apache License 2.0
88 stars 87 forks source link

Issue parsing detection date #1356

Closed razlupercio closed 4 months ago

razlupercio commented 4 months ago

Description

Provide a description of the issue

When I execute

java -jar cx-flow-1.6.42-java-11.jar --batch --cx-team="CxServer/MyTeam"

I got several DateTimeParseExceptions:

java.time.DateTimeParseException: Text '1/5/2024 9:57:15 AM' could not be parsed at index 18

followed by the usual java stacktrace.

Expected Behavior

cx-flow being able to parse the date correctly.

Actual Behavior

got a DateTimeParseException.

Reproduction

java -jar cx-flow-1.6.42-java-11.jar --batch --cx-team="CxServer/MyTeam"

Environment Details

satyamchaurasiapersistent commented 4 months ago

Please use latest version of cxflow and update to JAVA 17