How to debug executable-model build failure in version 7.12.0?
Issue
Executable model build fails with the error like the following:
[ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.59.0.Final-redhat-00006:generateModel (default-generateModel) on project kjarCreation: Execution default-generateModel of goal org.kie:kie-maven-plugin:7.59.0.Final-redhat-00006:generateModel failed: [com/example/reproducer/P22/LambdaExtractor22353C40A1384D56E5C5AEF7CBBEECB5.java (25:858) : Cannot cast from BigDecimal to String] -> [Help 1]
But we can't find source code reported in the error( i.e. com/example/reproducer/P22/LambdaExtractor22353C40A1384D56E5C5AEF7CBBEECB5.java). When I built it with older version, these generated source codes were found under target directly. But it no longer exists with 7.12.0.
How this can be debugged?
Environment
- Red Hat Decision Manager
- 7.12.0+
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.