Open manuhortet opened 6 years ago
I'm running into a similar error. It seems to happen when the CPython step does not receive any rows from the previous step.
You could avoid this by using the Detect empty stream step as shown in the example on that link. However this is quite inelegant and cumbersome.
I'm facing what seems to be a common problem. It has been repeatedly asked on the pentaho forums and stackoverflow and it doesn't seem to have any known solution.
I will just get something like this when a CPython Script Executor is on a transformation:
Some examples of other people having this very same problem: https://stackoverflow.com/questions/38574457/pentaho-pdi-metadata-related-null-pointer-exception-in-scripting-task https://forums.pentaho.com/archive/index.php/t-227211.html
I've tried it on different environments and it persists. (Python 2.7, Python 3, Python 3.6... Installing the dependencies manually, using Anaconda...)