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: 
Anonymous
Not applicable

[resolved] failed to generate

Hi,
I'm getting a error when generating with TOS 3.0.0 in a JAVA project The message is
Execution failed : Failed to generate code.
.
How to I fix/debug this?
Thanks in advanced,
Doug

Labels (2)
21 Replies
_AnonymousUser
Specialist III
Specialist III

thnx 4 the help as well as the contents of the forum...i repeated the job once again and this time there was no error...
_AnonymousUser
Specialist III
Specialist III

I've seen quite a few people repeat this same error and usually it's to do with the tFilterRow. What I've found is that they have changed the output schema to be different from the input schema for this component. Changing the output back to what the input usually will resolve the error.
_AnonymousUser
Specialist III
Specialist III

This thread just helped me a lot !
The issue was in fact the change of output schema of a tFilterRow, but it has been done quite silently. I think this IDE needs more warning but I understand it's not easy to predict all situations 0683p000009MA9p.png Anyway, good to know where to look for when you front this very confusing error !!
_AnonymousUser
Specialist III
Specialist III

Hi,
Thanks a lot for this topic.
It help me to resolve my problem !
Anonymous
Not applicable
Author

Hello,
i had the same experience. Is that a bug? The given solution does look like a rather weak workaround, does it not?
Anonymous
Not applicable
Author

Thanks a lot! My problem is solved!
_AnonymousUser
Specialist III
Specialist III

Hi Guys,
I had the same problem. With no 'red box' indicators, it can be hard to find. I solved it by deactivating all nodes and then 'synchronising columns' on all nodes such as 'Filter', 'Sort' and 'Unique'. Once I reactivated the nodes, I press 'play' and it worked.
regards,
Lee
_AnonymousUser
Specialist III
Specialist III

Almost 7 years later, this still worked for me. I had a tfilter where I accidentally removed the filtered column from the input, and f6 started throwing this error. I had just added a complicated tjava to the context setup and thought it must be that, but nope, it was a tfilter having a cow 8 miles down the page. The .log file pointed me toward the tfilter.
Anonymous
Not applicable
Author

Thanks this was very helpful  0683p000009MACn.png
Anonymous
Not applicable
Author

Thanks for the post, the issue for me was also in the tFilterRow component.