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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 7.10.1.GA
    • 7.7.1.GA
    • Business Central, Cloud
    • None
    • False
    • False
    • Undefined
    • 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
    • ---
    • ---
    • 2021 Week 16-18 (from Apr 19), 2021 Week 19-21 (from May 10)

      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.

       

       

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

              rhn-support-fspolti Filippe Spolti
              edwinkun Muhammad Edwin
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: