Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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:

0683p000009M2RR.png

then switched to 'code' tab:

0683p000009M2RW.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:

0683p000009M2Rb.png 

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

0683p000009M2Rl.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?

Labels (3)
4 Replies
manodwhb
Champion II
Champion II

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

Anonymous
Not applicable
Author

That is true but I prefer to see before execution. It is really frustrating. Would like to fix it. Really frustrating.
Anonymous
Not applicable
Author

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.

 

0683p000009M2T8.png0683p000009M2Qy.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 🙂

 

Anonymous
Not applicable
Author

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