• Index
  •  » Talend Enterprise Data Integration » General questions
  •  » Exception in component tPOP_1 java.io.FileNotFoundException:

#1 2012-07-05 16:18:40

reddata
New member
Registered: 2011-05-15
Posts: 3

Exception in component tPOP_1 java.io.FileNotFoundException:

Tags: [development]

I'm trying to read a pop3 mail server with the tpost component.

The connection is ok but I keep getting the error. I don't know what i'm doing wrong.

Connection is with a gmail account.

Exception in component tPOP_1
java.io.FileNotFoundException: 20120705-160617_1.mail/. (No such file or directory).


In the filepattern i filled in:
TalendDate.getDate("yyyyMMdd-hhmmss") + "_" + (counter_tPOP_1 + 1) + ".mail"


Uploaded Images

Last edited by reddata (2012-07-05 16:35:31)

Offline

#2 2012-07-06 04:07:56

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: Exception in component tPOP_1 java.io.FileNotFoundException:

Hi

Welcome to Talend Community!

I believe you made a mistake here. You filled 'Output directory' with the following expression.
TalendDate.getDate("yyyyMMdd-hhmmss") + "_" + (counter_tPOP_1 + 1) + ".mail"

Regards,
Pedro


Only Paranoid Survive.

Offline

#3 2012-07-06 09:13:43

reddata
New member
Registered: 2011-05-15
Posts: 3

Re: Exception in component tPOP_1 java.io.FileNotFoundException:

Hi Pedro,

Sorry my mistake but i keep getting the same error.


Uploaded Images

Offline

#4 2012-07-06 09:15:36

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: Exception in component tPOP_1 java.io.FileNotFoundException:

Hi

Delete this component and add it again.
I believe you won't get the error above any more.

Regards,
Pedro


Only Paranoid Survive.

Offline

#5 2012-07-06 10:35:02

reddata
New member
Registered: 2011-05-15
Posts: 3

Re: Exception in component tPOP_1 java.io.FileNotFoundException:

Hi Pedro,

Still getting the same error: java.io.FileNotFoundException: C:/Temp/Mail/20120706-103402_1.mail (No such file or directory).

Thanks in advance for your help.

Last edited by reddata (2012-07-06 10:36:12)

Offline

#6 2012-07-06 10:58:20

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: Exception in component tPOP_1 java.io.FileNotFoundException:

Hi

You'd better create the directory "Mail" under C:/Temp.
You need to make sure the directory C:/Temp/Mail exists.

Regards,
Pedro


Only Paranoid Survive.

Offline

  • Index
  •  » Talend Enterprise Data Integration » General questions
  •  » Exception in component tPOP_1 java.io.FileNotFoundException:

Board footer

Powered by FluxBB