[resolved] Implicit_Context_Delimited thrown while running job within TOS (3.1.3)

One Star

[resolved] Implicit_Context_Delimited thrown while running job within TOS (3.1.3)

Hello everybody,
while running a new job I get the error:
Inizio job Test: 11:41 21/12/2009.Exception in component Implicit_Context_Delimited
java.io.FileNotFoundException: context.implicit_tcontextload_file (Impossibile trovare il file specificato)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at org.talend.fileprocess.TOSDelimitedReader.<init>(TOSDelimitedReader.java:77)
at org.talend.fileprocess.FileInputDelimited.<init>(FileInputDelimited.java:84)
at tpm_old.test_0_1.Test.Implicit_Context_DelimitedProcess(Test.java:645)
at tpm_old.test_0_1.Test.runJobInTOS(Test.java:6245)
at tpm_old.test_0_1.Test.main(Test.java:6069)
2009-12-21 11:41:04|CRxqS7|CRxqS7|CRxqS7|TPM_OLD|Test|Default|6|Java Exception|Implicit_Context_Delimited|java.io.FileNotFoundException:context.implicit_tcontextload_file (Impossibile trovare il file specificato)|1
2009-12-21 11:41:03|CRxqS7|CRxqS7|CRxqS7|2972|TPM_OLD|Test|_Pzx6wO4MEd6mfI4oKhCWGA|0.1|Default||begin||
Exception in component tMap_1
java.lang.NullPointerException
at tpm_old.test_0_1.Test.tJDBCInput_1Process(Test.java:3491)
at tpm_old.test_0_1.Test.tJDBCConnection_1Process(Test.java:1223)
at tpm_old.test_0_1.Test.tJDBCConnection_2Process(Test.java:1144)
at tpm_old.test_0_1.Test.tJDBCConnection_3Process(Test.java:1065)
at tpm_old.test_0_1.Test.runJobInTOS(Test.java:6262)
at tpm_old.test_0_1.Test.main(Test.java:6069)
2009-12-21 11:41:05|CRxqS7|CRxqS7|CRxqS7|TPM_OLD|Test|Default|6|Java Exception|tMap_1|java.lang.NullPointerException:null|1
2009-12-21 11:41:05|CRxqS7|CRxqS7|CRxqS7|2972|TPM_OLD|Test|_Pzx6wO4MEd6mfI4oKhCWGA|0.1|Default||end|failure|1415
2009-12-21 11:41:05|CRxqS7|CRxqS7|CRxqS7|2972|TPM_OLD|Test|_Pzx6wO4MEd6mfI4oKhCWGA|0.1|Default|tJDBCInput_1|end|success|341
2009-12-21 11:41:05|CRxqS7|CRxqS7|CRxqS7|2972|TPM_OLD|Test|_Pzx6wO4MEd6mfI4oKhCWGA|0.1|Default|Implicit_Context_Context|end|success|1355
2009-12-21 11:41:05|CRxqS7|CRxqS7|CRxqS7|2972|TPM_OLD|Test|_Pzx6wO4MEd6mfI4oKhCWGA|0.1|Default|tJDBCOutput_1|end|success|354
Job Test ended at 11:41 21/12/2009.

The job includes: three jdbc connections to three mysql databases; a jdbcInput; a jdbcOutput and a tMap.
The TOS project includes three contexts, each one contains the connection parameters to a database and the three contexts are enabled for the current job.
In the same project I have a second job which is working correctly.
Many thanks to Talend Inc and all contributors.
Kind Regards;
Community Manager

Re: [resolved] Implicit_Context_Delimited thrown while running job within TOS (3.1.3)

Hello
java.io.FileNotFoundException: context.implicit_tcontextload_file

When you check the 'impicit tContextLoad' option, do you browse a file?

Best regards

shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] Implicit_Context_Delimited thrown while running job within TOS (3.1.3)

Hello Shong,
in the extra tab of my job I have:
Use Project Settings checkbox: checked
Implicit tContextLoad: checked
From File: checked
the Value of 'From File' text: "context.implicit_tcontextload_file"
when I click the browse button TOS displays a filechooser dialog.
I have 'disable warnings' and 'disable infos' checkboxes flagged.
many thanks for your efforts,
Community Manager

Re: [resolved] Implicit_Context_Delimited thrown while running job within TOS (3.1.3)

Hello
Implicit tContextLoad: checked
From File: checked
the Value of 'From File' text: "context.implicit_tcontextload_file"

First, uncheck 'Use Project Settings checkbox'.
In the 'Extra' tab, you can't use context var, you shoud click on 'browse' button to choose a file.
Best regards

shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] Implicit_Context_Delimited thrown while running job within TOS (3.1.3)

Hello Shong,
issue resolved, thanks a lot.
I unchecked the 'Implicit tContextLoad', after reading the manual I understood that I don't need it.
Kind regards,