Build job: routines.Numeric cannot be resolved

Six Stars

Build job: routines.Numeric cannot be resolved

Hi all!

 

I recently upgraded from Talend Open Studio for Big Data 6.4 to Talend [...] 7.0. When I now try to build the same jobs (created with Talend 6.4), that I was able to build with 6.4, I get the following error:

 

org.talend.commons.exception.PersistenceException: org.talend.designer.runprocess.ProcessorException: Job compile errors 
At least job "BD_LPSJ0011_SAP_ESB_StredaX_PERGAMON_Hadoop" has a compile errors, please fix and export again.
Error Line: 25
Detail Message: The import routines.Numeric cannot be resolved
There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio.

As the error message suggests, I have checked by Java configuration. It is exactly the same as in Talend 6.4:

 

jre.PNG

 

I have checked the code view and, indeed, the error at the import stage is highlighted:

 

routines.PNG

 

I have attached the full error stack.

 

No idea where to start. Does anyone have an idea where to look into or a solution?

 

btw: some other jobs can be built.

 

Thanks in advance!

Freddy

 

Six Stars

Re: Build job: routines.Numeric cannot be resolved

Interesting behaviour: When I build the job for "all systems", the error occurs. When I build it only for unix systems, the job is built just fine.

 

Although my problem is solved, I still want to know what could cause this kind of behaviour? Any ideas?

 

Thanks in advance!

Freddy

Moderator

Re: Build job: routines.Numeric cannot be resolved

Hello Freddy,

Did you create a user routine in your job?

Have you tried to right-click on your user routine in the Repository and select "Edit Routine Libraries"?

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

Re: Build job: routines.Numeric cannot be resolved

Hi Sabrina!

 

Thank you very much! Unfortunately, I have not added any user routines Smiley Sad

Moderator

Re: Build job: routines.Numeric cannot be resolved

Hello,

Does this issue repro on all your jobs or a specific job?

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

Re: Build job: routines.Numeric cannot be resolved

Hi!

 

The problem indeed does replicate on all jobs. I will do further testing when I have a little bit more time. For the moment the best solution I have is to build the job only for Unix systems. 

 

Thanks for your help!

Moderator

Re: Build job: routines.Numeric cannot be resolved

Hello,

We will appreciate it a lot if you could post your testing result on forum.

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

Re: Build job: routines.Numeric cannot be resolved

Hi Sabrine!

 

Unfortunately, I have had no time to do further research on this. I will let you know once I get to it, sorry.

 

Cheers

Freddy

Six Stars

Re: Build job: routines.Numeric cannot be resolved

Hi!

 

I have done a bit of fiddling around. A was not able to reproduce the error in any way. It just orrurs from time to time. 

 

For example:

 

1. Open Talend

2. Open Job design

3. Right-click on job --> build job

4. Set shell start script to "all"

--> error occurs. When I now try to build the job, it is always doomed to fail, no matter what settings I make.

 

5. Close Talend

6. Open Talend

7. Open Job design 

8. Right-click on job --> build job

9. Set start shell script to "unix"

--> everything fine.

 

I will investigate further when I get to it again...

 

Cheers

Freddy

Moderator

Re: Build job: routines.Numeric cannot be resolved

Hello,

Thanks for your inputs and sharing it with us.

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

Re: Build job: routines.Numeric cannot be resolved

I have the same issue when i try to build a job involving Oracle database. Any suggestions on resolving the issue?

Six Stars

Re: Build job: routines.Numeric cannot be resolved

Unfortunately not. It appears to be very difficult to track down the problem since it is not really reproducable. As mentioned earlier, what helped was:

 

1. Open the job

2. Build the job for only one specific OS

 

It has worked several times for me with "UNIX" settings, but if you want to build the job for other operating systems, I cannot guarantee that it will build fine :/

One Star

Re: Build job: routines.Numeric cannot be resolved

same problem on Talend 7.0

I restarted the studio and restarted the job and everything worked properly

Two Stars

Re: Build job: routines.Numeric cannot be resolved

Hi,

I just had this issue with Open Studio for Data Integration v7.0.1 and have now resolved it.

My issue was:

- I wanted to test Talend, so downloaded a new version of 7.0.1

- I started up the corporate VPN tunnel and logged into the corporate sandbox - I don't think there is a route from the sandbox out to Talend online

- When I created _any_ job (even a blank one) I got the "routines.Numeric' error

 

My resolution was:

- I restarted the whole machine 

- WITHOUT stating up the VPN, I started up Teland

- I ran one of the test jobs - it worked

 

...am a noob, but it looks like Talend couldn't fetch something online that it needed because of the VPN and then it wouldn't try again to get it until I had restarted it

 

p