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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to avoid the warning message Null value will be used for context parameter <context>: For input string: "<TALEND_NULL>"

Hi,

 

I'm creating my own logs using tjava component

 

java.io.File outputFile = new java.io.File(context.Log_FilePath+"/qts_process_log_"+TalendDate.formatDate("yyyyMMdd_HHmm",TalendDate.getCurrentDate())+".txt");
java.io.PrintStream ps=new java.io.PrintStream(new java.io.FileOutputStream(outputFile, true), true);

 

For every subjob the following messages gets printed in the log file. The context variable names may change but the message is consistent across subjobs. Can you please help as this considerably increases my log file size and doesn't look good. I'm sure this is due to some setting that I'm overseeing in talend but not sure what exactly.

 

Null value will be used for context parameter runIdForDICT: For input string: "<TALEND_NULL>"
Null value will be used for context parameter runIdForPUNCHFile: For input string: "<TALEND_NULL>"
Null value will be used for context parameter LOOP: For input string: ""
Null value will be used for context parameter runIdForDICT: For input string: "<TALEND_NULL>"
Null value will be used for context parameter runIdForPUNCHFile: For input string: "<TALEND_NULL>"

Labels (4)
3 Replies
Anonymous
Not applicable
Author

Hi @Mausam6792 ,

 

I believe you are using tContextLoad in your job, where null values are loaded as context values.

 

Please check the input source of your context and correct them beforehand.

 

In addition to this you can check the box "Disable Errors","Disable Warnings" in the tContextLoad.

 

Thanks and Regards,

Subhadip

Anonymous
Not applicable
Author

Thanks @subhadip13 

Attached is a screenshot of how my tContextLoad is configured. The suggested settings are in place.

I see that the message only comes for the contexts that are assigned a value during run time instead of coming from the context file.

Any suggestions?

 


Capture.PNG
Anonymous
Not applicable
Author

Hi,

I have the same issue. Any responses from Talend please ?

 

Regards