Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

java.lang.NullPointerException on Get Rows From Results step.

$
0
0
Encountering a peculiar problem. Don't know how common it is so I thought I'd ask.
Have a rather involved flow going. Main flow (ktr file) has multiple Transformation Executors that call other ktr files.
At one point in the flow, at the 4th Transformation Executor, I'm getting a java.lang.NullPointerException error and it occurs at the first step in the called ktr which happens to be a Get Rows From results.
(for clarification; each ktr that is called by a Transformation Executor begins with a Get Rows from Results step and ends with a Copy Rows to Results step).

At the point of failure, I discovered that if I put the expected columns for the data stream to be passed to this one transformation, into the Get Rows from results step, then the error goes away and the data stream is processed flawlessly throughout the rest of the flow. Just the column names, nothing else; not data type, etc.

This is the only place in the flow where this seems necessary and I just think it strange.

Anyone have any clue as to what might be going on?
I know it is difficult to diagnose without the files and data, but there are multiple calls to our database systems in this flow and it isn't practical to try and provide this (plus our data security prohibits it).

thanks in advance for any thoughts someone might have.

Viewing all articles
Browse latest Browse all 16689

Trending Articles