Abhitocode opened a new issue, #7194:
URL: https://github.com/apache/incubator-kie/issues/7194
A BPMN process variable declared with a raw collection type
(`structureRef="java.util.List"`,` java.util.ArrayList`) makes the Quarkus
build fail as soon as persistence / data-index proto generation runs:
```
Build step
org.kie.kogito.quarkus.processes.deployment.ProcessesAssetsProcessor#postGenerationProcessing
threw an exception:
java.lang.RuntimeException: Error while generating proto for model class
com.example.ListtestModel
Field myList of class com.example.ListtestModel uses collection without type
information
at
org.kie.kogito.quarkus.workflow.deployment.JandexProtoGenerator.messageFromClass(JandexProtoGenerator.java:150)
```
The same restriction exists in `ReflectionProtoGenerator`. Such processes
are valid in jBPM 7 and are common in migrated projects, where scripts populate
the list with `kcontext.setVariable("myList", new java.util.ArrayList())`.
--
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]