Buggy code:
@ Path ( "run" ) public class Service { public static String SLOTS = "slots" ; public static String VERBALIZATION = "verbalization" ; public static String VAR = "var" ; public static String TYPE = "is" ; public static String RESOURCE = "rdf:Resource" ; public static String CLASS = "rdf:Class" ; public static String PROPERTY = "rdf:Property" ; public static final String CLASS_DICTIONARY = "resources//dbpedia_3Eng_class.ttl" ; public static final String PROPERTY_DICTIONARY = "resources//dbpedia_3Eng_property.ttl" ; public static Lookup classLookup = new Lookup ( Service . CLASS_DICTIONARY ) ; public static Lookup propertyLookup = new Lookup ( Service . PROPERTY_DICTIONARY ) ; private static final Logger LOGGER = Logger . getLogger ( Main . class . getName ( ) ) ; @ GET @ Produces ( MediaType . APPLICATION_JSON ) @ Consumes ( MediaType . APPLICATION_JSON ) public String getIt ( @ QueryParam ( "data" ) String data ) { } public JSONArray getJSONArray ( Map < String , String > var2String ) { } public JSONArray getScoredJSONArray ( Map < String , Map < String , Double > > var2String ) { } public static void main ( String [ ] args ) { Service aw = new Service ( ) ; <START_BUG> String data = "{\"question\":\"Who<seq2seq4repair_space>did<seq2seq4repair_space>that<seq2seq4repair_space>and<seq2seq4repair_space>wo?\",\"slots\"<seq2seq4repair_space>:<seq2seq4repair_space>" + ( ( ( ( ( ( "[<seq2seq4repair_space>{\"s\"<seq2seq4repair_space>:<seq2seq4repair_space>\"?x\",<seq2seq4repair_space>\"p\"<seq2seq4repair_space>:<seq2seq4repair_space>\"verbalization\",<seq2seq4repair_space>\"o\"<seq2seq4repair_space>:<seq2seq4repair_space>\"flow<seq2seq4repair_space>through\"}," + "{\"s\"<seq2seq4repair_space>:<seq2seq4repair_space>\"?x\",<seq2seq4repair_space>\"p\"<seq2seq4repair_space>:<seq2seq4repair_space>\"is\",<seq2seq4repair_space>\"o\"<seq2seq4repair_space>:<seq2seq4repair_space>\"rdf:Property\"}," ) + "<seq2seq4repair_space>{\"s\"<seq2seq4repair_space>:<seq2seq4repair_space>\"?y\",<seq2seq4repair_space>\"p\"<seq2seq4repair_space>:<seq2seq4repair_space>\"verbalization\",<seq2seq4repair_space>\"o\"<seq2seq4repair_space>:<seq2seq4repair_space>\"Gunsan\"},<seq2seq4repair_space>" ) + "<seq2seq4repair_space>{\"s\"<seq2seq4repair_space>:<seq2seq4repair_space>\"?z\",<seq2seq4repair_space>\"p\"<seq2seq4repair_space>:<seq2seq4repair_space>\"verbalization\",<seq2seq4repair_space>\"o\"<seq2seq4repair_space>:<seq2seq4repair_space>\"rivers\"}," ) + "{\"s\"<seq2seq4repair_space>:<seq2seq4repair_space>\"?z\",<seq2seq4repair_space>\"p\"<seq2seq4repair_space>:<seq2seq4repair_space>\"is\",<seq2seq4repair_space>\"o\"<seq2seq4repair_space>:<seq2seq4repair_space>\"rdf:Class\"}," ) + "]<seq2seq4repair_space>" ) + "}" ) ; <END_BUG> System . out . println ( aw . getIt ( data ) ) ; } }

Fix:
String data = "{\"question\":\"Who<seq2seq4repair_space>did<seq2seq4repair_space>that<seq2seq4repair_space>and<seq2seq4repair_space>wo?\",\"slots\"<seq2seq4repair_space>:<seq2seq4repair_space>" + ( ( ( ( ( ( "[<seq2seq4repair_space>{\"s\"<seq2seq4repair_space>:<seq2seq4repair_space>\"?x\",<seq2seq4repair_space>\"p\"<seq2seq4repair_space>:<seq2seq4repair_space>\"verbalization\",<seq2seq4repair_space>\"o\"<seq2seq4repair_space>:<seq2seq4repair_space>\"flow\"}," + "{\"s\"<seq2seq4repair_space>:<seq2seq4repair_space>\"?x\",<seq2seq4repair_space>\"p\"<seq2seq4repair_space>:<seq2seq4repair_space>\"is\",<seq2seq4repair_space>\"o\"<seq2seq4repair_space>:<seq2seq4repair_space>\"rdf:Property\"}," ) + "<seq2seq4repair_space>{\"s\"<seq2seq4repair_space>:<seq2seq4repair_space>\"?y\",<seq2seq4repair_space>\"p\"<seq2seq4repair_space>:<seq2seq4repair_space>\"verbalization\",<seq2seq4repair_space>\"o\"<seq2seq4repair_space>:<seq2seq4repair_space>\"Gunsan\"},<seq2seq4repair_space>" ) + "<seq2seq4repair_space>{\"s\"<seq2seq4repair_space>:<seq2seq4repair_space>\"?z\",<seq2seq4repair_space>\"p\"<seq2seq4repair_space>:<seq2seq4repair_space>\"verbalization\",<seq2seq4repair_space>\"o\"<seq2seq4repair_space>:<seq2seq4repair_space>\"rivers\"}," ) + "{\"s\"<seq2seq4repair_space>:<seq2seq4repair_space>\"?z\",<seq2seq4repair_space>\"p\"<seq2seq4repair_space>:<seq2seq4repair_space>\"is\",<seq2seq4repair_space>\"o\"<seq2seq4repair_space>:<seq2seq4repair_space>\"rdf:Class\"}," ) + "]<seq2seq4repair_space>" ) + "}" ) ;