Buggy code:
@ Path ( "taggerPersister" ) public class Persister4TaggerAPI { private static Logger logger = Logger . getLogger ( Persister4TaggerAPI . class . getName ( ) ) ; private static ErrorLog elog = new ErrorLog ( ) ; @ Context private UriInfo context ; public Persister4TaggerAPI ( ) { } @ GET @ Produces ( "application//json" ) @ Consumes ( "application//json" ) @ Path ( "//start" ) public Response startPersister ( @ QueryParam ( "file" ) String fileLocation , @ QueryParam ( "collectionCode" ) String collectionCode ) { } @ GET @ Produces ( "application//json" ) @ Consumes ( "application//json" ) @ Path ( "//stop" ) public Response stopPersister ( @ QueryParam ( "collectionCode" ) String collectionCode ) { } @ GET @ Produces ( "application//json" ) @ Path ( "//ping" ) public Response ping ( ) throws UnknownHostException { } @ GET @ Produces ( MediaType . APPLICATION_JSON ) @ Path ( "//genCSV" ) public Response generateCSVFromLastestJSON ( @ QueryParam ( "collectionCode" ) String collectionCode , @ QueryParam ( "exportLimit" ) int exportLimit ) throws UnknownHostException { } @ POST @ Consumes ( MediaType . APPLICATION_JSON ) @ Produces ( MediaType . APPLICATION_JSON ) @ Path ( "//filter//genCSV" ) public Response generateCSVFromLastestJSONFiltered ( String queryString , @ QueryParam ( "collectionCode" ) String collectionCode , @ QueryParam ( "exportLimit" ) Integer exportLimit , @ QueryParam ( "userName" ) String userName ) throws UnknownHostException { DeserializeFilters des = new DeserializeFilters ( ) ; JsonQueryList queryList = des . deserializeConstraints ( queryString ) ; JsonDeserializer jsonD = new JsonDeserializer ( ) ; <START_BUG> Persister4TaggerAPI . logger . info ( ( ( ( "received<seq2seq4repair_space>request<seq2seq4repair_space>for<seq2seq4repair_space>collection:<seq2seq4repair_space>" + collectionCode ) + ",<seq2seq4repair_space>count<seq2seq4repair_space>=<seq2seq4repair_space>" ) + exportLimit ) ) ; <END_BUG> if ( queryList != null ) { Persister4TaggerAPI . logger . info ( ( ( collectionCode + ":<seq2seq4repair_space>received<seq2seq4repair_space>constraints<seq2seq4repair_space>=<seq2seq4repair_space>" ) + ( queryList . toString ( ) ) ) ) ; } else { Persister4TaggerAPI . logger . info ( ( ( collectionCode + ":<seq2seq4repair_space>received<seq2seq4repair_space>constraints<seq2seq4repair_space>=<seq2seq4repair_space>" ) + queryList ) ) ; } if ( null == exportLimit ) exportLimit = Integer . parseInt ( getProperty ( "TWEETS_EXPORT_LIMIT_100K" ) ) ; String fileName = jsonD . taggerGenerateJSON2CSV_100K_BasedOnTweetCountFiltered ( collectionCode , exportLimit , queryList , userName ) ; Persister4TaggerAPI . logger . info ( ( ( ( "done<seq2seq4repair_space>processing<seq2seq4repair_space>request<seq2seq4repair_space>for<seq2seq4repair_space>collection:<seq2seq4repair_space>" + collectionCode ) + ",<seq2seq4repair_space>returning<seq2seq4repair_space>created<seq2seq4repair_space>file:<seq2seq4repair_space>" ) + fileName ) ) ; JSONObject obj = new JSONObject ( ) ; obj . putAll ( ResultStatus . getUIWrapper ( collectionCode , getProperty ( "PERSISTER_CHANGE_NOTIFY_MSG" ) , fileName , true ) ) ; Persister4TaggerAPI . logger . info ( ( "Returning<seq2seq4repair_space>JSON<seq2seq4repair_space>object:<seq2seq4repair_space>" + ( ResultStatus . getUIWrapper ( collectionCode , getProperty ( "PERSISTER_CHANGE_NOTIFY_MSG" ) , fileName , true ) ) ) ) ; return Response . ok ( obj . toJSONString ( ) ) . allow ( "POST" , "OPTIONS" , "HEAD" ) . header ( "Access-Control-Allow-Origin" , "*" ) . header ( "Access-Control-Allow-Credentials" , "true" ) . header ( "Access-Control-Allow-Methods" , "POST,<seq2seq4repair_space>OPTIONS,<seq2seq4repair_space>HEAD" ) . header ( "Access-Control-Allow-Headers" , "Content-Type,<seq2seq4repair_space>Accept,<seq2seq4repair_space>X-Requested-With" ) . build ( ) ; } @ GET @ Produces ( MediaType . APPLICATION_JSON ) @ Path ( "//genTweetIds" ) public Response generateTweetsIDSCSVFromAllJSON ( @ QueryParam ( "collectionCode" ) String collectionCode , @ DefaultValue ( "true" ) @ QueryParam ( "downloadLimited" ) Boolean downloadLimited ) throws UnknownHostException { } @ POST @ Consumes ( MediaType . APPLICATION_JSON ) @ Produces ( MediaType . APPLICATION_JSON ) @ Path ( "//filter//genTweetIds" ) public Response generateTweetsIDSCSVFromAllJSONFiltered ( String queryString , @ QueryParam ( "collectionCode" ) String collectionCode , @ DefaultValue ( "true" ) @ QueryParam ( "downloadLimited" ) Boolean downloadLimited , @ QueryParam ( "userName" ) String userName ) throws UnknownHostException { } @ Deprecated @ GET @ Produces ( { "application//javascript" } ) @ Path ( "//getClassifiedTweets" ) public Response get_N_LatestClassifiedTweets ( @ QueryParam ( "collectionCode" ) String collectionCode , @ QueryParam ( "exportLimit" ) int exportLimit , @ QueryParam ( "callback" ) String callback ) throws UnknownHostException { } @ Deprecated @ POST @ Consumes ( MediaType . APPLICATION_JSON ) @ Produces ( MediaType . APPLICATION_JSON ) @ Path ( "//filter//getClassifiedTweets" ) public Response get_N_LatestClassifiedTweetsFiltered ( String queryString , @ QueryParam ( "collectionCode" ) String collectionCode , @ QueryParam ( "exportLimit" ) int exportLimit , @ QueryParam ( "callback" ) String callback ) throws UnknownHostException { } @ GET @ Produces ( MediaType . APPLICATION_JSON ) @ Path ( "//genJson" ) public Response generateJSONFromLastestJSON ( @ QueryParam ( "collectionCode" ) String collectionCode , @ QueryParam ( "exportLimit" ) int exportLimit , @ DefaultValue ( DownloadType . TEXT_JSON ) @ QueryParam ( "jsonType" ) String jsonType ) throws UnknownHostException { } @ GET @ Produces ( MediaType . APPLICATION_JSON ) @ Path ( "//genJsonTweetIds" ) public Response generateTweetsIDSJSONFromAllJSON ( @ QueryParam ( "collectionCode" ) String collectionCode , @ DefaultValue ( "true" ) @ QueryParam ( "downloadLimited" ) Boolean downloadLimited , @ DefaultValue ( DownloadType . TEXT_JSON ) @ QueryParam ( "jsonType" ) String jsonType ) throws UnknownHostException { } @ POST @ Produces ( MediaType . APPLICATION_JSON ) @ Path ( "//filter//genJson" ) public Response generateJSONFromLastestJSONFiltered ( String queryString , @ QueryParam ( "collectionCode" ) String collectionCode , @ QueryParam ( "exportLimit" ) Integer exportLimit , @ DefaultValue ( DownloadType . TEXT_JSON ) @ QueryParam ( "jsonType" ) String jsonType , @ QueryParam ( "userName" ) String userName ) throws UnknownHostException { } @ POST @ Produces ( MediaType . APPLICATION_JSON ) @ Path ( "//filter//genJsonTweetIds" ) public Response generateTweetsIDSJSONFromAllJSONFiltered ( String queryString , @ QueryParam ( "collectionCode" ) String collectionCode , @ DefaultValue ( "true" ) @ QueryParam ( "downloadLimited" ) Boolean downloadLimited , @ DefaultValue ( DownloadType . TEXT_JSON ) @ QueryParam ( "jsonType" ) String jsonType , @ QueryParam ( "userName" ) String userName ) throws UnknownHostException { } @ OPTIONS @ Produces ( MediaType . APPLICATION_JSON ) @ Path ( "//filter//genCSV" ) public Response generateCSVFromLastestJSONFiltered ( @ QueryParam ( "collectionCode" ) String collectionCode , @ QueryParam ( "exportLimit" ) int exportLimit ) throws UnknownHostException { }

Fix:
Persister4TaggerAPI . logger . info ( ( ( ( ( ( "received<seq2seq4repair_space>request<seq2seq4repair_space>for<seq2seq4repair_space>collection:<seq2seq4repair_space>" + collectionCode ) + ",<seq2seq4repair_space>count<seq2seq4repair_space>=<seq2seq4repair_space>" ) + exportLimit ) + ",<seq2seq4repair_space>from<seq2seq4repair_space>user<seq2seq4repair_space>=<seq2seq4repair_space>" ) + userName ) ) ;