org.kie.remote.client.api.exception.RemoteCommunicationException

Unable to retrieve content from response!

Samebug tips1

Your current object model and mappings do not match the XML content. Check your JAXB annotations.


rprp

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web110

  • via Unknown by Abhijit Gupta,
  • Stack trace

    • org.kie.remote.client.api.exception.RemoteCommunicationException: Unable to retrieve content from response! at org.kie.services.client.api.command.AbstractRemoteCommandObject.executeRestCommand(AbstractRemoteCommandObject.java:427) at org.kie.services.client.api.command.AbstractRemoteCommandObject.executeCommand(AbstractRemoteCommandObject.java:128) at org.kie.services.client.api.command.KieSessionClientCommandObject.startProcess(KieSessionClientCommandObject.java:248) at view.processCall.main(processCall.java:55) Caused by: org.kie.services.client.serialization.SerializationException: Unable to unmarshal string. at org.kie.services.client.serialization.JaxbSerializationProvider.deserialize(JaxbSerializationProvider.java:237) at org.kie.services.client.serialization.JaxbSerializationProvider.deserialize(JaxbSerializationProvider.java:221) at org.kie.services.client.api.command.AbstractRemoteCommandObject.deserializeResponseContent(AbstractRemoteCommandObject.java:472) at org.kie.services.client.api.command.AbstractRemoteCommandObject.executeRestCommand(AbstractRemoteCommandObject.java:407) ... 3 more Caused by: javax.xml.bind.UnmarshalException: unexpected element (uri:" http://www.w3.org/1999/xhtml", local:"html"). Expected elements are <{}abortProcessInstanceCommand>,<{}abortWorkItemCommand>,<{}activate-task-command>,<{}add-task-command>,<{}boolean-type>,<{}byte-type>,<{}cancel-deadline-command>,<{}char-type>,<{}claim-next-available-task-command>,<{}claim-task-command>,<{}clearHistoryLogsCommand>,<{}command-request>,<{}command-response>,<{}complete-task-command>,<{}completeWorkItemCommand>,<{}content>,<{}content-response>,<{}delegate-task-command>,<{}deleteCommand>,<{}deployment-descriptor>,<{}deployment-job-result>,<{}deployment-unit>,<{}deployment-unit-list>,<{}disconnected-fact-handle>,<{}double-type>,<{}exception>,<{}exception-response>,<{}execute-task-rules-command>,<{}exit-task-command>,<{}fail-task-command>,<{}findActiveProcessInstancesCommand>,<{}findNodeInstancesCommand>,<{}findProcessInstanceCommand>,<{}findProcessInstancesCommand>,<{}findSubProcessInstancesCommand>,<{}findVariableInstancesByNameCommand>,<{}findVariableInstancesCommand>,<{}fireAllRulesCommand>,<{}float-type>,<{}forward-task-command>,<{}get-attachment-command>,<{}get-content-command>,<{}get-id-command>,<{}get-task-assigned-as-business-admin-command>,<{}get-task-assigned-as-excluded-owner-command>,<{}get-task-assigned-as-initiator-command>,<{}get-task-assigned-as-potential-owner-by-exp-date-command>,<{}get-task-assigned-as-potential-owner-command>,<{}get-task-assigned-as-potential-owner-paging-command>,<{}get-task-assigned-as-recipient-command>,<{}get-task-assigned-as-stakeholder-command>,<{}get-task-assigned-by-groups-command>,<{}get-task-by-work-item-id-command>,<{}get-task-command>,<{}get-task-content-command>,<{}get-task-definition-command>,<{}get-task-owned-by-exp-date-before-date-command>,<{}get-task-owned-by-exp-date-command>,<{}get-task-property-command>,<{}get-tasks-by-process-instance-id-command>,<{}get-tasks-by-status-by-process-instance-id-command>,<{}get-tasks-by-various-fields-command>,<{}get-tasks-for-process-command>,<{}get-tasks-owned-command>,<{}get-variable-command>,<{}getFactCountCommand>,<{}getGlobalCommand>,<{}getProcessIdsCommand>,<{}getProcessInstanceByCorrelationKeyCommand>,<{}getProcessInstanceCommand>,<{}getProcessInstancesCommand>,<{}getWorkItemCommand>,<{}insert-object-command>,<{}int-type>,<{}list>,<{}log-instance-list>,<{}long-list-response>,<{}long-type>,<{}namedObjectModel>,<{}node-instance-log>,<{}nominate-task-command>,<{}objectModel>,<{}other-response>,<{}primitive-response>,<{}process-definition>,<{}process-definition-list>,<{}process-instance>,<{}process-instance-form-response>,<{}process-instance-list-response>,<{}process-instance-log>,<{}process-instance-response>,<{}process-instance-with-vars-response>,<{}process-sub-task-command>,<{}query-process-instance-info>,<{}query-process-instance-result>,<{}query-task-info>,<{}query-task-result>,<{}release-task-command>,<{}response>,<{}resume-task-command>,<{}setGlobalCommand>,<{}setProcessInstanceVariablesCommand>,<{}short-type>,<{}signalEventCommand>,<{}skip-task-command>,<{}start-task-command>,<{}startCorrelatedProcessCommand>,<{}startProcessCommand>,<{}stop-task-command>,<{}string-list-response>,<{}string-type>,<{}suspend-task-command>,<{}task>,<{}task-content-response>,<{}task-form-response>,<{}task-response>,<{}task-summary>,<{}task-summary-list-response>,<{}update-command>,<{}variable-info>,<{}variable-instance-log>,<{}variables-response>,<{}work-item-response> at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:662) at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:258) at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:253) at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement(Loader.java:120) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext$DefaultRootLoader.childElement(UnmarshallingContext.java:1063) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:498) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:480) at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:150) at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1635) at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:458) at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:404) at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:245) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:217) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:189) at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:157) at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:204) at org.kie.services.client.serialization.JaxbSerializationProvider.deserialize(JaxbSerializationProvider.java:235)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    davidvanlaatumdavidvanlaatum
    Once,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    8 more bugmates