Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-3150

Exception is thrown when inserting fact via REST API

XMLWordPrintable

      Inserting a simple fact (just String instance) via REST /runtime/

      {id}

      /execute ended with an exception:
      Unable to add result from InsertObjectCommand because of UnsupportedOperationException: java.lang.UnsupportedOperationException: Result type DefaultFactHandle from command InsertObjectCommand is an unsupported response type.

      It seems that the command itself can be processed, but the result - DefaultFactHandle cannot be serialized in JaxbCommandsResponse class.

      Attaching full stacktrace.

      version: community 6.0.0.CR1

              marco.rietveld Marco Rietveld (Inactive)
              rsynek@redhat.com Radovan Synek (Inactive)
              Radovan Synek Radovan Synek (Inactive)
              Radovan Synek Radovan Synek (Inactive)
              Cheng Zhang (Inactive), Lukáš Petrovický (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: