No errors on code tab while actually error present

Five Stars

No errors on code tab while actually error present

Talend Open Studio, ver: 6.4.0, macos 

Created a simple job with one tJava component with following code having error:

image.png

then switched to 'code' tab:

image.pngsad

question: why the line 331 is not marked as "error"?

 

Tried to do workaround for this and tried may tricks and noticed that when add tRESTClient component:

image.png 

then (why??) the same line was marked as having error (as expected) and visible:

image.png

Why is like that? How to fix this without adding not needed component? Tried may things and sometime when remove the tRESTClient component then it works as expected but sometimes when save, close and reopen the error is not marked (but sometimes it is) in 'code' tab?

Thirteen Stars

Re: No errors on code tab while actually error present

@Rafal ,when you execute the job with tjava with error then,while compiling it will throw the error.which means until and unless your code is complied,you will get to know the error line.

Manohar B
Five Stars

Re: No errors on code tab while actually error present

That is true but I prefer to see before execution. It is really frustrating. Would like to fix it. Really frustrating.
Highlighted
Employee

Re: No errors on code tab while actually error present

Hi,

 

    I am using version 7.1 (latest version) of Talend and I am able to see the error in code section before running itself.

 

image.pngimage.png

 

My understanding is that previous versions of Talend also will show the error in same way. Could you please restart the Studio with a fresh work space to validate it? 

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved :-)

 


Warm Regards,
Nikhil Thampi
Please appreciate our members by giving Kudos for spending their time for your query. If your query is answered, please mark the topic as resolved :-)
Five Stars

Re: No errors on code tab while actually error present

>Could you please restart the Studio with a fresh work space to validate it? 

Did it, restarted my laptop - did not help.

 

fyi: when created a brand new project, created one job with one tJava component with the same content then the line with the error is visible (correct).

Cloud Free Trial

Try Talend Cloud free for 30 days.

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.