Talend data types giving me an error

One Star

Talend data types giving me an error

This is a continuation from my other posts. I got the workspace to load (loaded an older version) but now I am getting errors with this:

Talend TalendDate cannot be resolved
Numeric cannot be resolved
TalendString cannot be resolved


In the source code of the project I have these includes:

import routines.system.*;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import java.math.BigDecimal;
import java.io.ByteArrayOutputStream;
import java.io.ByteArrayInputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.ObjectOutputStream;
import java.io.ObjectInputStream;
import java.io.IOException;
import java.util.Comparator;



I am not a java programmer but it seems that all the routines.system are included.

Is there a way I can resolve this?
Employee

Re: Talend data types giving me an error

Again please move this topic to the Usage, Operation forum, or you won't get an answer.
One Star

Re: Talend data types giving me an error

I'm getting the same problem as well. I'm using TIS 4.1.1.r50363. My job worked fine until I added more components and I noticed the generated code missing some libraries like TalendDate and TalendString. When I run the job, I get errors such as 'TalendDate cannot be resolved' or 'TalendString cannot be resolved'. It's odd because I did not remove any existing components. So I expect those libraries to stay intact. This is obviously a bug which happens intermittently.
One Star

Re: Talend data types giving me an error

The workaround for this issue that I've found it to create a new job and copy all components over. That seems to get it back on track again.
One Star

Re: Talend data types giving me an error

nickd_nwea wrote:
The workaround for this issue that I've found it to create a new job and copy all components over. That seems to get it back on track again.

Unfortunately this is often the case when I get an error out of the blue.

I have to regularly redo an entire job just to get something to work, that should or did.

Any ideas on why this is happening?

I am getting the 'TalendDate' and 'StringHandling' "cannot be resolved" errors.
One Star

Re: Talend data types giving me an error

I just got this to work.

I had been using a tLoadLibrary to fix some sort of other random issue that popped up and i was not allowing other packages to load.

I removed the tLoadLibrary component, and then closed the job.

Right click on the job and choose 'Setup Routine Dependencies' I choose 'System' and selected all of them.
This seems to 'fix' the issue.
You may not need to do his 'Setup Routine Dependencies' if you remove the tLoadLibrary' compoinenet, but that's what I ended up having to do.

Good luck.
One Star

Re: Talend data types giving me an error

That works beautifully...a good find.

Thanks

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Have you checked out Talend’s 2019 Summer release yet?

Find out about Talend's 2019 Summer release

Blog

Talend Summer 2019 – What’s New?

Talend continues to revolutionize how businesses leverage speed and manage scale

Watch Now

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog