Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all
I have a probme with tHashInput-tHashoutput
I wrote date into a tHashOutput then I want to add row to this tHashoutput. Iused tHashUnput with tMap and I restore my new generated row to tHashOutput
but it alwayes give me the exception
Exception in component tHashInput_2
java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.get(Unknown Source)
Hi MZein,
In the image you attached, there is no tHashInput_2 component as you described.
If your requirement is to append new data into the existing THashOutput data, PFB image for reference.
Emp1 subjob will insert a record into thashoutput1.
Emp2 subjob will insert a new record into thashoutput2. Since "Link with a tHashOutput " option is enabled and pointed to thashoutput1, whatever data we are inserting into thashoutput2 it will be appended in thashoutput1 as well.
In the post-job, create a Thashinput and link it with hashoutput1. This will help you to display both the records in the console.
Let me know if you need more details.
Thank you very much for your answer. can I do the same without using PostJob component , by using onsubjobOK for example?
Regards
Yes, it will work. PFB screenshot for reference.
Thank you very much for your solution
Best Regards