Warnings of 'Invalid local date time' while working with DocuSign
Kanchan Bisht
更新
Issue
While integrating DocuSign digital signatures into your Liferay documents, the following warnings can be observed
WARN [http-nio-8080-exec-9][MVCPortlet:299] No render mappings found for MVC render command name "/digital_signature/collect_digital_signature"for portlet com_liferay_digital_signature_web_internal_portlet_CollectDigitalSignaturePortlet
WARN [http-nio-8080-exec-4][DSEnvelopeManagerImpl:267] Invalid local date time
java.time.format.DateTimeParseException: Text '' could not be parsed at index 0
at java.time.format.DateTimeFormatter.parseResolved0(DateTimeFormatter.java:1949) ~[?:1.8.0_201]
at java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:1851) ~[?:1.8.0_201]
at java.time.LocalDateTime.parse(LocalDateTime.java:492) ~[?:1.8.0_201]
at com.liferay.digital.signature.internal.manager.DSEnvelopeManagerImpl._toLocalDateTime(DSEnvelopeManagerImpl.java:261) ~[?:?]
at
Environment
Liferay DXP 7.4
Resolution
The observed warning occurs when an envelope is generated without the 'crationDate' setting. This is not an issue because DocuSign will generate this date. Liferay has already implemented verification to eliminate this unneeded WARN. It is available in DXP 7.4 update 58 and above.