You are not logged in.

#1 2012-04-18 16:36:23

ienax_ridens
Member
50 posts

[resolved] URGENT - ERROR ON tFileInputPositional building job

Hi all,

I have a very simple job as in the picture attached (you can see also the error), tFileInputPositional is defined as connection i nTalend and exported as context.

This file works well in another job, but now I have the error building the job.

I already tried this steps:
1. removed tMap between tFileInputPositional and tHashOutput_1
2. put in all the fields of the input file (but I need only some fields)

but the errore is the same every time...I am desperate!!!

PLEASE HELP ME!

Offline

#2 2012-04-19 02:57:52

pedro
Member
3682 posts

Re: [resolved] URGENT - ERROR ON tFileInputPositional building job

Hi

This may be due to wrong job design or code generation corruption.

Please click on 'code' tag and show us the error lines.
Or just send an email to me and attach this export job. I will fix it for you.

Regards,
Pedro


Only Paranoid Survive.

Offline

#3 2012-04-19 09:26:01

ienax_ridens
Member
50 posts

Re: [resolved] URGENT - ERROR ON tFileInputPositional building job

pedro wrote:

Hi

This may be due to wrong job design or code generation corruption.

Please click on 'code' tag and show us the error lines.
Or just send an email to me and attach this export job. I will fix it for you.

Regards,
Pedro

The code gives me the error is underlined in the attached image "Code_error.png"

Thanks a lot Pedro for help!

Offline

#4 2012-04-19 09:54:25

pedro
Member
3682 posts

Re: [resolved] URGENT - ERROR ON tFileInputPositional building job

Hi

Got it.
The method RowParser() contains three kinds of parameters:BufferedReader, String, Boolean.
The data type of context variable 'ASPIAG_Personale_RowSeparator' is Integer.
You'd better change it into String.

Regards,
Pedro


Only Paranoid Survive.

Offline

#5 2012-04-19 10:14:39

ienax_ridens
Member
50 posts

Re: [resolved] URGENT - ERROR ON tFileInputPositional building job

Ok, the error is disappeared, but now, leaving row separator empty (in the context variable), job is build, but it doesn't start: it remains on "Starting" screen, nothing happens after

"Inizio job Out_CambioPuntoVendita: 11:09 19/04/2012.
[statistics] connecting to socket on port 3854
[statistics] connected

"
Run window message.

Having a positional input file, that defines row lenght by fields lenght, is it right leave empty row terminator?
Or I shoul put /n/r chars?

Offline

#6 2012-04-19 10:19:08

pedro
Member
3682 posts

Re: [resolved] URGENT - ERROR ON tFileInputPositional building job

Hi

If it's a normal delimited file, just type in the default row separator "\n" and run the job again.
Do not leave row separator empty.

Regards,
Pedro


Only Paranoid Survive.

Offline

#7 2012-04-19 11:49:35

ienax_ridens
Member
50 posts

Re: [resolved] URGENT - ERROR ON tFileInputPositional building job

pedro wrote:

Hi

If it's a normal delimited file, just type in the default row separator "\n" and run the job again.
Do not leave row separator empty.

Regards,
Pedro

I've wrote a wrong thing, not Delimited, but POSITIONAL input file

Offline

#8 2012-04-19 11:52:58

ienax_ridens
Member
50 posts

Re: [resolved] URGENT - ERROR ON tFileInputPositional building job

SOLVED: I put "\n" enen in the case of Positional file

Thanks Pedro

Offline

Board footer

Talend Contributor Agreement - Talend Website Privacy Policy