Coder Social home page Coder Social logo

quarkus-ext-jooq's People

Contributors

angrymango avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

quarkus-ext-jooq's Issues

error on run tests in gitlab CI

Hi,
I've successfully integrate your extension into my project as mentioned in the docs.
The tests within my IDE are fine.
After pushing into the repo, the gitlab CI starts her work and the maven build process: jooq code generation based on the DB created by liquibase works perfectly. Then, the tests (@QuarkusTest) are startet by bootstraping the whole quarkus app and there is an error:

java.lang.RuntimeException: io.quarkus.bootstrap.BootstrapException: Failed to create the application model for de.todo42:test:jar:1.0-SNAPSHOT
Caused by: io.quarkus.bootstrap.BootstrapException: Failed to create the application model for de.todo42:test:jar:1.0-SNAPSHOT
Caused by: io.quarkus.bootstrap.resolver.AppModelResolverException: Failed to inject extension deployment dependencies for de.todo42:test:jar:1.0-SNAPSHOT
Caused by: io.quarkus.bootstrap.BootstrapDependencyProcessingException: No dependencies collected for Quarkus extension deployment artifact io.quarkus.ext:quarkus-ext-jooq-deployment:jar:1.0-SNAPSHOT while at least the corresponding runtime artifact io.quarkus.ext:quarkus-ext-jooq:jar:1.0-SNAPSHOT is expected

What does this mean and how can I proceed ?

kind regards and a big thank you for your effort
Dominik

build native failed

Hi tried it by creating new project. Project build successfully but when I try to build native then it failed.
I'm using it with gradle and building native with following command
./gradlew build -Dquarkus.package.type=native

But getting this error:

Error: Unsupported features in 4 methods
Detailed message:
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: javax.persistence.Column. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace: 
        at parsing org.jooq.impl.Tools$6.apply(Tools.java:3440)
Call path from entry point to org.jooq.impl.Tools$6.apply(): 
        at org.jooq.impl.Tools$6.apply(Tools.java:3437)
        at org.jooq.impl.Tools$6.apply(Tools.java:3433)
        at org.jooq.impl.Tools$Cache.run(Tools.java:3181)
        at org.jooq.impl.DefaultRecordMapperProvider.provide(DefaultRecordMapperProvider.java:83)
        at com.oracle.svm.reflect.DefaultRecordMapperProvider_provide_1f8963e2e741d6be3b1656e5266fd0d5676700fe_576.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Method.java:566)
        at org.jboss.resteasy.core.ContextParameterInjector$GenericDelegatingProxy.invoke(ContextParameterInjector.java:122)
        at com.sun.proxy.$Proxy258.hashCode(Unknown Source)
        at java.util.HashMap.hash(HashMap.java:339)
        at java.util.HashMap.get(HashMap.java:552)
        at com.oracle.svm.jni.access.JNIReflectionDictionary.getClassObjectByName(JNIReflectionDictionary.java:128)
        at com.oracle.svm.jni.functions.JNIFunctions.FindClass(JNIFunctions.java:324)
        at com.oracle.svm.core.code.IsolateEnterStub.JNIFunctions_FindClass_3ec1032c6cb9443725d1e68194130533bfb04076(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: javax.persistence.Column. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace: 
        at parsing org.jooq.impl.Tools$8.apply(Tools.java:3507)
Call path from entry point to org.jooq.impl.Tools$8.apply(): 
        at org.jooq.impl.Tools$8.apply(Tools.java:3504)
        at org.jooq.impl.Tools$8.apply(Tools.java:3500)
        at org.jooq.impl.Tools$Cache.run(Tools.java:3181)
        at org.jooq.impl.DefaultRecordMapperProvider.provide(DefaultRecordMapperProvider.java:83)
        at com.oracle.svm.reflect.DefaultRecordMapperProvider_provide_1f8963e2e741d6be3b1656e5266fd0d5676700fe_576.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Method.java:566)
        at org.jboss.resteasy.core.ContextParameterInjector$GenericDelegatingProxy.invoke(ContextParameterInjector.java:122)
        at com.sun.proxy.$Proxy258.hashCode(Unknown Source)
        at java.util.HashMap.hash(HashMap.java:339)
        at java.util.HashMap.get(HashMap.java:552)
        at com.oracle.svm.jni.access.JNIReflectionDictionary.getClassObjectByName(JNIReflectionDictionary.java:128)
        at com.oracle.svm.jni.functions.JNIFunctions.FindClass(JNIFunctions.java:324)
        at com.oracle.svm.core.code.IsolateEnterStub.JNIFunctions_FindClass_3ec1032c6cb9443725d1e68194130533bfb04076(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: javax.persistence.Column. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace: 
        at parsing org.jooq.impl.Tools$9.apply(Tools.java:3556)
Call path from entry point to org.jooq.impl.Tools$9.apply(): 
        at org.jooq.impl.Tools$9.apply(Tools.java:3555)
        at org.jooq.impl.Tools$9.apply(Tools.java:3551)
        at org.jooq.impl.Tools$Cache.run(Tools.java:3181)
        at org.jooq.impl.DefaultRecordMapperProvider.provide(DefaultRecordMapperProvider.java:83)
        at com.oracle.svm.reflect.DefaultRecordMapperProvider_provide_1f8963e2e741d6be3b1656e5266fd0d5676700fe_576.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Method.java:566)
        at org.jboss.resteasy.core.ContextParameterInjector$GenericDelegatingProxy.invoke(ContextParameterInjector.java:122)
        at com.sun.proxy.$Proxy258.hashCode(Unknown Source)
        at java.util.HashMap.hash(HashMap.java:339)
        at java.util.HashMap.get(HashMap.java:552)
        at com.oracle.svm.jni.access.JNIReflectionDictionary.getClassObjectByName(JNIReflectionDictionary.java:128)
        at com.oracle.svm.jni.functions.JNIFunctions.FindClass(JNIFunctions.java:324)
        at com.oracle.svm.core.code.IsolateEnterStub.JNIFunctions_FindClass_3ec1032c6cb9443725d1e68194130533bfb04076(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: javax.persistence.Entity. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace: 
        at parsing org.jooq.impl.Tools$5.apply(Tools.java:3405)
Call path from entry point to org.jooq.impl.Tools$5.apply(): 
        at org.jooq.impl.Tools$5.apply(Tools.java:3401)
        at org.jooq.impl.Tools$5.apply(Tools.java:3397)
        at org.jooq.impl.Tools$Cache.run(Tools.java:3181)
        at org.jooq.impl.DefaultRecordMapperProvider.provide(DefaultRecordMapperProvider.java:83)
        at com.oracle.svm.reflect.DefaultRecordMapperProvider_provide_1f8963e2e741d6be3b1656e5266fd0d5676700fe_576.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Method.java:566)
        at org.jboss.resteasy.core.ContextParameterInjector$GenericDelegatingProxy.invoke(ContextParameterInjector.java:122)
        at com.sun.proxy.$Proxy258.hashCode(Unknown Source)
        at java.util.HashMap.hash(HashMap.java:339)
        at java.util.HashMap.get(HashMap.java:552)
        at com.oracle.svm.jni.access.JNIReflectionDictionary.getClassObjectByName(JNIReflectionDictionary.java:128)
        at com.oracle.svm.jni.functions.JNIFunctions.FindClass(JNIFunctions.java:324)
        at com.oracle.svm.core.code.IsolateEnterStub.JNIFunctions_FindClass_3ec1032c6cb9443725d1e68194130533bfb04076(generated:0)

com.oracle.svm.core.util.UserError$UserException: Unsupported features in 4 methods
Detailed message:
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: javax.persistence.Column. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace: 
        at parsing org.jooq.impl.Tools$6.apply(Tools.java:3440)
