NullPointer Exception while executing in TAC

Six Stars

NullPointer Exception while executing in TAC

Hi all,

 

I have a job scheduled in TAC through Job conductor. While executing the job in the studio it is successful whereas while executing the job in Job conductor it is generating and deploying but while running it throws error:

[FATAL]: talend_prod_proj.gl_code_combinations_incremental_load_0_1.GL_Code_Combinations_Incremental_Load - tDBInput_1 null
java.lang.NullPointerException
at talend_prod_proj.gl_code_combinations_incremental_load_0_1.GL_Code_Combinations_Incremental_Load.tDBInput_1Process(GL_Code_Combinations_Incremental_Load.java:4221)
at talend_prod_proj.gl_code_combinations_incremental_load_0_1.GL_Code_Combinations_Incremental_Load.tDBInput_2Process(GL_Code_Combinations_Incremental_Load.java:1190)
at talend_prod_proj.gl_code_combinations_incremental_load_0_1.GL_Code_Combinations_Incremental_Load.runJobInTOS(GL_Code_Combinations_Incremental_Load.java:7303)
at talend_prod_proj.gl_code_combinations_incremental_load_0_1.GL_Code_Combinations_Incremental_Load.main(GL_Code_Combinations_Incremental_Load.java:7104)
Exception in component tDBInput_1 (GL_Code_Combinations_Incremental_Load)
java.lang.NullPointerException
at talend_prod_proj.gl_code_combinations_incremental_load_0_1.GL_Code_Combinations_Incremental_Load.tDBInput_1Process(GL_Code_Combinations_Incremental_Load.java:4221)
at talend_prod_proj.gl_code_combinations_incremental_load_0_1.GL_Code_Combinations_Incremental_Load.tDBInput_2Process(GL_Code_Combinations_Incremental_Load.java:1190)
at talend_prod_proj.gl_code_combinations_incremental_load_0_1.GL_Code_Combinations_Incremental_Load.runJobInTOS(GL_Code_Combinations_Incremental_Load.java:7303)
at talend_prod_proj.gl_code_combinations_incremental_load_0_1.GL_Code_Combinations_Incremental_Load.main(GL_Code_Combinations_Incremental_Load.java:7104)

 

Kindly help me through this. Thanks in advance.

 

Thanks,

Sowmiya R


Accepted Solutions
Sixteen Stars TRF
Sixteen Stars

Re: NullPointer Exception while executing in TAC

Check all dynamic parts from tDBInput_1 component including context variables, global variables and Java code which may be the cause of this exception.

TRF

View solution in original post


All Replies
Sixteen Stars TRF
Sixteen Stars

Re: NullPointer Exception while executing in TAC

Check all dynamic parts from tDBInput_1 component including context variables, global variables and Java code which may be the cause of this exception.

TRF

View solution in original post

Seven Stars

Re: NullPointer Exception while executing in TAC

Hi @sowmi333 ,

 

If your job consists of any dynamic query that uses date and Time, kindly check the Job server time, DB time are in Sync or not.

 

Thanks,

Joe

Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog