Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I am trying to access global variable set from tjavarow in tsystem component.
The global variable referenced is not present from tsystem component and am getting below error. Can someone please help ?
Exception in component tSystem_1 (weathersolutions) java.lang.NullPointerException at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source)
Please refer ti image globalvariable.png which contains the global variable addition and am referencing it in tsystem component using
(String)globalMap.get("body_data")But am getting nullpointer exception
@TR They both work, at least within tJavaRow, also tested it to make sure. And in other components I've always used row.columname.
input_row.columnname row3.columnname
However same result.
Any particular reason why to use input_row or something you prefer to use, older Talend version?
Cheers