Call path from entry point to org.jooq.impl.Tools$6.apply(): 
        at org.jooq.impl.Tools$6.apply(Tools.java:3437)
        at org.jooq.impl.Tools$6.apply(Tools.java:3433)
        at org.jooq.impl.Tools$Cache.run(Tools.java:3181)
        at org.jooq.impl.DefaultRecordMapperProvider.provide(DefaultRecordMapperProvider.java:83)
        at com.oracle.svm.reflect.DefaultRecordMapperProvider_provide_1f8963e2e741d6be3b1656e5266fd0d5676700fe_576.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Method.java:566)
        at org.jboss.resteasy.core.ContextParameterInjector$GenericDelegatingProxy.invoke(ContextParameterInjector.java:122)
        at com.sun.proxy.$Proxy258.hashCode(Unknown Source)
        at java.util.HashMap.hash(HashMap.java:339)
        at java.util.HashMap.get(HashMap.java:552)
        at com.oracle.svm.jni.access.JNIReflectionDictionary.getClassObjectByName(JNIReflectionDictionary.java:128)
        at com.oracle.svm.jni.functions.JNIFunctions.FindClass(JNIFunctions.java:324)
        at com.oracle.svm.core.code.IsolateEnterStub.JNIFunctions_FindClass_3ec1032c6cb9443725d1e68194130533bfb04076(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: javax.persistence.Column. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace: 
        at parsing org.jooq.impl.Tools$8.apply(Tools.java:3507)
Call path from entry point to org.jooq.impl.Tools$8.apply(): 
        at org.jooq.impl.Tools$8.apply(Tools.java:3504)
        at org.jooq.impl.Tools$8.apply(Tools.java:3500)
        at org.jooq.impl.Tools$Cache.run(Tools.java:3181)
        at org.jooq.impl.DefaultRecordMapperProvider.provide(DefaultRecordMapperProvider.java:83)
        at com.oracle.svm.reflect.DefaultRecordMapperProvider_provide_1f8963e2e741d6be3b1656e5266fd0d5676700fe_576.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Method.java:566)
        at org.jboss.resteasy.core.ContextParameterInjector$GenericDelegatingProxy.invoke(ContextParameterInjector.java:122)
        at com.sun.proxy.$Proxy258.hashCode(Unknown Source)
        at java.util.HashMap.hash(HashMap.java:339)
        at java.util.HashMap.get(HashMap.java:552)
        at com.oracle.svm.jni.access.JNIReflectionDictionary.getClassObjectByName(JNIReflectionDictionary.java:128)
        at com.oracle.svm.jni.functions.JNIFunctions.FindClass(JNIFunctions.java:324)
        at com.oracle.svm.core.code.IsolateEnterStub.JNIFunctions_FindClass_3ec1032c6cb9443725d1e68194130533bfb04076(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: javax.persistence.Column. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace: 
        at parsing org.jooq.impl.Tools$9.apply(Tools.java:3556)
Call path from entry point to org.jooq.impl.Tools$9.apply(): 
        at org.jooq.impl.Tools$9.apply(Tools.java:3555)
        at org.jooq.impl.Tools$9.apply(Tools.java:3551)
        at org.jooq.impl.Tools$Cache.run(Tools.java:3181)
        at org.jooq.impl.DefaultRecordMapperProvider.provide(DefaultRecordMapperProvider.java:83)
        at com.oracle.svm.reflect.DefaultRecordMapperProvider_provide_1f8963e2e741d6be3b1656e5266fd0d5676700fe_576.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Method.java:566)
        at org.jboss.resteasy.core.ContextParameterInjector$GenericDelegatingProxy.invoke(ContextParameterInjector.java:122)
        at com.sun.proxy.$Proxy258.hashCode(Unknown Source)
        at java.util.HashMap.hash(HashMap.java:339)
        at java.util.HashMap.get(HashMap.java:552)
        at com.oracle.svm.jni.access.JNIReflectionDictionary.getClassObjectByName(JNIReflectionDictionary.java:128)
        at com.oracle.svm.jni.functions.JNIFunctions.FindClass(JNIFunctions.java:324)
        at com.oracle.svm.core.code.IsolateEnterStub.JNIFunctions_FindClass_3ec1032c6cb9443725d1e68194130533bfb04076(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: javax.persistence.Entity. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace: 
        at parsing org.jooq.impl.Tools$5.apply(Tools.java:3405)
Call path from entry point to org.jooq.impl.Tools$5.apply(): 
        at org.jooq.impl.Tools$5.apply(Tools.java:3401)
        at org.jooq.impl.Tools$5.apply(Tools.java:3397)
        at org.jooq.impl.Tools$Cache.run(Tools.java:3181)
        at org.jooq.impl.DefaultRecordMapperProvider.provide(DefaultRecordMapperProvider.java:83)
        at com.oracle.svm.reflect.DefaultRecordMapperProvider_provide_1f8963e2e741d6be3b1656e5266fd0d5676700fe_576.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Method.java:566)
        at org.jboss.resteasy.core.ContextParameterInjector$GenericDelegatingProxy.invoke(ContextParameterInjector.java:122)
        at com.sun.proxy.$Proxy258.hashCode(Unknown Source)
        at java.util.HashMap.hash(HashMap.java:339)
        at java.util.HashMap.get(HashMap.java:552)
        at com.oracle.svm.jni.access.JNIReflectionDictionary.getClassObjectByName(JNIReflectionDictionary.java:128)
        at com.oracle.svm.jni.functions.JNIFunctions.FindClass(JNIFunctions.java:324)
        at com.oracle.svm.core.code.IsolateEnterStub.JNIFunctions_FindClass_3ec1032c6cb9443725d1e68194130533bfb04076(generated:0)

        at com.oracle.svm.core.util.UserError.abort(UserError.java:79)
        at com.oracle.svm.hosted.FallbackFeature.reportAsFallback(FallbackFeature.java:217)
        at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:753)
        at com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:538)
        at com.oracle.svm.hosted.NativeImageGenerator.lambda$run$0(NativeImageGenerator.java:451)
        at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1407)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
        at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
        at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
        at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
        at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
