Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15324

Camel-as2 can fail on jdk8 because of java.lang.NoSuchMethodError: java.nio.CharBuffer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.1
    • 3.4.2, 3.5.0
    • camel-as2
    • None
    • Unknown

    Description

      There is an error in camel-as2, which can be seen during execution of client on jdk8.
      Here is an exception:

      Exception in thread "AS2Hdlr-41811" java.lang.NoSuchMethodError: java.nio.CharBuffer.clear()Ljava/nio/CharBuffer;
      at org.apache.camel.component.as2.api.io.AS2SessionInputBuffer.appendDecoded(AS2SessionInputBuffer.java:331)
      at org.apache.camel.component.as2.api.io.AS2SessionInputBuffer.lineFromReadBuffer(AS2SessionInputBuffer.java:311)
      at org.apache.camel.component.as2.api.io.AS2SessionInputBuffer.readLine(AS2SessionInputBuffer.java:216)

      Error was simulated during implementation of camel-quarkus extension for as2.

      Attachments

        Activity

          People

            jondruse Jiri Ondrusek
            jondruse Jiri Ondrusek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: