org.json.simple.parser.JSONParser is not thread safe

Steps to reproduce

http://juliusdavies.ca/json-simple-1.1.1-javadocs/org/json/simple/parser/JSONParser.html

Steps to reproduce:
1. have a slow pc running opencast
2. fire off multiple parallel requests to endpoint which parses Strings to JSONObjects (e.g. conflict checking, create events)

Actual Results:
Endpoint is unable to parse String to JSONObject, throwing various exceptions including ArrayIndexOutOfBoundsException and NoSuchElementException.

Expected Results:
Endpoint should parse String to JSONObject and proceed with method.

Workaround (if any):
have a fast pc run opencast

Assignee

duncan smith

Reporter

duncan smith

Severity

Incorrectly Functioning Without Workaround

Tags (folksonomy)

None

Fix versions

Affects versions

Priority

Major
Configure