RiyazF82 Member since 2018 1 post
Posted: September 7, 2020
Last activity: September 14, 2020

"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***  

Pega Platform 7.1.6 Case Management Financial Services Senior System Architect
Share this page LinkedIn