Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
rmcclure
Contributor III
Contributor III

Joblet does not work but code does in Talend Studio

I have a Joblet in a reference project. This joblet opens DB connections, set context variables, writes to logs, closes DB connections etc.


If I:
- Create a standard job
- insert the joblet into the Job
- Run the job
- It fails with a NullPointerException

If I:
- Create a standard job
- copy the contents of the Joblet directly into the standard job
- Run the job
- It completes successfully

 

To make things more bizarre
If I:
- Switch to the reference project
- Create a the same standard job as above
- insert the joblet into the Job
- Run the job
- It completes successfully

If I:
- back in the master project
- run an existing job
- It completes successfully
- remove the joblet from the existing job
- immediately re-insert the joblet and run
- It fails with a NullPointerException

 

This joblet was modified recently and pushed to Github. I have pulled in the change and still have the issue
I have also renamed my workspace and re-pulled all from github.

Any ideas?

Labels (2)
12 Replies
Anonymous
Not applicable

Which link did they give you? Would you mind posting it? Also, would you mind informing them that it was not the answer and that you needed to reinstall? I'm sorry that you had to go through these steps, but hopefully your experience with this can help support nail this in the future. Tell them that Richard from the Community team asked you to do this. If they want any more information, I can hopefully take it from there. Thanks

rmcclure
Contributor III
Contributor III
Author

I got the email below as a response from support. I had also mentioned that this "solution" was a complete reinstall and not really the answer I was looking for.

 

Please review this KB articles which seems similar to what you are experiencing:

https://community.talend.com/t5/Design-and-Development/Joblet-does-not-work-but-code-does-in-Talend-...

Please let us know.

Thanks,
Talend Support

Anonymous
Not applicable

Thanks @rmcclure, I'll look into this for you.