You are not logged in.

Unanswered posts

Important! This site has been replaced. All content here is read-only. Please visit our brand-new community at We look forward to hearing from you there!

#1 2011-03-16 17:53:10

52 posts

txvincent said:

tJava_1 Component returning TalendString and TalendDate error

I have a map with a component called t_Java_1.  I am getting the follow errors when I run it.

TalendString cannot be resolved
TalendDate cannot be resolved

tJava_1 Component Code

// Get file name.
String fileName = (String)globalMap.get("tFileList_2_CURRENT_FILES");

// Parser logic to get the date from the file name.

int dotIndex = fileName.indexOf('.');
String loadDateStr = fileName.substring(dotIndex - 8, dotIndex);
Date loadDate = TalendDate.parseDate("yyyyMMdd", loadDateStr);

The file name is called JPM_BANK_CORR_20101128.txt

Thanks in advance for your help.


#2 2011-03-17 03:48:29

1923 posts

alevy said:

Re: tJava_1 Component returning TalendString and TalendDate error

This is a bug.  You need to close the job, then right-click the job, select "Setup routine dependencies" and add the system routines.


Board footer

Talend Contributor Agreement - Talend Website Privacy Policy