Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application requests return error message when using Native Images #1963

Open
LuboTerifaj opened this issue Jun 12, 2024 · 0 comments
Open

Comments

@LuboTerifaj
Copy link

Description

Application requests return error message when using Native Images.

Details

All examples that use Native Images in serverless workflow directory.

Example commands:

  • curl -X POST -H 'Content-Type:application/json' -H 'Accept:application/json' -d '{"name": "John", "language": "English"}' http://localhost:8080/jsongreet from Greeting Example
  • curl -X POST -H 'Content-Type:application/json' -H 'Accept:application/json' -d '{"number": 2}' http://localhost:8080/error from Error Example
  • curl -X POST -H 'Content-Type:application/json' -H 'Accept:application/json' -d '{"workflowdata":{"numbers":[{"x":2, "y": 1},{"x":4, "y": 3}]}}' http://localhost:8080/expression from Expression Example
  • etc.

Steps to reproduce

  1. Follow the instructions in example readme file. Focus on Native Images.
  2. Execute curl commands.
Actual result

The following message is returned: {"message":"Illegal node type: class org.jbpm.workflow.core.node.StartNode"}.

Expected result

Correct message is returned (depends on specific example).

Implementation ideas

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant