Buggy code:
Iterator iter = ogs . iterator ( ) ; boolean addGroupKey = true ; while ( iter . hasNext ( ) ) { Report . OptionGroup og = ( ( Report . OptionGroup ) ( iter . next ( ) ) ) ; Group intakeOptionGroup = intake . get ( "OptionGroup" ) . mapTo ( og ) ; String ogGroupKey = intakeOptionGroup . getGID ( ) ; if ( addGroupKey ) { sb . append ( INTAKE ) . append ( EQUALS ) . append ( ogGroupKey ) . append ( AMP ) ; addGroupKey = false ; } sb . append ( ogGroupKey ) . append ( EQUALS ) . append ( og . getQueryKey ( ) ) . append ( AMP ) ; sb . append ( intakeOptionGroup . get ( "DisplayValue" ) . getKey ( ) ) . append ( EQUALS ) . append ( intakeOptionGroup . get ( "DisplayValue" ) . toString ( ) ) ; sb . append ( AMP ) ; List options = og . getOptions ( ) ; if ( options != null ) { Iterator iter2 = options . iterator ( ) ; while ( iter2 . hasNext ( ) ) { RModuleOption option = ( ( RModuleOption ) ( iter2 . next ( ) ) ) ; sb . append ( "ofg" ) . append ( EQUALS ) . append ( option . getQueryKey ( ) ) . append ( AMP ) . append ( "ofg" ) . append ( option . getQueryKey ( ) ) . append ( EQUALS ) . append ( og . getQueryKey ( ) ) . append ( AMP ) ; } } } } if ( ( getAxis1Category ( ) ) >= 0 ) { sb . append ( ir . get ( "Axis1Category" ) . getKey ( ) ) . append ( EQUALS ) . append ( ir . get ( "Axis1Category" ) . toString ( ) ) ; sb . append ( AMP ) ; } if ( ( getAxis2Category ( ) ) >= 0 ) { sb . append ( ir . get ( "Axis2Category" ) . getKey ( ) ) . append ( EQUALS ) . append ( ir . get ( "Axis2Category" ) . toString ( ) ) ; sb . append ( AMP ) ; } String [ ] aks = getAxis1Keys ( ) ; if ( aks != null ) { for ( int i = 0 ; i < ( aks . length ) ; i ++ ) { sb . append ( ir . get ( "Axis1Keys" ) . getKey ( ) ) . append ( EQUALS ) . append ( aks [ i ] ) ; sb . append ( AMP ) ; } } aks = getAxis2Keys ( ) ; if ( aks != null ) { for ( int i = 0 ; i < ( aks . length ) ; i ++ ) { sb . append ( ir . get ( "Axis2Keys" ) . getKey ( ) ) . append ( EQUALS ) . append ( aks [ i ] ) ; sb . append ( AMP ) ; } } SimpleDateFormat dateFormat = new SimpleDateFormat ( "MM//dd//yy<seq2seq4repair_space>HH:mm" ) ; List dates = getReportDates ( ) ; if ( dates != null ) { boolean addGroupKey = true ; Iterator iter = dates . iterator ( ) ; while ( iter . hasNext ( ) ) { Report . ReportDate rd = ( ( Report . ReportDate ) ( iter . next ( ) ) ) ; Group intakeDate = intake . get ( "ReportDate" ) . mapTo ( rd ) ; String dateGroupKey = intakeDate . getGID ( ) ; if ( addGroupKey ) { sb . append ( INTAKE ) . append ( EQUALS ) . append ( dateGroupKey ) . append ( AMP ) ; addGroupKey = false ; } sb . append ( dateGroupKey ) . append ( EQUALS ) . append ( rd . getQueryKey ( ) ) . append ( AMP ) ; sb . append ( intakeDate . get ( "Date" ) . getKey ( ) ) . append ( EQUALS ) . append ( dateFormat . format ( rd . getDate ( ) ) ) ; sb . append ( AMP ) ; } } if ( ( sb . charAt ( ( ( sb . length ( ) ) - 1 ) ) ) == AMP ) { sb . setLength ( ( ( sb . length ( ) ) - 1 ) ) ; } } catch ( Exception e ) { <START_BUG> getCategory ( ) . error ( e ) ; <END_BUG> } return sb . toString ( ) ; } public TableModel getModel ( ) throws Exception { } public class Report1TableModel extends TableModel { List secondCriteria ; List columnData ; List rowData ; boolean isGroups ; public Report1TableModel ( ) throws Exception { } public int getColumnCount ( ) { } public int getRowCount ( ) { } public Object getValueAt ( int row , int column ) throws Exception { } public class Label { List objs ; public Label ( Object obj ) { } public Label ( Object obj1 , Object obj2 ) { } public boolean isOption ( Object obj ) { } public boolean isOptionGroup ( Object obj ) { } public boolean isAttributeAndUser ( Object obj ) { } public boolean isUser ( Object obj ) { } public List getSubLabels ( ) { } public Object getSubLabel1 ( ) { } public Object getSubLabel2 ( ) { } } } public void setQueryKey ( String v ) { } public static class OptionGroup implements Retrievable { private String displayValue ; private boolean selected ; private String queryKey ; private List options ;

Fix:
log ( ) . error ( e ) ;