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: 
Papademuchos
Creator
Creator

Joblet "hosed" after copy/paste of schema elements

Wowsers - has anyone ever seen anything like this happen before? (screenshot below) I've got double links from every component in my Joblet. I *think* this happened after I went into a tMap and pasted several rows from the schema clipboard. I meant to paste text into an expression field, but pasted 10 or so fields by mistake. I hit the delete button to remove the extra fields from below and then went on my business. I made a few other changes and then when I tried to run my main job I was getting an error of "failed to generate code". Down at the bottom of the error log was an NPE.

I couldn't find anything wrong - tried undoing several steps; I finally closed out of Talend altogether and when I logged back in and reopened my Joblet I saw this! At first I tried to delete all of the duplicate links everywhere. That helped - it was finally able to generate code, but the error line was pointing to the tPreJob component in my main job. No help there. I ended up going back to a previous release, exporting the previous version of my Joblet and then importing / overwriting this one. I was able to move forward from there.

The paste of schema rows into tMap is the only thing I can think of that may have messed it up. I haven't tried to reproduce this yet, but none of my other changes were "out of the ordinary".

0695b00000cf7JJAAY.png

Labels (2)
3 Replies
Anonymous
Not applicable

Have you had your Studio open for a long time without a restart? This could contribute towards this sort of issue....although normally a restart will sort it. Since it sounds like you are using the Enterprise product, you will have a Jobscript tab. As a trick, you can copy this, create a new job and replace its jobscript with the copied one. This will show you your old job when switch back to the designer tab.

Papademuchos
Creator
Creator
Author

Good to know for future reference. Sometimes Studio is open for a long time and I'll restart it, but I don't restart it every day.

Anonymous
Not applicable

If you zoom in to the picture you can see that row1 changed to row11 , row4 to 41, etc.

So somehow he managed to properly duplicate everything that's right from the joblet.

 

This is not a visual artifact but more like a copy-paste everything except the joblet.

 

Maybe thet joblet/componets got duplicated as well but there we have a grid to attach them to so they overlap.

 

@Torry Slaton​  by any chance you remember if the components got duplicated? (Should be visible in the outline view or worst case we can check the GIT history)