Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I've got job compilation error which is sporadically reproduced. I'm looking to either make it reproducible or working. The problem is in Talend code generation, so probably there's some trigger which forces re-run of this task (clean workspace folders, etc.).
Design looks like this : route, job with tLibraryLoad control loading some custom code, tJava controls which are calling that custom code.
Scenario is:
void myFunction() {
if (/*code from tJava as is */)
else {
}
}
}
If you switch to the code tab in the Studio, it will show you where the code is broken. Take a look at this and I think you will see where the issue is. Any tiny mistake in the Java or badly modified component will cause this.
There's no errors on Code tab. I see in error logs compilation problem of code from src/main/java/internal. My code from tJava control is valid and for some reason it's pasted in this if() condition.
Can you show me the job design and all of the components? Looking at the code that is generated will not help here. The best place to start looking for any issues is in the Code tab within the Studio.
The code is generated from the design. The generation process is fixed. The only thing that will be changing will be the job design. As such, the error will be in the design.
Do you use the Enterprise studio or the open studio? In the enterprise studio we sometimes see a behaviour the code is not refreshed in time.
Somehow it stopped reproducing. I'll try to put some details when it fails again.
It's enterprise. Yes, it looks like the code is not refreshed properly, in sporadic way. Do you use any workaround or hints to solve it? Looks like it starts working after some save-compile iterations. And looks like the problem for Camel routes.
If you want to be sure you see the current code you can always use the Build Job function, also if you actually do not want the build yet. After this build the code is definitely up-to-date.