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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
carlrees123
Contributor
Contributor

error when testing an expression

Exception in thread "main" java.lang.Error: Unresolved compilation problems:  

comes up in red

 

image attached

 

does anyone think the expression is incorrect? -- no, so why the error?

 

upon exiting expression builder and run the job it works perfectly... known bug?

 

 

Labels (3)
14 Replies
cterenzi
Specialist
Specialist

I was able to reproduce this when I put "Y" as the value for name2.  I finally found an example of how to use the expression builder Test feature in the documentation:

https://help.talend.com/reader/nXPtKhielAtSqFD6_f7~OQ/UiJEcAn2BxH5csEtuIR5pA

 

It shows that test values should not be wrapped in quotes, so I removed my quotes.  After that, the test started working and displays "Yes" in the output area.

Anonymous
Not applicable

Hi,

We usually use the Test! button to test a function.

The Test! button can't understand "Y" for your column value name2, you need to execute the job to see if the job works without any compilation error or Java error to locate your issue in expression.

Best regards

Sabrina

 

carlrees123
Contributor
Contributor
Author

Great 

 

re: We usually use the Test! button to test a function.

 

can you point me to the documentation for the Test! button

 

 

carlrees123
Contributor
Contributor
Author

Thank you again cterenzi (Kudos to you for the post !!)

 

Great reply and good link to documentation (love the chuck Norris ref !)

 

I have found the issue and it IS A BUG in the Talend expression/function checker, the coder who wrote this did not check for a Var (variable) that has no name defined

I wonder if they also checked for variables that are reserved words?

 

see screen shot of blank variable !

 


a1.JPG
Anonymous
Not applicable

Hello,

Here is online document about:TalendHelpCenter:tMap operation

Feel free to create a jira issue about your issue or concern on talend bug tracker.https://jira.talendforge.org/secure/Dashboard.jspa

Best regards

Sabrina