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

camel-jbang - Log command - java.lang.IllegalArgumentException: Comparison method violates its general contract!

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 4.4.1, 4.5.0
    • camel-jbang
    • None
    • Unknown

    Description

      java.lang.IllegalArgumentException: Comparison method violates its general contract!
      at java.base/java.util.TimSort.mergeHi(TimSort.java:903)
      at java.base/java.util.TimSort.mergeAt(TimSort.java:520)
      at java.base/java.util.TimSort.mergeForceCollapse(TimSort.java:461)
      at java.base/java.util.TimSort.sort(TimSort.java:254)
      at java.base/java.util.Arrays.sort(Arrays.java:1307)
      at java.base/java.util.ArrayList.sort(ArrayList.java:1721)
      at org.apache.camel.dsl.jbang.core.commands.action.CamelLogAction.dumpLogFiles(CamelLogAction.java:294)
      at org.apache.camel.dsl.jbang.core.commands.action.CamelLogAction.doCall(CamelLogAction.java:151)
      at org.apache.camel.dsl.jbang.core.commands.CamelCommand.call(CamelCommand.java:71)
      at org.apache.camel.dsl.jbang.core.commands.CamelCommand.call(CamelCommand.java:37)
      at picocli.CommandLine.executeUserObject(CommandLine.java:2041)
      at picocli.CommandLine.access$1500(CommandLine.java:148)
      at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
      at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
      at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
      at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
      at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
      at picocli.CommandLine.execute(CommandLine.java:2170)
      at org.apache.camel.dsl.jbang.core.commands.CamelJBangMain.run(CamelJBangMain.java:154)
      at org.apache.camel.dsl.jbang.core.commands.CamelJBangMain.run(CamelJBangMain.java:59)
      at main.CamelJBang.main(CamelJBang.java:36)

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: