Buggy code:
final Object setObject ( int targetType , long source ) throws SqlException { } final Object setObject ( int targetType , float source ) throws SqlException { } final Object setObject ( int targetType , double source ) throws SqlException { } final Object setObject ( int targetType , BigDecimal source ) throws SqlException { } final Object setObject ( int targetType , Date source ) throws SqlException { } final Object setObject ( int targetType , Time source ) throws SqlException { } final Object setObject ( int targetType , Timestamp source ) throws SqlException { } final Object setObject ( int targetDriverType , String source ) throws SqlException { } public static int getInputJdbcType ( int jdbcType ) { } final Object setObject ( int targetType , byte [ ] source ) throws SqlException { } final Object setObject ( int targetType , Reader source , int length ) throws SqlException { } private final String setStringFromReader ( Reader r , int length ) throws SqlException { } final Object setObjectFromCharacterStream ( int targetType , InputStream source , String encoding , int length ) throws SqlException { } private final String setStringFromStream ( InputStream is , String encoding , int length ) throws SqlException { } final Object setObject ( int targetType , Blob source ) throws SqlException { } final Object setObjectFromBinaryStream ( int targetType , InputStream source , int length ) throws SqlException { } private final byte [ ] setBytesFromStream ( InputStream is , int length ) throws SqlException { } final Object setObject ( int targetType , Clob source ) throws SqlException { } final Object setObject ( int targetType , Object source ) throws SqlException { } final boolean getBooleanFromByte ( byte source ) throws SqlException { } final boolean getBooleanFromShort ( short source ) throws SqlException { } final boolean getBooleanFromInt ( int source ) throws SqlException { } final boolean getBooleanFromLong ( long source ) throws SqlException { } final boolean getBooleanFromFloat ( float source ) throws SqlException { } final boolean getBooleanFromDouble ( double source ) throws SqlException { } final boolean getBooleanFromBigDecimal ( BigDecimal source ) throws SqlException { } final boolean getBooleanFromString ( String source ) throws SqlException { } final byte getByteFromShort ( short source ) throws SqlException { } final byte getByteFromInt ( int source ) throws SqlException { } final byte getByteFromLong ( long source ) throws SqlException { } final byte getByteFromFloat ( float source ) throws SqlException { } final byte getByteFromDouble ( double source ) throws SqlException { } final byte getByteFromBigDecimal ( BigDecimal source ) throws SqlException { } final byte getByteFromBoolean ( boolean source ) throws SqlException { } final byte getByteFromString ( String source ) throws SqlException { } final short getShortFromInt ( int source ) throws SqlException { } final short getShortFromLong ( long source ) throws SqlException { } final short getShortFromFloat ( float source ) throws SqlException { } final short getShortFromDouble ( double source ) throws SqlException { } final short getShortFromBigDecimal ( BigDecimal source ) throws SqlException { } final short getShortFromBoolean ( boolean source ) throws SqlException { } final short getShortFromString ( String source ) throws SqlException { } final int getIntFromLong ( long source ) throws SqlException { } final int getIntFromFloat ( float source ) throws SqlException { } final int getIntFromDouble ( double source ) throws SqlException { } final int getIntFromBigDecimal ( BigDecimal source ) throws SqlException { } final int getIntFromBoolean ( boolean source ) throws SqlException { } final int getIntFromString ( String source ) throws SqlException { } final long getLongFromFloat ( float source ) throws SqlException { } final long getLongFromDouble ( double source ) throws SqlException { } final long getLongFromBigDecimal ( BigDecimal source ) throws SqlException { } final long getLongFromBoolean ( boolean source ) throws SqlException { } final long getLongFromString ( String source ) throws SqlException { } final float getFloatFromDouble ( double source ) throws SqlException { <START_BUG> if ( ( Configuration . rangeCheckCrossConverters ) && ( ( source > ( Float . MAX_VALUE ) ) || ( source < ( - ( Float . MAX_VALUE ) ) ) ) ) { <END_BUG> throw new LossOfPrecisionConversionException ( agent_ . logWriter_ , String . valueOf ( source ) ) ; } return ( ( float ) ( source ) ) ; } final float getFloatFromBigDecimal ( BigDecimal source ) throws SqlException { } final float getFloatFromBoolean ( boolean source ) throws SqlException { } final float getFloatFromString ( String source ) throws SqlException { } final double getDoubleFromBigDecimal ( BigDecimal source ) throws SqlException { } final double getDoubleFromBoolean ( boolean source ) throws SqlException { } final double getDoubleFromString ( String source ) throws SqlException { } final BigDecimal getBigDecimalFromBoolean ( boolean source ) throws SqlException { } final BigDecimal getBigDecimalFromString ( String source ) throws SqlException { } final String getStringFromBoolean ( boolean source ) throws SqlException { } final String getStringFromBytes ( byte [ ] bytes ) throws SqlException { } final Date getDateFromString ( String source ) throws SqlException { } final Date getDateFromTime ( Time source ) throws SqlException { } final Date getDateFromTimestamp ( Timestamp source ) throws SqlException { } final Time getTimeFromString ( String source ) throws SqlException { } final Time getTimeFromTimestamp ( Timestamp source ) throws SqlException { } final Timestamp getTimestampFromString ( String source ) throws SqlException { } final Timestamp getTimestampFromTime ( Time source ) throws SqlException { } final Timestamp getTimestampFromDate ( Date source ) throws SqlException { } final Date date_valueOf ( String s ) throws IllegalArgumentException { } final Time time_valueOf ( String s ) throws IllegalArgumentException , NumberFormatException { } final Timestamp timestamp_valueOf ( String s ) throws IllegalArgumentException , NumberFormatException { } private final byte parseByte ( String s ) throws NumberFormatException { } private final short parseShort ( String s ) throws NumberFormatException { }

Fix:
if ( ( Configuration . rangeCheckCrossConverters ) && ( Float . isInfinite ( ( ( float ) ( source ) ) ) ) ) {