Caused by: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: Unsupported features in 4 methods
Detailed message:
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: javax.persistence.Column. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace: 
        at parsing org.jooq.impl.Tools$6.apply(Tools.java:3440)
Call path from entry point to org.jooq.impl.Tools$6.apply(): 
        at org.jooq.impl.Tools$6.apply(Tools.java:3437)
        at org.jooq.impl.Tools$6.apply(Tools.java:3433)
        at org.jooq.impl.Tools$Cache.run(Tools.java:3181)
        at org.jooq.impl.DefaultRecordMapperProvider.provide(DefaultRecordMapperProvider.java:83)
        at com.oracle.svm.reflect.DefaultRecordMapperProvider_provide_1f8963e2e741d6be3b1656e5266fd0d5676700fe_576.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Method.java:566)
        at org.jboss.resteasy.core.ContextParameterInjector$GenericDelegatingProxy.invoke(ContextParameterInjector.java:122)
        at com.sun.proxy.$Proxy258.hashCode(Unknown Source)
        at java.util.HashMap.hash(HashMap.java:339)
        at java.util.HashMap.get(HashMap.java:552)
        at com.oracle.svm.jni.access.JNIReflectionDictionary.getClassObjectByName(JNIReflectionDictionary.java:128)
        at com.oracle.svm.jni.functions.JNIFunctions.FindClass(JNIFunctions.java:324)
        at com.oracle.svm.core.code.IsolateEnterStub.JNIFunctions_FindClass_3ec1032c6cb9443725d1e68194130533bfb04076(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: javax.persistence.Column. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace: 
        at parsing org.jooq.impl.Tools$8.apply(Tools.java:3507)
Call path from entry point to org.jooq.impl.Tools$8.apply(): 
        at org.jooq.impl.Tools$8.apply(Tools.java:3504)
        at org.jooq.impl.Tools$8.apply(Tools.java:3500)
        at org.jooq.impl.Tools$Cache.run(Tools.java:3181)
        at org.jooq.impl.DefaultRecordMapperProvider.provide(DefaultRecordMapperProvider.java:83)
        at com.oracle.svm.reflect.DefaultRecordMapperProvider_provide_1f8963e2e741d6be3b1656e5266fd0d5676700fe_576.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Method.java:566)
        at org.jboss.resteasy.core.ContextParameterInjector$GenericDelegatingProxy.invoke(ContextParameterInjector.java:122)
        at com.sun.proxy.$Proxy258.hashCode(Unknown Source)
        at java.util.HashMap.hash(HashMap.java:339)
        at java.util.HashMap.get(HashMap.java:552)
        at com.oracle.svm.jni.access.JNIReflectionDictionary.getClassObjectByName(JNIReflectionDictionary.java:128)
        at com.oracle.svm.jni.functions.JNIFunctions.FindClass(JNIFunctions.java:324)
        at com.oracle.svm.core.code.IsolateEnterStub.JNIFunctions_FindClass_3ec1032c6cb9443725d1e68194130533bfb04076(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: javax.persistence.Column. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace: 
        at parsing org.jooq.impl.Tools$9.apply(Tools.java:3556)
Call path from entry point to org.jooq.impl.Tools$9.apply(): 
        at org.jooq.impl.Tools$9.apply(Tools.java:3555)
        at org.jooq.impl.Tools$9.apply(Tools.java:3551)
        at org.jooq.impl.Tools$Cache.run(Tools.java:3181)
        at org.jooq.impl.DefaultRecordMapperProvider.provide(DefaultRecordMapperProvider.java:83)
        at com.oracle.svm.reflect.DefaultRecordMapperProvider_provide_1f8963e2e741d6be3b1656e5266fd0d5676700fe_576.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Method.java:566)
        at org.jboss.resteasy.core.ContextParameterInjector$GenericDelegatingProxy.invoke(ContextParameterInjector.java:122)
        at com.sun.proxy.$Proxy258.hashCode(Unknown Source)
        at java.util.HashMap.hash(HashMap.java:339)
        at java.util.HashMap.get(HashMap.java:552)
        at com.oracle.svm.jni.access.JNIReflectionDictionary.getClassObjectByName(JNIReflectionDictionary.java:128)
        at com.oracle.svm.jni.functions.JNIFunctions.FindClass(JNIFunctions.java:324)
        at com.oracle.svm.core.code.IsolateEnterStub.JNIFunctions_FindClass_3ec1032c6cb9443725d1e68194130533bfb04076(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: javax.persistence.Entity. To diagnose the issue you can use the --allow-incomplete-classpath option. The missing type is then reported at run time when it is accessed the first time.
Trace: 
        at parsing org.jooq.impl.Tools$5.apply(Tools.java:3405)
Call path from entry point to org.jooq.impl.Tools$5.apply(): 
        at org.jooq.impl.Tools$5.apply(Tools.java:3401)
        at org.jooq.impl.Tools$5.apply(Tools.java:3397)
        at org.jooq.impl.Tools$Cache.run(Tools.java:3181)
        at org.jooq.impl.DefaultRecordMapperProvider.provide(DefaultRecordMapperProvider.java:83)
        at com.oracle.svm.reflect.DefaultRecordMapperProvider_provide_1f8963e2e741d6be3b1656e5266fd0d5676700fe_576.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Method.java:566)
        at org.jboss.resteasy.core.ContextParameterInjector$GenericDelegatingProxy.invoke(ContextParameterInjector.java:122)
        at com.sun.proxy.$Proxy258.hashCode(Unknown Source)
        at java.util.HashMap.hash(HashMap.java:339)
        at java.util.HashMap.get(HashMap.java:552)
        at com.oracle.svm.jni.access.JNIReflectionDictionary.getClassObjectByName(JNIReflectionDictionary.java:128)
        at com.oracle.svm.jni.functions.JNIFunctions.FindClass(JNIFunctions.java:324)
        at com.oracle.svm.core.code.IsolateEnterStub.JNIFunctions_FindClass_3ec1032c6cb9443725d1e68194130533bfb04076(generated:0)

        at com.oracle.graal.pointsto.constraints.UnsupportedFeatures.report(UnsupportedFeatures.java:129)
        at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:750)
        ... 8 more
