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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.1
    • Fix Version/s: 3.4.2, 3.5.0
    • Component/s: camel-as2
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: