Buggy code:
public class RubixTable { private static final String driver = "org.apache.derby.jdbc.EmbeddedDriver" ; private static final String protocol = "jdbc:derby:" ; private static final String dbName = "rubixDB" ; private static Statement statement = null ; private static Connection conn = null ; private static ResultSet rs = null ; private static PreparedStatement psInsert = null ; private static PreparedStatement psUpdate = null ; private static PreparedStatement psQuery = null ; private static Scanner s = new Scanner ( System . in ) ; public static void main ( String [ ] args ) { } public static void initialize ( ) { } public static void populateTable ( ) { } public static void mainMenu ( ) { } public static void viewRecords ( ) { } public static void updateRecords ( ) { System . out . println ( "Enter<seq2seq4repair_space>name<seq2seq4repair_space>of<seq2seq4repair_space>entry<seq2seq4repair_space>to<seq2seq4repair_space>update:<seq2seq4repair_space>" ) ; String solverName = RubixTable . s . nextLine ( ) ; String searchName = ( solverName . toLowerCase ( ) ) + "%" ; String result = null ; try { String matchCheck = "SELECT<seq2seq4repair_space>Solver<seq2seq4repair_space>from<seq2seq4repair_space>Cubes<seq2seq4repair_space>WHERE<seq2seq4repair_space>LOWER(Solver)<seq2seq4repair_space>LIKE<seq2seq4repair_space>?" ; RubixTable . psQuery = RubixTable . conn . prepareStatement ( matchCheck ) ; RubixTable . psQuery . setString ( 1 , searchName ) ; RubixTable . rs = RubixTable . psQuery . executeQuery ( ) ; } catch ( SQLException e ) { <START_BUG> System . out . println ( ) ; <END_BUG> } try { if ( RubixTable . rs . next ( ) ) { result = RubixTable . rs . getString ( 1 ) ; System . out . println ( ( "Match<seq2seq4repair_space>found:<seq2seq4repair_space>" + result ) ) ; } } catch ( SQLException e ) { System . out . println ( "Error<seq2seq4repair_space>finding<seq2seq4repair_space>match." ) ; } if ( result != null ) { float solveTime = RubixTable . validNumericInput ( ) ; System . out . println ( ( ( "Updating<seq2seq4repair_space>existing<seq2seq4repair_space>entry<seq2seq4repair_space>for<seq2seq4repair_space>" + result ) + "\n" ) ) ; try { String updateMatching = "UPDATE<seq2seq4repair_space>Cubes<seq2seq4repair_space>SET<seq2seq4repair_space>solvedTime<seq2seq4repair_space>=<seq2seq4repair_space>?<seq2seq4repair_space>WHERE<seq2seq4repair_space>Solver<seq2seq4repair_space>=<seq2seq4repair_space>?" ; RubixTable . psUpdate = RubixTable . conn . prepareStatement ( updateMatching ) ; RubixTable . psUpdate . setFloat ( 1 , solveTime ) ; RubixTable . psUpdate . setString ( 2 , result ) ; RubixTable . psUpdate . executeUpdate ( ) ; System . out . println ( ( "Record<seq2seq4repair_space>updated<seq2seq4repair_space>for<seq2seq4repair_space>" + result ) ) ; } catch ( SQLException e ) { System . out . println ( "Error<seq2seq4repair_space>updating<seq2seq4repair_space>existing<seq2seq4repair_space>entry." ) ; } } else { System . out . println ( "No<seq2seq4repair_space>match<seq2seq4repair_space>found,<seq2seq4repair_space>check<seq2seq4repair_space>search<seq2seq4repair_space>string" ) ; } try { RubixTable . rs . close ( ) ; } catch ( SQLException e ) { System . out . println ( "Error<seq2seq4repair_space>closing<seq2seq4repair_space>result<seq2seq4repair_space>set" ) ; } RubixTable . mainMenu ( ) ; } public static void addEntry ( ) { } public static void shutDown ( ) { } public static float validNumericInput ( ) { } No newline ; at end ; of file ; }

Fix:
System . out . println ( "Error<seq2seq4repair_space>in<seq2seq4repair_space>search<seq2seq4repair_space>operation." ) ;