Buggy code:
public class RequestViewHTTP implements RequestView { private static final Logger log = LoggingManager . getLoggerForClass ( ) ; public static String KEY_LABEL = "view_results_table_request_tab_http" ; private static String CHARSET_DECODE = "ISO-8859-1" ; private static String PARAM_CONCATENATE = "&" ; private JPanel paneParsed ; private ObjectTableModel requestModel = null ; private ObjectTableModel paramsModel = null ; private ObjectTableModel headersModel = null ; private static final String [ ] COLUMNS_REQUEST = new String [ ] { "<seq2seq4repair_space>" , "<seq2seq4repair_space>" } ; private static final String [ ] COLUMNS_PARAMS = new String [ ] { "view_results_table_request_params_key" , "view_results_table_request_params_value" } ; private static final String [ ] COLUMNS_HEADERS = new String [ ] { "view_results_table_request_headers_key" , "view_results_table_request_headers_value" } ; private JTable tableRequest = null ; private JTable tableParams = null ; private JTable tableHeaders = null ; private static final TableCellRenderer [ ] RENDERERS_REQUEST = new TableCellRenderer [ ] { null , null } ; private static final TableCellRenderer [ ] RENDERERS_PARAMS = new TableCellRenderer [ ] { null , null } ; private static final TableCellRenderer [ ] RENDERERS_HEADERS = new TableCellRenderer [ ] { null , null } ; public RequestViewHTTP ( ) { } public void init ( ) { } public void clearData ( ) { } public void setSamplerResult ( Object objectResult ) { if ( objectResult instanceof HTTPSampleResult ) { HTTPSampleResult sampleResult = ( ( HTTPSampleResult ) ( objectResult ) ) ; URL hUrl = sampleResult . getURL ( ) ; requestModel . addRow ( new RowResult ( JMeterUtils . getResString ( "view_results_table_request_http_method" ) , sampleResult . getHTTPMethod ( ) ) ) ; requestModel . addRow ( new RowResult ( JMeterUtils . getResString ( "view_results_table_request_http_protocol" ) , hUrl . getProtocol ( ) ) ) ; requestModel . addRow ( new RowResult ( JMeterUtils . getResString ( "view_results_table_request_http_host" ) , hUrl . getHost ( ) ) ) ; int port = ( ( hUrl . getPort ( ) ) == ( - 1 ) ) ? hUrl . getDefaultPort ( ) : hUrl . getPort ( ) ; <START_BUG> requestModel . addRow ( new RowResult ( JMeterUtils . getResString ( "view_results_table_request_http_port" ) , port ) ) ; <END_BUG> requestModel . addRow ( new RowResult ( JMeterUtils . getResString ( "view_results_table_request_http_path" ) , hUrl . getPath ( ) ) ) ; String queryGet = ( ( hUrl . getQuery ( ) ) == null ) ? "" : hUrl . getQuery ( ) ; String queryPost = sampleResult . getQueryString ( ) ; if ( ( queryPost != null ) && ( ( queryPost . length ( ) ) > 0 ) ) { if ( ( queryGet . length ( ) ) > 0 ) { queryGet += RequestViewHTTP . PARAM_CONCATENATE ; } queryGet += queryPost ; } queryGet = RequestViewHTTP . decodeQuery ( queryGet ) ; if ( queryGet != null ) { Map < String , String > mapQuery = RequestViewHTTP . getQueryMap ( queryGet ) ; Set < String > keys = mapQuery . keySet ( ) ; for ( String key : keys ) { paramsModel . addRow ( new RowResult ( key , mapQuery . get ( key ) ) ) ; } } String cookie = sampleResult . getCookies ( ) ; if ( ( cookie != null ) && ( ( cookie . length ( ) ) > 0 ) ) { headersModel . addRow ( new RowResult ( JMeterUtils . getParsedLabel ( "view_results_table_request_http_cookie" ) , sampleResult . getCookies ( ) ) ) ; } LinkedHashMap < String , String > lhm = JMeterUtils . parseHeaders ( sampleResult . getRequestHeaders ( ) ) ; Set < String > keySet = lhm . keySet ( ) ; for ( String key : keySet ) { headersModel . addRow ( new RowResult ( key , lhm . get ( key ) ) ) ; } } else { requestModel . addRow ( new RowResult ( "" , JMeterUtils . getResString ( "view_results_table_request_http_nohttp" ) ) ) ; } } public static Map < String , String > getQueryMap ( String query ) { } public static String decodeQuery ( String query ) { } public JPanel getPanel ( ) { } private Component createRequestPane ( ) { } private void setFirstColumnPreferredSize ( JTable table ) { } public String getLabel ( ) { } }

Fix:
requestModel . addRow ( new RowResult ( JMeterUtils . getResString ( "view_results_table_request_http_port" ) , Integer . valueOf ( port ) ) ) ;