Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save danielezonca/1127c3aed436465087bc37a2eb5304d2 to your computer and use it in GitHub Desktop.

Select an option

Save danielezonca/1127c3aed436465087bc37a2eb5304d2 to your computer and use it in GitHub Desktop.
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26.376 s
[INFO] Finished at: 2020-04-03T09:05:25+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:1.3.0.Final:native-image (default) on project sample-kogito: Failed to generate native image: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[ERROR] [error]: Build step org.kie.kogito.quarkus.deployment.KogitoAssetsProcessor#generateModel threw an exception: java.lang.IllegalArgumentException: 'other' is different type of Path
[ERROR] at java.base/sun.nio.fs.UnixPath.relativize(UnixPath.java:429)
[ERROR] at java.base/sun.nio.fs.UnixPath.relativize(UnixPath.java:43)
[ERROR] at org.kie.kogito.codegen.decision.DecisionContainerGenerator.classDeclaration(DecisionContainerGenerator.java:74)
[ERROR] at org.kie.kogito.codegen.ApplicationGenerator.generateApplicationSections(ApplicationGenerator.java:242)
[ERROR] at org.kie.kogito.codegen.ApplicationGenerator.generate(ApplicationGenerator.java:210)
[ERROR] at org.kie.kogito.quarkus.deployment.KogitoAssetsProcessor.generateModel(KogitoAssetsProcessor.java:175)
[ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[ERROR] at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:938)
[ERROR] at io.quarkus.builder.BuildContext.run(BuildContext.java:273)
[ERROR] at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
[ERROR] at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2027)
[ERROR] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1551)
[ERROR] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1442)
[ERROR] at java.base/java.lang.Thread.run(Thread.java:834)
[ERROR] at org.jboss.threads.JBossThread.run(JBossThread.java:479)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment