Hi All,
I'm having issue with modelling reusable multi-instance process. There is a collection definition section for input and output (MI Collection input/ouput) and while it seems to work fine for input, I'm struggling hard with output.
My problem is:
1. If I define Mi Collection Output as an object extending ArrayList (it works for input), my process compiles but throws an error as it tries to cast ArrayList to my class.
2. If I define Mi Collection Output variable type as java.util.ArrayList it complains about missing yandex during compilation.
Caused by: java.lang.RuntimeException: Error while generating proto for data model
at org.kie.kogito.quarkus.deployment.JandexProtoGenerator.generate(JandexProtoGenerator.java:86)
at org.kie.kogito.quarkus.deployment.JandexProtoGenerator.generateModelClassProto(JandexProtoGenerator.java:231)
at org.kie.kogito.quarkus.deployment.JandexProtoGenerator.extractDataClasses(JandexProtoGenerator.java:213)
... 15 more
Caused by: java.lang.IllegalStateException: Cannot find class info in jandex index for java.util.ArrayList
Have you encountered such problem? Maybe you have some clues on how to create jandex index for ArrayList to make it work (suggested solutions with beans.xml or application.properties are rather unusable as ArrayList doesn't come as maven dependency).
Regards,
Jakub Grabowski.