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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] Compilation issue in Job Conductor (TIS 3.2.2)

Hi,
I'm working with TOS 3.2.3.
I created a job that runs perfectly.
I've exported that job and import it in TIS 3.2.2.
The job also works in TIS (application not web part).
Finally, I've tried to runs it in the Job Conductor thanks to the web interface.
But the followinf issue appears :
Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
Syntax error, insert "AssignmentOperator Expression" to complete Assignment
Syntax error, insert ";" to complete Statement
The left-hand side of an assignment must be a variable
Syntax error on token "null", invalid ClassType
at hrms.hr_gl_ci005_validation_0_1.HR_GL_CI005_VALIDATION.tRunJob_1Process(HR_GL_CI005_VALIDATION.java:822)
at hrms.hr_gl_ci005_validation_0_1.HR_GL_CI005_VALIDATION.tJava_1Process(HR_GL_CI005_VALIDATION.java:742)
at hrms.hr_gl_ci005_validation_0_1.HR_GL_CI005_VALIDATION.runJobInTOS(HR_GL_CI005_VALIDATION.java:14415)
at hrms.hr_gl_ci005_validation_0_1.HR_GL_CI005_VALIDATION.main(HR_GL_CI005_VALIDATION.java:14253)

Since I've created the job in TOS, it didn't changed.
Do you have any idea about this problem ?
Regards,
shamza.
Labels (3)
1 Solution

Accepted Solutions
janhess
Creator II
Creator II

Presumably it generated and deployed ok in Job Conductor.

View solution in original post

11 Replies
Anonymous
Not applicable
Author

Any suggestions ??
Anonymous
Not applicable
Author

Hi
It is a compilation error, make sure the job works fine in studio first, correct it if not. Second, re-generate the task before executing it!
Best regards
Shong
Anonymous
Not applicable
Author

Hi shong and sorry for the delay,
I've already tried to re-generate my task and it doesn't work, I even deleted and re-created it.
I did it many times and it still ended with errors.
I'm absolutely sure my job is correct and it runs perfectly in TOS.
However, I found something strange.
Following my first attached image, my job start with a tJava, a tRunJob, etc....
When I desactivate all the components of my job, and only let the tJava one, the job runs without errors.
When I activate the tRunJob, it crashed -> I deduce my subjob is wrong.
So I tried to desactivate all the componenets of my subjob (second attached image) except the first one (tFileInputXML).
The compilation error appeared.
It seems when my subjob make a task, even just displaying a message, it crash.
So, have you ever meet this kind of issue ?
Do you have a solution to resolve it ?

Regards,
shamza.
janhess
Creator II
Creator II

What version of job conductor? You say you went from TOS 3.2.3 to TIS 3.2.2. There could be compatibility isseus.
Anonymous
Not applicable
Author

Hi Janhess and thank you for your answer,
I don't think so otherwise all jobs I deployed should have this compliation error.
I have about 70 jobs deployed on the JobConductor and they already run well :-)
shamza.
Anonymous
Not applicable
Author

any other idea ?
janhess
Creator II
Creator II

Presumably it generated and deployed ok in Job Conductor.
Anonymous
Not applicable
Author

Exactly Janhess 🙂
janhess
Creator II
Creator II

Have you checked the code against the failing line?