mattcasters / pentaho-pdi-dataset

Set of PDI plugins to more easily work with data sets. We also want to provide unit testing capabilities through input data sets and golden data sets.
Apache License 2.0
30 stars 13 forks source link

After Disabling Unit Tests, running the transformation yields error #5

Closed diethardsteiner closed 7 years ago

diethardsteiner commented 7 years ago

pdi-6.1, latest release of pentaho-pdi-dataset

Error message:

2016/11/22 18:07:10 - Spoon - ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : sample: preparing transformation execution failed 2016/11/22 18:07:10 - Spoon - ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : org.pentaho.di.core.exception.KettleException: 2016/11/22 18:07:10 - Spoon - Unit test 'null' was not found or could not be loaded 2016/11/22 18:07:10 - Spoon - 2016/11/22 18:07:10 - Spoon - at org.pentaho.di.dataset.spoon.xtpoint.ChangeTransMetaPriorToExecutionExtensionPoint.callExtensionPoint(ChangeTransMetaPriorToExecutionExtensionPoint.java:77) 2016/11/22 18:07:10 - Spoon - at org.pentaho.di.core.extension.ExtensionPointHandler.callExtensionPoint(ExtensionPointHandler.java:46) 2016/11/22 18:07:10 - Spoon - at org.pentaho.di.trans.Trans.prepareExecution(Trans.java:633) 2016/11/22 18:07:10 - Spoon - at org.pentaho.di.ui.spoon.trans.TransGraph$29.run(TransGraph.java:4035) 2016/11/22 18:07:10 - Spoon - at java.lang.Thread.run(Thread.java:745)

mattcasters commented 7 years ago

Should be fixed in commit

usbrandon commented 5 years ago

This error appears again in 3.4.1. If you disable a unit test after running the unit test; it will not be disabled and you will get null pointers for trying to preview the inputs or output rows of whatever you are testing.