You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "LuboTerifaj (via GitHub)" <gi...@apache.org> on 2024/06/12 19:19:47 UTC
[I] Application requests return error message when using Native Images [incubator-kie-kogito-examples]
LuboTerifaj opened a new issue, #1963:
URL: https://github.com/apache/incubator-kie-kogito-examples/issues/1963
### Description
Application requests return error message when using Native Images.
#### Details
All examples that use Native Images in [serverless workflow](https://github.com/apache/incubator-kie-kogito-examples/tree/stable/serverless-workflow-examples) 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](https://github.com/apache/incubator-kie-kogito-examples/tree/stable/serverless-workflow-examples/serverless-workflow-greeting-quarkus)
- `curl -X POST -H 'Content-Type:application/json' -H 'Accept:application/json' -d '{"number": 2}' http://localhost:8080/error` from [Error Example](https://github.com/apache/incubator-kie-kogito-examples/tree/stable/serverless-workflow-examples/serverless-workflow-error-quarkus)
- `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](https://github.com/apache/incubator-kie-kogito-examples/tree/stable/serverless-workflow-examples/serverless-workflow-expression-quarkus)
- 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_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org