I'm guessing Slawo will be the best to solve this one =p
Whole transformation runs normal, without any problems at all... it ends on a sort rows, followed by Excel Writer. If I disable this final hop and try to preview on Sort Rows, I get an error without any messages. If I just run, final hop still disabled, no errors. If I enable the final hop and try to run, Excel Writer gives me this error:
Whole transformation runs normal, without any problems at all... it ends on a sort rows, followed by Excel Writer. If I disable this final hop and try to preview on Sort Rows, I get an error without any messages. If I just run, final hop still disabled, no errors. If I enable the final hop and try to run, Excel Writer gives me this error:
Code:
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Error writing field (14,10734) : org.pentaho.di.core.exception.KettleValueException:
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Unexpected conversion error while converting value [MARGEM_CONTRIBUICAO Number(15)] to a Number
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : java.math.BigDecimal cannot be cast to java.lang.Double
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : org.pentaho.di.core.exception.KettleValueException:
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Unexpected conversion error while converting value [MARGEM_CONTRIBUICAO Number(15)] to a Number
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : java.math.BigDecimal cannot be cast to java.lang.Double
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) :
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.core.row.ValueMeta.getNumber(ValueMeta.java:1451)
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.trans.steps.excelwriter.ExcelWriterStep.writeField(ExcelWriterStep.java:510)
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.trans.steps.excelwriter.ExcelWriterStep.writeNextLine(ExcelWriterStep.java:292)
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.trans.steps.excelwriter.ExcelWriterStep.processRow(ExcelWriterStep.java:153)
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.trans.step.RunThread.run(RunThread.java:50)
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at java.lang.Thread.run(Unknown Source)
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Caused by: java.lang.ClassCastException: java.math.BigDecimal cannot be cast to java.lang.Double
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.core.row.ValueMeta.getNumber(ValueMeta.java:1396)
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : ... 5 more