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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Edith1
Creator
Creator

tJavaFlex - code has warning/error of row1 cannot be resolved

Studio, version 8 and not sure if the latest patch (20250423_1207) broke tJavaFlex.  

When main code is added to check a variable from the main row, it underlines the input variable in red color and the warning reads row1 cannot be resolved. The code does work correctly, but it sounds like the input variable is somehow not declared and the warning/error is misleading!  

Here's what I'm testing...

tFixedFlowInput_1 --> row1 (Main) --> tJavaFlex_1

Input schema: String status = "true"

tJavaFlex Main Code 

if (row1.status.equals("true")) {

System.out.println("*** completed ***");

} else if (row1.status.equals("false")) {

System.out.println("*** DID NOT complete ***");

}

else

System.out.println(row1.status);

 

See the screenshot attached. 

Any ideas how to get rid of this?

 

Labels (2)
3 Replies
ThWabi
Creator II
Creator II

I am facing the same issue with tJavaFlex and an output link. This started after installing a Studio patch.

At first, this was not really a problem because the code view worked and publishing (to an artefact repository) was also possible. But recently Studio showed the error when compiling the job for publishing.

userroland
Contributor
Contributor

Hi all,

 

I'm facing the same issue since the 202504 and still even after updgrading to 202506.

Also, i'm facing the exact same issue with tjavaflex AND tjava..

 

If someone has a way to resolve this it would be greatly appreciated.

 

Ty

jeoste
Creator II
Creator II

Hello

What if you use input_row instead of the name of the row?