Hi All,

I am facing following exception in my transformation.

This happens only when NULL present at first row for MSSQL database column of type DATETIME.(This exception not comes when NULL present anywhere else in that column!)

I am using Kettle 4.0.0-stable version and there is user defined java expression step(which is returning java.util.Date from function call) present before Update step.

Code:
2011/04/05 20:38:48 - SelectValues_MetaData.0 - ERROR (version 4.0.0-stable, build 13376 from 2010-06-15 11.00.26 by buildguy) : Unexpected error : 
2011/04/05 20:38:48 - SelectValues_MetaData.0 - ERROR (version 4.0.0-stable, build 13376 from 2010-06-15 11.00.26 by buildguy) : java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date
2011/04/05 20:38:48 - SelectValues_MetaData.0 - ERROR (version 4.0.0-stable, build 13376 from 2010-06-15 11.00.26 by buildguy) : org.pentaho.di.core.row.ValueMeta.cloneValueData(ValueMeta.java:1179)
2011/04/05 20:38:48 - SelectValues_MetaData.0 - ERROR (version 4.0.0-stable, build 13376 from 2010-06-15 11.00.26 by buildguy) : org.pentaho.di.trans.steps.selectvalues.SelectValues.selectValues(SelectValues.java:156)
2011/04/05 20:38:48 - SelectValues_MetaData.0 - ERROR (version 4.0.0-stable, build 13376 from 2010-06-15 11.00.26 by buildguy) : org.pentaho.di.trans.steps.selectvalues.SelectValues.processRow(SelectValues.java:371)
2011/04/05 20:38:48 - SelectValues_MetaData.0 - ERROR (version 4.0.0-stable, build 13376 from 2010-06-15 11.00.26 by buildguy) : org.pentaho.di.trans.step.RunThread.run(RunThread.java:40)
2011/04/05 20:38:48 - SelectValues_MetaData.0 - ERROR (version 4.0.0-stable, build 13376 from 2010-06-15 11.00.26 by buildguy) : java.lang.Thread.run(Unknown Source)