Error: Image build request failed with exit status 1

> Task :quarkusBuild FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':quarkusBuild'.
> io.quarkus.builder.BuildException: Build failure: Build failed due to errors
        [error]: Build step io.quarkus.deployment.pkg.steps.NativeImageBuildStep#build threw an exception: java.lang.RuntimeException: Failed to build native image
        at io.quarkus.deployment.pkg.steps.NativeImageBuildStep.build(NativeImageBuildStep.java:366)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:932)
        at io.quarkus.builder.BuildContext.run(BuildContext.java:277)
        at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
        at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2046)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1578)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
        at java.base/java.lang.Thread.run(Thread.java:834)
        at org.jboss.threads.JBossThread.run(JBossThread.java:479)
  Caused by: java.lang.RuntimeException: Image generation failed. Exit code: 1
        at io.quarkus.deployment.pkg.steps.NativeImageBuildStep.imageGenerationFailed(NativeImageBuildStep.java:416)
        at io.quarkus.deployment.pkg.steps.NativeImageBuildStep.build(NativeImageBuildStep.java:344)
        ... 12 more

No matching constructor found on type class

Native app crashing when run any DB query. Genre is pojo class generated by jooq gradle from database.

No matching constructor found on type class com.example.jooq.tables.pojos.Genre for row type 
  "example_db"."genre"."genre_id", 
  "example_db"."genre"."genre_title"

	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1702)
	at io.smallrye.context.SmallRyeThreadContext$ContextualRunnable.run(SmallRyeThreadContext.java:56)
	at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
	at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2046)
	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1578)
	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1426)
	at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
	at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
	at java.lang.Thread.run(Thread.java:834)
	at org.jboss.threads.JBossThread.run(JBossThread.java:479)
	at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:517)
	at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:193)
