Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Unable to access global variable from tsystem component

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

Labels (3)
3 Replies
Jesperrekuh
Specialist
Specialist

row3.getBody() ...
should be : row3.columname
TRF
Champion II
Champion II

Should be input_row.columnname
Jesperrekuh
Specialist
Specialist

@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