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

Error in getParam function #93

Open
josseed opened this issue Mar 6, 2019 · 0 comments
Open

Error in getParam function #93

josseed opened this issue Mar 6, 2019 · 0 comments

Comments

@josseed
Copy link

josseed commented Mar 6, 2019

I'm submitting a ...

[] bug report => search github for a similar issue or PR before submitting
[X] feature request

Current behavior
the algorithm throw a error when the value expected is a String

Expected behavior
the algorithm must parser to string the value

Caused by:

String idExecutive = req.getParam("id_executive");
org.json.JSONException: JSONObject["id_executive"] not a string.

What is the motivation / use case for changing the behavior?

Please tell us about your environment:
ubuntu 18, eclipse Photon Release (4.8.0), wildFly 14, HTTP server,

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