Hide Forgot
project_key: JBEPP java.io.NotSerializableException: Type TypeModel[name=org.gatein.common.text.EntityEncoder] is not serializable is thrown when create new category in App.registry when running portal in cluster env. To reproduce: - start portal by: sh run.sh -c all -Dexo.profile=cluster (+ apply JBEPP-1022 workaround) - sign in - go to App.registry - click "Add category" - error is thrown in log (and portal works properly)
Attachment: Added: cluster-NSE_entityencoder.txt
Same issue is also present when you access page Users and groups management.
Link: Added: This issue relates to JBQA-4899
I've tried to debug and found that regression is coming from commit 6841,6842,6843. EntityEncoder is now serialized as it is declared as instance variable in UIFormTextAreaInput webui component. It should be possible to avoid serializaion by declaring it only as local variable in method org.exoplatform.webui.form.UIFormTextAreaInput.processRender (something like: w.write(EntityEncoder.FULL.encode(value)); on line 81 of class UIFormTextAreaInput) So it should be possible to fix it without need to repackage common module.
Attached patch for JBEPP-1028 . I verify in EPP 5.1.1.CR1 that NotSerializableException doesn't happen anymore in OrganizationManagement and in ApplicationRegistry with patch applied.
Attachment: Added: JBEPP-1028.patch
Patch needs to be applied in webui/core project.
Link: Added: This issue relates to JBEPP-1023
Release Notes Docs Status: Added: Not Required
Link: Added: This issue is related to GTNPORTAL-2073