Caused by: org.jooq.exception.MappingException: No matching constructor found on type class com.example.jooq.tables.pojos.Genre for row type 
  "example_db"."genre"."genre_id", 
  "example_db"."genre"."genre_title"

	at org.jooq.impl.DefaultRecordMapper.init(DefaultRecordMapper.java:494)
	at org.jooq.impl.DefaultRecordMapper.<init>(DefaultRecordMapper.java:321)
	at org.jooq.impl.DefaultRecordMapper.<init>(DefaultRecordMapper.java:312)
	at org.jooq.impl.DefaultRecordMapperProvider$1.apply(DefaultRecordMapperProvider.java:86)
	at org.jooq.impl.DefaultRecordMapperProvider$1.apply(DefaultRecordMapperProvider.java:83)
	at org.jooq.impl.Tools$Cache.run(Tools.java:3201)
	at org.jooq.impl.DefaultRecordMapperProvider.provide(DefaultRecordMapperProvider.java:83)
	at org.jooq.impl.ResultImpl.into(ResultImpl.java:1281)
	at org.jooq.impl.AbstractResultQuery.fetchInto(AbstractResultQuery.java:1550)
	at org.jooq.impl.SelectImpl.fetchInto(SelectImpl.java:3746)
	at com.example.model.GenreModel.getAllGenres(GenreModel.kt:16)
	at com.example.model.GenreModel_ClientProxy.getAllGenres(GenreModel_ClientProxy.zig:305)
	at com.example.helper.CacheProvider.getAllGenres(CacheHelper.kt:122)
	at com.example.helper.CacheProvider_Subclass.getAllGenres$$superaccessor12(CacheProvider_Subclass.zig:2014)
	at com.example.helper.CacheProvider_Subclass$$function$$12.apply(CacheProvider_Subclass$$function$$12.zig:29)
	at io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:54)
	at io.quarkus.cache.runtime.CacheResultInterceptor.lambda$intercept$0(CacheResultInterceptor.java:27)
	at io.quarkus.cache.runtime.caffeine.CaffeineCache$MappingSupplier.get(CaffeineCache.java:136)
	at io.quarkus.cache.runtime.caffeine.CaffeineCache.lambda$get$0(CaffeineCache.java:58)
	at com.github.benmanes.caffeine.cache.LocalAsyncCache.lambda$get$0(LocalAsyncCache.java:77)
	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
	... 11 more

2020-07-22 06:01:10,346 ERROR [io.qua.ver.htt.run.QuarkusErrorHandler] (executor-thread-4) HTTP Request to /mobile/genre/get_list failed, error id: f20b0609-75bd-4415-b344-15fd317ce8bb-1: org.jboss.resteasy.spi.UnhandledException: org.jooq.exception.MappingException: No matching constructor found on type class com.example.jooq.tables.pojos.Genre for row type 
  "example_db"."genre"."genre_id", 
  "example_db"."genre"."genre_title"

	at org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:106)
	at org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:372)
	at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:216)
	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:515)
	at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:259)
	at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:160)
	at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
	at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:163)
	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:245)
	at io.quarkus.resteasy.runtime.standalone.RequestDispatcher.service(RequestDispatcher.java:73)
	at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.dispatch(VertxRequestHandler.java:132)
	at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.access$000(VertxRequestHandler.java:37)
	at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler$1.run(VertxRequestHandler.java:94)
	at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
	at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2046)
	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1578)
	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
	at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
	at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
	at java.lang.Thread.run(Thread.java:834)
	at org.jboss.threads.JBossThread.run(JBossThread.java:479)
	at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:517)
	at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:193)
Caused by: org.jooq.exception.MappingException: No matching constructor found on type class com.example.jooq.tables.pojos.Genre for row type 
  "example_db"."genre"."genre_id", 
  "example_db"."genre"."genre_title"

	at org.jooq.impl.DefaultRecordMapper.init(DefaultRecordMapper.java:494)
	at org.jooq.impl.DefaultRecordMapper.<init>(DefaultRecordMapper.java:321)
	at org.jooq.impl.DefaultRecordMapper.<init>(DefaultRecordMapper.java:312)
	at org.jooq.impl.DefaultRecordMapperProvider$1.apply(DefaultRecordMapperProvider.java:86)
	at org.jooq.impl.DefaultRecordMapperProvider$1.apply(DefaultRecordMapperProvider.java:83)
	at org.jooq.impl.Tools$Cache.run(Tools.java:3201)
	at org.jooq.impl.DefaultRecordMapperProvider.provide(DefaultRecordMapperProvider.java:83)
	at org.jooq.impl.ResultImpl.into(ResultImpl.java:1281)
	at org.jooq.impl.AbstractResultQuery.fetchInto(AbstractResultQuery.java:1550)
	at org.jooq.impl.SelectImpl.fetchInto(SelectImpl.java:3746)
	at com.example.model.GenreModel.getAllGenres(GenreModel.kt:16)
	at com.example.model.GenreModel_ClientProxy.getAllGenres(GenreModel_ClientProxy.zig:305)
	at com.example.helper.CacheProvider.getAllGenres(CacheHelper.kt:122)
	at com.example.helper.CacheProvider_Subclass.getAllGenres$$superaccessor12(CacheProvider_Subclass.zig:2014)
	at com.example.helper.CacheProvider_Subclass$$function$$12.apply(CacheProvider_Subclass$$function$$12.zig:29)
	at io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:54)
	at io.quarkus.cache.runtime.CacheResultInterceptor.lambda$intercept$0(CacheResultInterceptor.java:27)
	at io.quarkus.cache.runtime.caffeine.CaffeineCache$MappingSupplier.get(CaffeineCache.java:136)
	at io.quarkus.cache.runtime.caffeine.CaffeineCache.lambda$get$0(CaffeineCache.java:58)
	at com.github.benmanes.caffeine.cache.LocalAsyncCache.lambda$get$0(LocalAsyncCache.java:77)
	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
	at io.smallrye.context.SmallRyeThreadContext$ContextualRunnable.run(SmallRyeThreadContext.java:56)
	at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
	at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2046)
	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1578)
	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1426)
	... 6 more

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.