pefernan commented on PR #3493:
URL: 
https://github.com/apache/incubator-kie-kogito-runtimes/pull/3493#issuecomment-2107633996

   @elguardian From the engine side everything seems to work fine but I found 
an issue while testing the example in this PR inside a `kogito` app. Looks like 
there's a problem when generating the Kogito Persistence when the process 
variable type is `org.w3c.dom.Document`. The stack trace says:
   
   ```
   java.lang.RuntimeException: io.quarkus.builder.BuildException: Build 
failure: Build failed due to errors
        [error]: Build step 
org.kie.kogito.quarkus.processes.deployment.ProcessesAssetsProcessor#postGenerationProcessing
 threw an exception: java.lang.RuntimeException: Error while generating proto 
for model class 
   org.kie.kogito.hr.XPathProcessModel 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
   ```
   
   Additionally I couldn't make it work when the process uses a Pojo as 
variable, but I think we can fix this second scenario in a later improvement.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to