Unhandled exception on setting file variable with null value

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Duplicate
    • Priority: L3 - Default
    • None
    • Affects Version/s: None
    • Component/s: engine
    • None

      Steps to reproduce
      Perform a request to set a variable of type file with value null against an REST API endpoint of your choice. For instance POST /process-definition/$ID/start

      {"variables": {"fileVariable":{"value":null,"type":"File","valueInfo":{"filename":"aFileName.txt"}}}}
      

      Observed behavior
      The IllegalArgumentException is not catched and therefore propagated to the JAX-RS provider which leads to an html response body including a stacktrace

      Expected behavior
      The exception is handled properly

            Assignee:
            Unassigned
            Reporter:
            Tassilo Weidner-Mühl
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: