Skip to content

org.eclipse.dirigible.components.api.bpm.BpmFacade failed due to: Cannot convert '[object Object]'(language: JavaScript, type: Object) to Java type 'java.lang.String': Invalid or lossy primitive coercion #355

Description

@AlexanderEvstatiev

When doing the example from here: https://www.codbex.com/technology/2024/07/17/leave-request-bpm-app
When you finish it, you receive the following exception:

2025-07-30 09:42:31.321 [ERROR] [http-nio-80-exec-6] [default-tenant] app.http.rs.controller - Serving resource[requests], Verb[POST], Content-Type[application/json], Accept[application/json,text/plain,/] finished in error

java.lang.Exception: invokeMember (startProcess) on org.eclipse.dirigible.components.api.bpm.BpmFacade failed due to: Cannot convert '[object Object]'(language: JavaScript, type: Object) to Java type 'java.lang.String': Invalid or lossy primitive coercion.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions