incubator-kie-kogito-apps icon indicating copy to clipboard operation
incubator-kie-kogito-apps copied to clipboard

quarkus-mongodb-panache crash kogito bpmn (cannot find class info in jandex index)

Open kstan79 opened this issue 2 years ago • 0 comments

Describe the bug

I'd added object as model to store kogito's data, and it is working fine for workflow. However, I would like to further store the object into mongodb database using quarkus-mongodb-panache. When the object extend from paneche ith gave error cannot find class info in jandex index. Quarkus team feed back this issue from Kogito, you may refer the original post which provided full sample: https://github.com/quarkusio/quarkus/issues/29691

Expected behavior

specific object extended mongodbpanche shall allow compile instead error

Actual behavior

compilation failed and cause by (cannot find class info in jandex index)

How to Reproduce?

refer https://github.com/quarkusio/quarkus/issues/29691

Output of uname -a or ver

Darwin kstans-MacBook-Pro.local 21.6.0 Darwin Kernel Version 21.6.0: Wed Aug 10 14:25:27 PDT 2022; root:xnu-8020.141.5~2/RELEASE_X86_64 x86_64

Output of java -version

openjdk version "19.0.1" 2022-10-18 OpenJDK Runtime Environment GraalVM CE 22.3.0 (build 19.0.1+10-jvmci-22.3-b08) OpenJDK 64-Bit Server VM GraalVM CE 22.3.0 (build 19.0.1+10-jvmci-22.3-b08, mixed mode, sharing)

GraalVM version (if different from Java)

openjdk version "19.0.1" 2022-10-18 OpenJDK Runtime Environment GraalVM CE 22.3.0 (build 19.0.1+10-jvmci-22.3-b08) OpenJDK 64-Bit Server VM GraalVM CE 22.3.0 (build 19.0.1+10-jvmci-22.3-b08, mixed mode, sharing)

Kogito version or git rev (or at least Quarkus version if you are using Kogito via Quarkus platform BOM)

2.14.2.Final

Build tool (ie. output of mvnw --version or gradlew --version)

Apache Maven 3.8.6

Additional information

No response

kstan79 avatar Dec 14 '22 17:12 kstan79