Buggy code:
} else if ( basicMode && ( uri . equals ( "//account" ) ) ) { dataModel = new HashMap < String , Object > ( ) ; dataModel . put ( "title" , "My<seq2seq4repair_space>Account" ) ; templateName = ( PratilipiSite . templateFilePrefix ) + "AccountBasic.ftl" ; } else if ( basicMode && ( uri . equals ( "//navigation" ) ) ) { dataModel = new HashMap < String , Object > ( ) ; dataModel . put ( "title" , "Menu" ) ; dataModel . put ( "navigationList" , navigationList ) ; templateName = ( PratilipiSite . templateFilePrefix ) + "NavigationBasic.ftl" ; } else if ( basicMode && ( uri . equals ( "//updatepassword" ) ) ) { dataModel = new HashMap < String , Object > ( ) ; dataModel . put ( "title" , "Update<seq2seq4repair_space>Password" ) ; templateName = ( PratilipiSite . templateFilePrefix ) + "PasswordUpdateBasic.ftl" ; } else if ( ( page != null ) && ( ( page . getType ( ) ) == ( PageType . PRATILIPI ) ) ) { resourceList . addAll ( createFbOpenGraphTags ( page . getPrimaryContentId ( ) ) ) ; dataModel = createDataModelForPratilipiPage ( page . getPrimaryContentId ( ) , basicMode , request ) ; templateName = ( PratilipiSite . templateFilePrefix ) + ( basicMode ? "PratilipiBasic.ftl" : "Pratilipi.ftl" ) ; } else if ( ( page != null ) && ( ( page . getType ( ) ) == ( PageType . AUTHOR ) ) ) { dataModel = createDataModelForAuthorPage ( page . getPrimaryContentId ( ) , basicMode ) ; templateName = ( PratilipiSite . templateFilePrefix ) + ( basicMode ? "AuthorBasic.ftl" : "Author.ftl" ) ; } else if ( ( page != null ) && ( ( page . getType ( ) ) == ( PageType . EVENT ) ) ) { dataModel = createDataModelForEventPage ( page . getPrimaryContentId ( ) , basicMode ) ; templateName = ( PratilipiSite . templateFilePrefix ) + ( basicMode ? "EventBasic.ftl" : "Event.ftl" ) ; } else if ( ( page != null ) && ( ( page . getType ( ) ) == ( PageType . BLOG ) ) ) { dataModel = createDataModelForBlogPage ( page . getPrimaryContentId ( ) , filterLanguage , basicMode ) ; templateName = ( PratilipiSite . templateFilePrefix ) + ( basicMode ? "BlogPostListBasic.ftl" : "BlogPostList.ftl" ) ; } else if ( ( page != null ) && ( ( page . getType ( ) ) == ( PageType . BLOG_POST ) ) ) { dataModel = createDataModelForBlogPostPage ( page . getPrimaryContentId ( ) , basicMode ) ; templateName = ( PratilipiSite . templateFilePrefix ) + ( basicMode ? "BlogPostBasic.ftl" : "BlogPost.ftl" ) ; } else if ( uri . equals ( "//pratilipireader" ) ) { if ( ! basicMode ) { resourceList . add ( POLYMER_PAPER_FAB . getTag ( ) ) ; resourceList . add ( POLYMER_PAPER_SLIDER . getTag ( ) ) ; resourceList . add ( POLYMER_IRON_ICONS_SOCIAL . getTag ( ) ) ; resourceList . add ( POLYMER_IRON_ICONS_AV . getTag ( ) ) ; resourceList . add ( POLYMER_IRON_ICONS_EDITOR . getTag ( ) ) ; } Integer pageNo = ( ( request . getParameter ( "pageNo" ) ) != null ) ? Integer . parseInt ( request . getParameter ( "pageNo" ) ) : 1 ; dataModel = createDataModelForReadPage ( Long . parseLong ( request . getParameter ( "id" ) ) , pageNo , basicMode ) ; String fontSize = AccessTokenFilter . getCookieValue ( FONT_SIZE . getName ( ) , request ) ; String imageSize = AccessTokenFilter . getCookieValue ( IMAGE_SIZE . getName ( ) , request ) ; String action = ( ( request . getParameter ( "action" ) ) != null ) ? request . getParameter ( "action" ) : "read" ; dataModel . put ( "fontSize" , ( fontSize != null ? Integer . parseInt ( fontSize ) : 14 ) ) ; <START_BUG> dataModel . put ( "imageSize" , ( imageSize != null ? Integer . parseInt ( imageSize ) : 600 ) ) ; <END_BUG> dataModel . put ( "action" , action ) ; templateName = ( PratilipiSite . templateFilePrefix ) + ( basicMode ? "ReadBasic.ftl" : "Read.ftl" ) ; } else if ( uri . equals ( "//pratilipihomepage" ) ) { dataModel = new HashMap < String , Object > ( ) ; dataModel . put ( "title" , "Home<seq2seq4repair_space>Page" ) ; templateName = ( PratilipiSite . templateFilePrefix ) + "HomePage.ftl" ; } else if ( uri . equals ( "//search" ) ) { dataModel = createDataModelForSearchPage ( basicMode , filterLanguage , request ) ; templateName = ( PratilipiSite . templateFilePrefix ) + ( basicMode ? "SearchBasic.ftl" : "Search.ftl" ) ; } else if ( ( filterLanguage == null ) && ( uri . equals ( "//books" ) ) ) { dataModel = createDataModelForListPage ( BOOK , basicMode , displayLanguage , filterLanguage , request ) ; templateName = ( PratilipiSite . templateFilePrefix ) + ( basicMode ? "ListBasic.ftl" : "List.ftl" ) ; } else if ( ( filterLanguage == null ) && ( uri . equals ( "//stories" ) ) ) { dataModel = createDataModelForListPage ( STORY , basicMode , displayLanguage , filterLanguage , request ) ; templateName = ( PratilipiSite . templateFilePrefix ) + ( basicMode ? "ListBasic.ftl" : "List.ftl" ) ; } else if ( ( filterLanguage == null ) && ( uri . equals ( "//poems" ) ) ) { dataModel = createDataModelForListPage ( POEM , basicMode , displayLanguage , filterLanguage , request ) ; templateName = ( PratilipiSite . templateFilePrefix ) + ( basicMode ? "ListBasic.ftl" : "List.ftl" ) ; } else if ( ( filterLanguage == null ) && ( uri . equals ( "//articles" ) ) ) { dataModel = createDataModelForListPage ( ARTICLE , basicMode , displayLanguage , filterLanguage , request ) ; templateName = ( PratilipiSite . templateFilePrefix ) + ( basicMode ? "ListBasic.ftl" : "List.ftl" ) ;

Fix:
dataModel . put ( "imageSize" , ( imageSize != null ? Integer . parseInt ( imageSize ) : 636 ) ) ;