Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-22717

Jdbc related test failure in camel downstream tests

XMLWordPrintable

    • Very Likely

      Tested with 2.23.2.fuse-7_13_0-00007-redhat-00001 , failing only on JDK11.
      Tests is failing on jenkins and on my local environment too.

      If you have any more questions just reach me out on slack.

      Reproducer:

      git clone http://code.engineering.redhat.com/gerrit/jboss-fuse/camel.git

      git checkout 2.23.2.fuse-7_13_0-00007-redhat-00001

      build with openjdk8

      mvn clean install -DskipTests
      

      run with openjdk11:

      mvn test -pl :camel-sql -Dtest=JdbcAggregateCompletionIntervalTest
      

      Jenkins pipeline results: Camel downstream tests pipeline

      Error stacktrace:

      [ERROR] testJdbcAggregateCompletionInterval(org.apache.camel.processor.aggregate.jdbc.JdbcAggregateCompletionIntervalTest)  Time elapsed: 3.879 s  <<< ERROR!
      org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[ID-dolearci-mac-1711011220948-2-3]
      	at org.apache.camel.processor.aggregate.jdbc.JdbcAggregateCompletionIntervalTest.testJdbcAggregateCompletionInterval(JdbcAggregateCompletionIntervalTest.java:34)
      Caused by: java.lang.NoClassDefFoundError: sun/misc/ObjectInputFilter$Config
      	at org.apache.camel.processor.aggregate.jdbc.JdbcAggregateCompletionIntervalTest.testJdbcAggregateCompletionInterval(JdbcAggregateCompletionIntervalTest.java:34)
      
      

              ggrzybek Grzegorz Grzybek
              dolearci@redhat.com Daniel Olearcin (Inactive)
              Daniel Olearcin Daniel Olearcin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: