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

Human Task Output Validation chokes upon wrong json #29

Open
tpetter opened this issue Jan 27, 2020 · 1 comment
Open

Human Task Output Validation chokes upon wrong json #29

tpetter opened this issue Jan 27, 2020 · 1 comment

Comments

@tpetter
Copy link
Member

tpetter commented Jan 27, 2020

If the service that is being invoked from within the engine does not respond with a valid JSON object structure - i.e., with opening and closing curly brackets { ... } - then the TaskOutputValidator ends up either a ClassCastException or a "technical failure" without much further info.
The error handling is expected to be more robust.

@tpetter
Copy link
Member Author

tpetter commented Jan 27, 2020

if no response is given JSONReader throws JSONParseFailure, but it can be more intelligent when there is no token.

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

No branches or pull requests

1 participant