One Star

Exception in component Implicit_Context_Regex

I have imported the Talend jobs from Talend 5.5 env to Talend 6.1 and facing issue with the jobs while running them. I see below error even though process gets completed successfully. When I run this job from command line, it is not taking the db properties from context.IMPLICT_CONTEXT_FILE param setting from Project settings.
This is how I run the job from command line: <Talend job name> --context_param IMPLICIT_CONTEXT_FILE=<path of property file>
Note: This was working in Talend 5.5.
Error:
Exception in component Implicit_Context_Regex
java.io.FileNotFoundException: null (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at org.talend.fileprocess.TOSDelimitedReader.<init>(TOSDelimitedReader.java:88)
3 REPLIES
Moderator

Re: Exception in component Implicit_Context_Regex

Hi,
It seems something wrong with your context setting. 
Are you using Implicit context load or tContextLoad in your job? 
Could you please give us more information about your setting? Screenshots will be preferred.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Exception in component Implicit_Context_Regex

Exception in component Implicit_Context_Regex
java.io.FileNotFoundException: null (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at java.io.FileInputStream.<init>(FileInputStream.java:93)
at org.talend.fileprocess.TOSDelimitedReader.<init>(TOSDelimitedReader.java:88)
at wmos.wmos_mq_update_output_0_1.WMOS_MQ_Update_output.Implicit_Context_RegexProcess(WMOS_MQ_Update_output.java:893)
at wmos.wmos_mq_update_output_0_1.WMOS_MQ_Update_output.runJobInTOS(WMOS_MQ_Update_output.java:6557)
at wmos.wmos_mq_update_output_0_1.WMOS_MQ_Update_output.main(WMOS_MQ_Update_output.java:6334)

what should i do?
I need support i can reach at 347 393 8267
Moderator

Re: Exception in component Implicit_Context_Regex

Hi Rip,
Could you please post your job setting screenshots into forum? Are you using Implicit tcontextload option? Did you read your parameter from file or database? More information will be preferred.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.