Buggy code:
@ Controller ( "magazineController" ) public class MagazinePublisherController extends BaseController { private BlobstoreService blobstoreService = BlobstoreServiceFactory . getBlobstoreService ( ) ; GcsService gcsService = GcsServiceFactory . createGcsService ( ) ; private static Log logger = LogFactory . getLog ( MagazinePublisherController . class ) ; @ RequestMapping ( value = { "//publisher//dashboard" } , method = RequestMethod . GET ) protected ModelAndView showPublisherDashboard ( HttpServletRequest request , HttpServletResponse response ) throws Exception { } @ RequestMapping ( value = { "//magazine//showAdd" } , method = { RequestMethod . GET , RequestMethod . POST } ) protected ModelAndView showAddMagazine ( @ RequestParam ( value = "magazineId" , required = false ) Long magazineId , @ RequestParam ( value = "status" , required = false ) String status , @ RequestParam ( value = "issueId" , required = false ) Long issueId ) throws Exception { } @ RequestMapping ( value = { "//magazine//create" } , method = RequestMethod . POST ) public ModelAndView createOrNext ( @ RequestParam ( "action" ) String action , Magazine magazine , @ RequestParam ( value = "issueId" , required = false ) Long issueId , HttpServletRequest request ) { } @ RequestMapping ( value = { "//magazine//showAddIssue//{magazineId}" } , method = RequestMethod . GET ) protected ModelAndView showAddIssue ( @ PathVariable ( "magazineId" ) Long magazineId , @ RequestParam ( value = "issueId" , required = false ) Long issueId , @ RequestParam ( value = "status" , required = false ) String status ) throws Exception { } @ RequestMapping ( value = { "//magazine//createIssue" } , method = RequestMethod . POST ) public ModelAndView createIssue ( @ RequestParam ( "action" ) String action , Issue issue , HttpServletRequest request , HttpServletResponse response ) throws IOException { } @ RequestMapping ( value = { "//magazine//showUploadIssue//{magazineId}//{issueId}" } , method = RequestMethod . GET ) protected ModelAndView showUploadIssue ( @ RequestParam ( value = "status" , required = false ) String status , @ PathVariable ( "magazineId" ) Long magazineId , @ PathVariable ( "issueId" ) Long issueId , HttpServletRequest req ) throws Exception { } @ RequestMapping ( value = { "//magazine//saveUploadIssue" } , method = RequestMethod . POST ) protected ModelAndView saveUploadIssue ( @ RequestParam ( "action" ) String action , Issue issue , HttpServletRequest req ) throws Exception { } @ RequestMapping ( value = { "//magazine//showPublish//{magazineId}//{issueId}" } , method = RequestMethod . GET ) protected ModelAndView publishView ( @ RequestParam ( value = "status" , required = false ) String status , @ PathVariable ( "magazineId" ) Long magazineId , @ PathVariable ( "issueId" ) Long issueId , HttpServletRequest req ) throws Exception { ModelAndView mv = getDefaultModelAndView ( "magazine//publish//showPublish" ) ; Issue issueFromStore = magazineService . getIssue ( issueId ) ; Magazine magazine = magazineService . getMagazine ( issueFromStore . getMagazineId ( ) ) ; if ( "publish" . equalsIgnoreCase ( status ) ) { <START_BUG> mv . addObject ( "message" , String . format ( "Published<seq2seq4repair_space>sucessfully(id:<seq2seq4repair_space>%s,<seq2seq4repair_space>status<seq2seq4repair_space>:<seq2seq4repair_space>%s).<seq2seq4repair_space>The<seq2seq4repair_space>issue<seq2seq4repair_space>will<seq2seq4repair_space>be<seq2seq4repair_space>reviewed<seq2seq4repair_space>by<seq2seq4repair_space>admin<seq2seq4repair_space>and<seq2seq4repair_space>made<seq2seq4repair_space>live<seq2seq4repair_space>on<seq2seq4repair_space>%s<seq2seq4repair_space>:<seq2seq4repair_space>" , issueFromStore . getIssueId ( ) , issueFromStore . getStatus ( ) , issueFromStore . getPublishingDate ( ) ) ) ; <END_BUG> } mv . addObject ( "issue" , issueFromStore ) ; mv . addObject ( "magazine" , magazine ) ; IssuePage issueCoverPage = magazineService . getIssueFrontPageByIssueId ( issueFromStore ) ; mv . addObject ( "issuePage" , issueCoverPage ) ; return mv ; } @ RequestMapping ( value = { "//magazine//publish//{magazineId}//{issueId}" } , method = RequestMethod . POST ) protected ModelAndView publish ( @ PathVariable ( "magazineId" ) Long magazineId , @ PathVariable ( "issueId" ) Long issueId , HttpServletRequest req ) throws Exception { } @ RequestMapping ( value = { "//magazine//getBlob" } , method = RequestMethod . GET ) protected void getBlob ( @ RequestParam ( "fileName" ) String fileName , HttpServletResponse res ) throws Exception { } @ RequestMapping ( value = { "//magazine//preview//{issueId}" } , method = RequestMethod . GET ) protected ModelAndView previewIssue ( @ PathVariable ( "issueId" ) Long issueId , HttpServletRequest req , HttpServletResponse res ) throws Exception { } @ RequestMapping ( value = { "//magazine//list" } , method = RequestMethod . GET ) protected ModelAndView list ( HttpServletRequest request ) throws Exception { } @ RequestMapping ( value = { "//magazine//deleteIssuePage//{issuePageId}" } , method = RequestMethod . GET ) protected ModelAndView deleteIssuePage ( @ PathVariable ( "issuePageId" ) Long issuePageId ) { } }

Fix:
mv . addObject ( "message" , String . format ( "Published<seq2seq4repair_space>sucessfully(id:<seq2seq4repair_space>%s,<seq2seq4repair_space>status<seq2seq4repair_space>:<seq2seq4repair_space>%s).<seq2seq4repair_space>The<seq2seq4repair_space>issue<seq2seq4repair_space>will<seq2seq4repair_space>be<seq2seq4repair_space>reviewed<seq2seq4repair_space>by<seq2seq4repair_space>admin<seq2seq4repair_space>and<seq2seq4repair_space>made<seq2seq4repair_space>live<seq2seq4repair_space>on<seq2seq4repair_space>%s<seq2seq4repair_space>:<seq2seq4repair_space>" , issueFromStore . getIssueId ( ) , issueFromStore . getStatus ( ) , issueFromStore . getPublishingDateStr ( ) ) ) ;