You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "fjtirado (via GitHub)" <gi...@apache.org> on 2024/10/15 11:23:58 UTC
[I] Unable to call int64 openapi definition using small numbers [incubator-kie-kogito-runtimes]
fjtirado opened a new issue, #3728:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/issues/3728
### Describe the bug
int64 openapi definition generates code that expects a Long instance
if the argument to the call is a number that fits in 4 bytes (for example, number 6), jackson use an integer to hold it.
This causes a classcastexception when trying to perform the rest call
### Expected behavior
The call is performed
### Actual behavior
org.jbpm.workflow.instance.WorkflowRuntimeException: [long-call:b2dda24c-23cc-47f5-8422-e74a7bae04b3 - getPetById:[uuid=6]] -- class java.lang.Integer cannot be cast to class java.lang.Long (java.lang.Integer and java.lang.Long are in module java.base of loader 'bootstrap')
at org.jbpm.workflow.instance.node.WorkItemNodeInstance.getExceptionScopeInstance(WorkItemNodeInstance.java:211)
### How to Reproduce?
_No response_
### Output of `uname -a` or `ver`
_No response_
### Output of `java -version`
_No response_
### GraalVM version (if different from Java)
_No response_
### Kogito version or git rev (or at least Quarkus version if you are using Kogito via Quarkus platform BOM)
_No response_
### Build tool (ie. output of `mvnw --version` or `gradlew --version`)
_No response_
### Additional information
_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
Re: [I] Unable to call int64 openapi definition using small numbers [incubator-kie-kogito-runtimes]
Posted by "fjtirado (via GitHub)" <gi...@apache.org>.
fjtirado closed issue #3728: Unable to call int64 openapi definition using small numbers
URL: https://github.com/apache/incubator-kie-kogito-runtimes/issues/3728
--
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
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