Best Practices to follow in case of Job generation issues in Talend Administration Center

Environment

This article applies to users of Talend Studio and Talend Administration Center.

Symptoms/Description

If you encounter an IllegalStateException issue or issues with the BuildJob process in general in the Job Conductor or Big Data Streaming pages of Talend Administration Center, there are a number of best practices you can apply to avoid this. See below a list of troubleshooting steps developers can follow. 

Resolution

Test 1
  1. In Talend Studio, run the Job to check if there are any compilation errors.
    If so, it means there is an inherent issue with the Job itself that needs to be fixed.
Test 2
  1. In Talend Studio, use the Build Job option and check if it is able to successfully build as a .zipfile.
  2. a) If you cannot build the Job, you need to thoroughly check where the building issue comes from. It could be .jar files being mismatched or it could be problematic code. This needs to be fixed.
    b) Once the generation is successful, try to import the archive into a new project repository to see if it can properly be imported.
    c) If you cannot import the Job archive, you can proceed to Test 3.
Test 3
  1. From Talend Studio, export the Job as a .zip file.
  2. Import the archive into a new project repository (it can be the same repository as the one used in Test 2).
  3. In Talend Administration Center, go to the Job conductor and create a new task. 
  4. Generate the new task and check that the generation is successful.
  5. Proceed to Test 4.
Test 4
  1. If you were able to generate the task previously, you can either:
    a) keep the Job in the new project and continue to run it from here.
    b) create a new Job within the repository of your choice and either copy all of the components from the non-working Job into the new Job, or delete the old Job and reimport the .zip file back into the project. 
  2. If you are still unable to generate, this issue may need assistance from Support. Please create a ticket.
Version History
Revision #:
1 of 1
Last update:
‎05-01-2017 09:12 PM
Updated by:
 
Labels (1)
Contributors