Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3210

com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Illegal type (%s) to deserialize: prevented for security reasons

    Details

    • Type: Bug
    • Status: New (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.7.1.GA
    • Fix Version/s: None
    • Component/s: Business Central, Cloud
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      deploy using 
      template: rhpam77-authoring
       
      docker images : 
      registry.redhat.io/rhpam-7/rhpam-businesscentral-rhel8 7.7.1 e1cce31400f6 4 weeks ago 1.28GB
       
      env : ocp 4.5

      Show
      deploy using  template: rhpam77-authoring   docker images :  registry.redhat.io/rhpam-7/rhpam-businesscentral-rhel8 7.7.1 e1cce31400f6 4 weeks ago 1.28GB   env : ocp 4.5

      Description

      got this error on Business Central

      ```

      Caused by: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Illegal type (org.kie.server.api.model.definition.QueryDefinition) to deserialize: prevented for security reasons at [Source: (String)"{ "response" : [ { "type" : "SUCCESS", "msg" : "", "result" : { "query-definition" : { "query-name" : "jbpmHumanTasks", "query-source" : "${org.kie.server.persistence.ds}", "query-expression" : "select t.activationTime, t.actualOwner, t.createdBy, t.createdOn, t.deploymentId, t.description, t.dueDate, t.name, t.parentId, t.priority, t.processId, t.processInstanceId, t.processSessionId, t.status, t.taskId, t.workItemId, t.lastModificationDate, pil.corre"[truncated 1082 chars]; line: 6, column: 7] (through reference chain: org.kie.server.api.model.ServiceResponsesList["response"]>java.util.ArrayList[0]>org.kie.server.api.model.ServiceResponse["result"]) at com.fasterxml.jackson.core.jackson-databind@2.9.10.4-redhat-00001//com.fasterxml.jackson.databind.exc.InvalidDefinitionException.from(InvalidDefinitionException.java:67) at com.fasterxml.jackson.core.jackson-databind@2.9.10.4-redhat-00001//com.fasterxml.jackson.databind.jsontype.TypeDeserializer.checkLegalTypes(TypeDeserializer.java:237)

      ```

       

      bc can deploy to kie, but bc cannot see all containers deployed on kie due to this.

       

       

        Gliffy Diagrams

          Attachments

          1. bc-error.7z
            2 kB
          2. kie error.png
            kie error.png
            32 kB

            Issue Links

              Activity

                People

                • Assignee:
                  filippe.spolti Filippe Spolti
                  Reporter:
                  edwinm Muhammad Edwin
                  Tester:
                  Karel Suta
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated: