apache / incubator-kie-kogito-runtimes

Kogito Runtimes - Kogito is a cloud-native business automation technology for building cloud-ready business applications.
http://kogito.kie.org
Apache License 2.0
491 stars 192 forks source link

[incubator-kie-issues-1204] Add built in support for org.w3c.dom.Document #3518

Closed elguardian closed 1 month ago

elguardian commented 1 month ago

Closes: https://github.com/apache/incubator-kie-issues/issues/1204

martinweiler commented 1 month ago

Still seeing

[ERROR] Caused by: java.lang.IllegalArgumentException: Custom type org.w3c.dom.Document is no supported by Kogito persistence, please consider using a class that extends java.io.Serializable and contains a no arg constructor
[ERROR]     at org.kie.kogito.codegen.process.persistence.proto.AbstractProtoGenerator.protoType(AbstractProtoGenerator.java:259)

in a kogito app with a process containing a org.w3c.dom.Document process variable.