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

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

Pre initialize a tHash

Hi,
I have two subjobs in my first sub job i have thashoutput and in my second job I have a thashInput.
The logic is such that I do not always reach the thashoutput.
In these cases I get the following error in the thashInput?
Exception in component tHashInput_2
java.lang.RuntimeException: Hash is not initialized : Hash must exist before your read from it
How can I pre initialize the tHash to avoid this?
Thanks
Labels (3)
1 Reply
alevy
Specialist
Specialist

Have a pre-job with just tFixedFlowInput (0 rows) --> tHashOutput to initialise the hash. Make sure your real tHashOutput and your tHashInput are linked to that initial tHashOutput.