Five Stars

Implicit_Context_Regex java.io.FileNotFoundException: error

I am getting the below error , I am using the Implicitcontext load(checked) in the extra option in the Job tab . However this is not failing my job.

 

I am using the same set up in another job but I dont see this error.  Anyone facing the same issue ??

 

Fatal error:

Implicit_Context_Regex
java.io.FileNotFoundException:
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

the job name.

5 REPLIES
Moderator

Re: Implicit_Context_Regex java.io.FileNotFoundException: error

Hi,

Where is your implicit tContextLoad input file? In local machine? It looks like that the system cannot find your specified file path.

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.
Five Stars

Re: Implicit_Context_Regex java.io.FileNotFoundException: error

Hi sabrina,

 

Thanks for the reply.

I am refering the context file which is in the remote server.

My major concern is that how is it able to read in another jobs, I am getting this error for one particular job. And I see no difference in the setup between these both.

 

Thanks,

CR

Moderator

Re: Implicit_Context_Regex java.io.FileNotFoundException: error

Hello CR,

Could you please show us your particular job? Does it work well when your Implicit Context file is in local machine?

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.
Five Stars

Re: Implicit_Context_Regex java.io.FileNotFoundException: error

Hi Sabrina,

 

I could not post my job here , but yes the implicit context variables work well in my local as well as one of my jobs runs perfectly well, while the other with the same setup pops with this error message(however my job ran successfully with exit code =0)

 

The error below,

 

 

Starting job MY_JOB at 10:47 02/10/2017.
[statistics] connecting to socket on port 3591
[statistics] connected
Exception in component Implicit_Context_Regex
java.io.FileNotFoundException:
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 SPRINT.MY_JOB_6_1.MY_JOB.Implicit_Context_RegexProcess(MY_JOB.java:957)
at SPRINT.MY_JOB_6_1.MY_JOB.runJobInTOS(MY_JOB.java:2931)
at SPRINT.MY_JOB_6_1.MY_JOB.main(MY_JOB.java:2637)
[FATAL]: SPRINT.MY_JOB_6_1.MY_JOB - Implicit_Context_Regex
ProjectSmiley FrustratedPRINT Job:MY_JOB Version:6.1
[statistics] disconnected
Job MY_JOB ended at 10:47 02/10/2017. [exit code=0]

Moderator

Re: Implicit_Context_Regex java.io.FileNotFoundException: error

Hello,

Did you set a relative path for your implicit context? Any screenshot 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.