An error happened while submitting the task form: jdk/internal/reflect/SerializationConstructorAccessorImpl
I am tried to pass a complex Object through a Java delegate class but I was getting serialization/deserialization error message on the Camunda server. To solve this problem, I converted the Object to ByteString using Base64 serialization
Base64. getEncoder ().encodeToString(byteArray);
It works fine in the unit test but on Camunda Engine I am getting this error. jdk/internal/reflect/SerializationConstructorAccessorImpl
@Waheed by default java serialization is disabled in camunda. To enable java serialization, configure the below property in the process.xml file like below:
Turned out the same reason, Camunda Engine is not using the latestest JDK version. I downgraded to JDK 8 and it worked. Wasted 2 days because of this reason.