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?

Forteen 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
Don't forget to give kudos/accept the solution when a replay is helpful.
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 :-)

 

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).

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

APIs for Dummies

View this on-demand webinar about APIs....

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

Why Companies Move to the Cloud: 7 Success Stories

Learn how and why companies are moving to the Cloud

Read Now