While attaching any image file (jpg, png) from OOTB AttachmentFiles, we got the below error.
The Flow Action post-processing activity pzSaveAttachments failed: java.lang.NoClassDefFoundError: Could not initialize class java.awt.GraphicsEnvironment$LocalGE
GithmiT3
(Githmi Thilakarathna)
January 18, 2023, 10:21am
2
@SureshK2093 Is this resolved?
@SureshK2093 I checked and can see that you logged support ticket INC-225481 last July.
Our team requested the following but had no further response:
1. Could you please try adding the below DSS :
1. Ruleset: Pega-Engine
Purpose: prconfig/initialization/preloadengineclasses/default
Value: true
2. Log off and login and verify the behavior.
3. Could you please confirm whether the pyAttachmentPage is present in the clipboard when we try to attach the file?
As they had no further response the support ticket was closed.
NayanaR4
(Nayana Ranathunga)
January 19, 2023, 2:28am
4
@MarijeSchillern Thank You
I am facing the same issue, I will follow the instruction and confirm,
NayanaR4
(Nayana Ranathunga)
January 20, 2023, 3:20am
5
@MarijeSchillern We have followed below approach with our IT team, it worked
added -Djava.awt.headless=true in setenv
@NayanaR4 thanks so much for letting us know, that is really helpful for everyone.