Uploaded image for project: 'Red Hat Build of Apache Camel for Quarkus'
  1. Red Hat Build of Apache Camel for Quarkus
  2. CEQ-1586

SQL Aggregation repository test fails with Oracle JDBC driver

XMLWordPrintable

    • False
    • False
    • 0

      SQL Aggregation repository test is failing on Native mode with Oracle JDBC drivers.

      Failing test: https://github.com/jboss-fuse/camel-quarkus/blob/camel-quarkus-2.2.0-product/integration-tests/sql/src/test/java/org/apache/camel/quarkus/component/sql/it/SqlTest.java#L195

      Error message:

      Stacktrace
      ---------------------------------------------------------------------------------------------------------------------------------------
      : java.lang.RuntimeException: Error adding to repository aggregation with key 123
      	at org.apache.camel.processor.aggregate.jdbc.JdbcAggregationRepository$1.doInTransaction(JdbcAggregationRepository.java:180)
      	at org.apache.camel.processor.aggregate.jdbc.JdbcAggregationRepository$1.doInTransaction(JdbcAggregationRepository.java:153)
      	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140)
      ...
      	at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:567)
      	at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)
      Caused by: java.lang.IllegalStateException: Object serialization is currently not supported
      	at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:66)
      	at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:381)
      	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1135)
      	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:349)
      	at org.apache.camel.processor.aggregate.jdbc.JdbcCamelCodec.encode(JdbcCamelCodec.java:98)
      	at org.apache.camel.processor.aggregate.jdbc.JdbcCamelCodec.marshallExchange(JdbcCamelCodec.java:73)
      	at org.apache.camel.processor.aggregate.jdbc.JdbcCamelCodec.marshallExchange(JdbcCamelCodec.java:44)
      	at org.apache.camel.processor.aggregate.jdbc.JdbcAggregationRepository.insertHelper(JdbcAggregationRepository.java:273)
      

          1.
          Documentation Sub-task Closed Undefined Unassigned
          2.
          Productization Sub-task Closed Undefined Unassigned
          3.
          Review Test Sub-task Closed Undefined Unassigned
          4.
          Development Sub-task Closed Undefined Unassigned

              jondruse@redhat.com Jiri Ondrusek
              tturek@redhat.com Tomas Turek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: