• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » NullPointerException in main job

#1 2009-08-31 16:44:31

maklay
Member
Registered: 2009-05-13
Posts: 10

NullPointerException in main job

Hi. I have a problem when run the subjob from the main job.
If i run the subjob (image #2), it's work correctly. When I run main job, i have an error (image #1).
TOS 3.1.0, language - java.
How I can resolve this problem?
Thanks.


Uploaded Images

Last edited by maklay (2009-08-31 16:51:33)

Offline

#2 2009-09-01 05:44:50

shong
Talend team
Registered: 2007-08-29
Posts: 10289
Website

Re: NullPointerException in main job

Hello
Can you export you job and send it to me via email? I will debug the job.

Best regards 

          shong


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

#3 2009-09-01 11:29:39

maklay
Member
Registered: 2009-05-13
Posts: 10

Re: NullPointerException in main job

I sent mail. Wait for your answer.
Thanks.

Offline

#4 2009-09-02 09:01:07

shong
Talend team
Registered: 2007-08-29
Posts: 10289
Website

Re: NullPointerException in main job

Hello friend
I can't import your job, pleack check it. To export a job, right click on the job name on repository and select 'export item' option.

Best regards

         shong


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

#5 2009-09-02 10:10:47

maklay
Member
Registered: 2009-05-13
Posts: 10

Re: NullPointerException in main job

Hello, i sent another mail from alex.nedashkovskyy@gmail.com. Old mail don't work now.

Offline

#6 2009-09-03 04:53:58

shong
Talend team
Registered: 2007-08-29
Posts: 10289
Website

Re: NullPointerException in main job

Hello
First, why do you use two tMysqlConnection to connect the same db in a job? Only one is enough.
Second, you should use some connector between different subjob to make the job more readable and stable.
Three, we use normally a tMssqlCommit to close the connection at the end of job. See my screenshot.

Best regards

         shong


Uploaded Images


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

#7 2009-09-03 09:31:04

maklay
Member
Registered: 2009-05-13
Posts: 10

Re: NullPointerException in main job

shong wrote:

Hello
First, why do you use two tMysqlConnection to connect the same db in a job? Only one is enough.

No, in my case i want to connect to the two various db. And when i use this various connections i have an error. And i don't know how resolve it.
Wait for your answer in this case.
Thanks.

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » NullPointerException in main job

Board footer

Powered by FluxBB