"Cannot clone formate instance" error using simple formatDateTime function
Hello, recently we experienced some trouble, caused by data transform which contains @(Pega-RULES:DateTime).FormatDateTime function. The problem was temporary and completely dissapeared after several days (maybe server reboot has resolved it).
In the DT we are using simple function combination @(Pega-RULES:DateTime).FormatDateTime(@(Pega-RULES:DateTime).CurrentDateTime(), "yyyy-MM-dd'T'HH:mm:ss.SSS", "GMT", "GMT") to set value to the text property. Currently this combination works fine at both test and production units. But for two days straight this error appeared in logs at one node, resulting in exception:
2020-08-08 08:35:49,021 [.PRPCWorkManager : 6] [ STANDARD] [ ] [ ApplicationName:01.05] ( pub.util.PerThreadCache) ERROR - Cannot clone format instance java.lang.reflect.InvocationTargetException
We want to make sure this wont happen again. Could you help us find the solution?
Full stack trace attached.
***Edited by Moderator: Pallavi to change content type from Discussion to Question***