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

upgraded jettison 1.5.1 to 1.5.2 , throwing error were JSONObject used and force to handle try/catch or surround with JSONException #68

Open
prasa18 opened this issue Mar 14, 2023 · 1 comment

Comments

@prasa18
Copy link

prasa18 commented Mar 14, 2023

public Response list(){
JSONObject json = new JSONObject(infoService.listEnvironment());
return Response.status(HttpStatus.SC_OK).entity(json.toString()).build();
}

@coheigea
Copy link
Contributor

What's the error? Can you provide a stack trace?

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

2 participants