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

Salesforce report consumer throws IllegalArgumentException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.1
    • 3.3.0
    • camel-salesforce
    • None
    • Unknown

    Description

      When synchronously running a report and returning the results, an IllegalArgumentException is thrown due to a dataCell  containing an escapedValue as a key.  In the SummaryValue.class in the setAny method the name of the key is checked and throws an error if its other than value.

      I'm assuming instead of throwing an error this should bypass any key with name other than value.

      Attached is a screenshot of a breakpoint where the error is thrown, the report's key:value pair run through workbench, and the stacktrace.

      Attachments

        1. error_in_breakpoint.PNG
          13 kB
          Jeff Peterson
        2. stacktrace.txt
          11 kB
          Jeff Peterson
        3. workbench_report_results.PNG
          21 kB
          Jeff Peterson

        Activity

          People

            davsclaus Claus Ibsen
            jpeterson@ccihealth.org Jeff Peterson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: