Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-1555

Make sure Quarkus snapshot works with examples and runtimes

XMLWordPrintable

    • 3
    • 2020 Week 13-15 (from Mar 23)

      build with 999-snapshot breaks because of wrong dependencies:

      [INFO] -------------------------------------------------------
      [INFO]  T E S T S
      [INFO] -------------------------------------------------------
      [INFO] Running org.kie.kogito.examples.hr.DepartmentTest
      Mar 23, 2020 10:56:20 AM io.quarkus.deployment.QuarkusAugmentor run
      WARN: Using Java versions older than 11 to build Quarkus applications is deprecated and will be disallowed in a future release!
      Mar 23, 2020 10:56:20 AM org.jboss.threads.Version <clinit>
      INFO: JBoss Threads version 3.0.1.Final
      [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 4.583 s <<< FAILURE! - in org.kie.kogito.examples.hr.DepartmentTest
      [ERROR] testDepartmentUK  Time elapsed: 0.012 s  <<< ERROR!
      java.lang.RuntimeException: 
      java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
      	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#initialize threw an exception: java.lang.NoSuchMethodError: io.quarkus.arc.processor.BeanProcessor$Builder.setTransformUnproxyableClasses(Z)Lio/quarkus/arc/processor/BeanProcessor$Builder;
      	at io.quarkus.arc.deployment.ArcProcessor.initialize(ArcProcessor.java:243)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:938)
      	at io.quarkus.builder.BuildContext.run(BuildContext.java:273)
      	at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      	at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2027)
      	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1551)
      	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1442)
      	at java.lang.Thread.run(Thread.java:748)
      	at org.jboss.threads.JBossThread.run(JBossThread.java:479)
      
      Caused by: java.lang.RuntimeException: 
      io.quarkus.builder.BuildException: Build failure: Build failed due to errors
      	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#initialize threw an exception: java.lang.NoSuchMethodError: io.quarkus.arc.processor.BeanProcessor$Builder.setTransformUnproxyableClasses(Z)Lio/quarkus/arc/processor/BeanProcessor$Builder;
      	at io.quarkus.arc.deployment.ArcProcessor.initialize(ArcProcessor.java:243)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:938)
      	at io.quarkus.builder.BuildContext.run(BuildContext.java:273)
      	at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      	at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2027)
      	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1551)
      	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1442)
      	at java.lang.Thread.run(Thread.java:748)
      	at org.jboss.threads.JBossThread.run(JBossThread.java:479)
      
      Caused by: io.quarkus.builder.BuildException: 
      Build failure: Build failed due to errors
      	[error]: Build step io.quarkus.arc.deployment.ArcProcessor#initialize threw an exception: java.lang.NoSuchMethodError: io.quarkus.arc.processor.BeanProcessor$Builder.setTransformUnproxyableClasses(Z)Lio/quarkus/arc/processor/BeanProcessor$Builder;
      	at io.quarkus.arc.deployment.ArcProcessor.initialize(ArcProcessor.java:243)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:938)
      	at io.quarkus.builder.BuildContext.run(BuildContext.java:273)
      	at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      	at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2027)
      	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1551)
      	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1442)
      	at java.lang.Thread.run(Thread.java:748)
      	at org.jboss.threads.JBossThread.run(JBossThread.java:479)
      
      Caused by: java.lang.NoSuchMethodError: io.quarkus.arc.processor.BeanProcessor$Builder.setTransformUnproxyableClasses(Z)Lio/quarkus/arc/processor/BeanProcessor$Builder;
      
      [INFO] 
      [INFO] Results:
      [INFO] 
      [ERROR] Errors: 
      [ERROR]   DepartmentTest.testDepartmentUK ยป Runtime java.lang.RuntimeException: io.quark...
      [INFO] 
      [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 1
      [INFO] 
      [INFO] 
      
      

              evacchi Edoardo Vacchi (Inactive)
              evacchi Edoardo Vacchi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: