Buggy code:
@ Path ( "//project" ) public class ProjectService implements ServiceConstants { @ Context private ServletContext context ; @ POST @ Path ( "{projectID}" ) @ Consumes ( "application//json" ) @ Produces ( "application//json" ) public Response processProject ( @ PathParam ( "projectID" ) long projectID , String message , @ Context HttpServletRequest req ) { } @ POST @ Consumes ( "application//json" ) public Response createProject ( String message , @ Context HttpServletRequest req ) { } private Response executeProjectJob ( long projectID ) { try { ProjectDAO pDAO = DAOFactory . getProjectDAO ( ) ; Project project = pDAO . getProject ( projectID ) ; TransformProject projectInstance = new TransformProject ( ) ; new com . lumens . engine . serializer . ProjectSerializer ( projectInstance ) . readFromJson ( new ByteArrayInputStream ( project . data . getBytes ( ) ) ) ; class MyResultHandler implements LastResultHandler { @ Override public void process ( TransformComponent src , String resultName , List < Element > results ) { try { ByteArrayOutputStream baos = new ByteArrayOutputStream ( ) ; new com . lumens . model . serializer . ElementSerializer ( results . get ( 0 ) , true ) . writeToJson ( baos ) ; ApplicationContext . get ( ) . cacheResultString ( baos . toString ( ) ) ; } catch ( Exception ex ) { } } } List < ResultHandler > handlers = new ArrayList < > ( ) ; handlers . add ( new MyResultHandler ( ) ) ; ApplicationContext . get ( ) . getTransformEngine ( ) . execute ( new com . lumens . engine . run . SingleThreadTransformExecuteJob ( projectInstance , handlers ) ) ; JsonUtility utility = JsonUtility . createJsonUtility ( ) ; JsonGenerator json = utility . getGenerator ( ) ; json . writeStartObject ( ) ; json . writeStringField ( "status" , "OK" ) ; <START_BUG> json . writeStringField ( "message" , "executing<seq2seq4repair_space>is<seq2seq4repair_space>invoked" ) ; <END_BUG> json . writeEndObject ( ) ; return Response . ok ( ) . entity ( utility . toUTF8String ( ) ) . build ( ) ; } catch ( Exception ex ) { return ServerUtils . getErrorMessageResponse ( ex ) ; } } private Response createProject ( JsonNode contentJson ) { } private Response updateProject ( long projectID , JsonNode contentJson ) { } private Response activeProject ( long projectID , HttpServletRequest req ) { } @ GET @ Path ( "//result" ) @ Produces ( "application//json" ) public Response getProjectExecutionResults ( @ QueryParam ( "page" ) int page , @ Context HttpServletRequest req ) throws IOException { } @ GET @ Produces ( "application//json" ) public Response listProject ( @ QueryParam ( "page" ) int page , @ Context HttpServletRequest req ) throws IOException { } @ GET @ Path ( "{projectID}" ) @ Produces ( "application//json" ) public Response getProject ( @ PathParam ( "projectID" ) long projectID , @ Context HttpServletRequest req ) throws IOException { } @ GET @ Path ( "{projectID}//format" ) @ Produces ( "application//json" ) public Response getFormatFromComponent ( @ PathParam ( "projectID" ) long projectID , @ QueryParam ( "component_id" ) String componentId , @ QueryParam ( "format_name" ) String formatName , @ QueryParam ( "format_path" ) String formatPath , @ QueryParam ( "direction" ) String direction , @ Context HttpServletRequest req ) { } private Response deleteProject ( long projectID , HttpServletRequest req ) { } private Response deployProject ( long projectID , HttpServletRequest req ) { } }

Fix:
json . writeStringField ( "result_content" , "executing<seq2seq4repair_space>is<seq2seq4repair_space>invoked" ) ;