Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Stephen_Elves1
Contributor
Contributor

CommandLine: At least job "[jobname]" has compile errors, please

As you can see I'm not having a good week with CommandLine.
We have a number of jobs that are essentially master jobs that consist of a collection of tRunJobs, these jobs run fine in Studio, run fine in TAC, run fine using executeJob and executeAllJob in CommandLine.
We can also build the jobs (to create runable stand alone jobs or to import into TAC) directly in studio, however if we try and use buildJob on *some* of these jobs in CommandLine we get the following errors:
FAILED at Thu Feb 27 09:52:41 GMT 2014
exception : org.talend.commandline.client.command.CommandStatusWrapException: java.lang.RuntimeException: org.talend.designer.runprocess.ProcessorException: Job compile errors
At least job "jobRotaDSAtoDS" has compile errors, please fix and export again.
at org.talend.commandline.command.ExtensionCommandSwitch.caseExtensionServerCommand(ExtensionCommandSwitch.java:148)
at org.talend.commandline.client.command.extension.AbstractExtensionCommandSwitch.doSwitch(AbstractExtensionCommandSwitch.java:31)
at org.talend.commandline.command.CommandProcessorSwitch.caseExtensionCommand(CommandProcessorSwitch.java:161)
at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(CommandAbstractSwitch.java:70)
at org.talend.commandline.command.CommandConsumer.executeCommand(CommandConsumer.java:57)
at org.talend.commandline.command.CommandConsumer.execute(CommandConsumer.java:35)
at org.talend.commandline.cli.CommandLineHandler.process(CommandLineHandler.java:266)
at org.talend.commandline.cli.CommandLineHandler.execute(CommandLineHandler.java:196)
at org.talend.commandline.cli.CommandLineHandler.execute(CommandLineHandler.java:183)
at org.talend.commandline.command.CommandProcessor.processScriptFile(CommandProcessor.java:356)
at org.talend.commandline.cli.CommandLineHandler.executeClientCommand(CommandLineHandler.java:664)
at org.talend.commandline.cli.CommandLineHandler.process(CommandLineHandler.java:245)
at org.talend.commandline.cli.CommandLineHandler.execute(CommandLineHandler.java:196)
at org.talend.commandline.cli.CommandLineHandler.execute(CommandLineHandler.java:183)
at org.talend.commandline.mode.NormalCommandLine.start(NormalCommandLine.java:32)
at org.talend.commandline.CommandLineApplication.start(CommandLineApplication.java:147)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
Caused by: org.talend.designer.runprocess.ProcessorException: Job compile errors
At least job "jobRotaDSAtoDS" has compile errors, please fix and export again.
at org.talend.designer.runprocess.JobErrorsChecker.checkLastGenerationHasCompilationError(JobErrorsChecker.java:267)
at org.talend.commandline.util.JobHandler.export(JobHandler.java:227)
at org.talend.commandline.command.execute.BuildJobExecuteCommand.execute(BuildJobExecuteCommand.java:93)
at org.talend.commandline.command.ExtensionCommandSwitch.caseExtensionServerCommand(ExtensionCommandSwitch.java:146)
... 28 more

Suffice to say following http://community.talend.com:80/t5/Design-and-Development/Talend-as-part-of-another-application/m-p/1... I have checked and the jobs in question are error free.
Labels (3)
6 Replies
Anonymous
Not applicable

When your jobs runs fine, at some time the build job command must have succeeded.
For me it looks like, the jobs are changed and the new build fails because of code errors.
Check if the commandline has all libraries you using in the studio (e.g. user added libs for routines)
Check if the commandline has all user components you probably using in studio
Check the commandline runs the same Java major release as the studios.
The new way to provide the libraries to the commandline is via a SVN repository. Did you uploaded all necessary libraries to it and did you have setup this SVN repo to the commandline (in the SVN section)
Anonymous
Not applicable

Hi,
Please open a ticket on Talend Support Portal, our colleagues from support team would give you a hand.
Best regards
Sabrina
Stephen_Elves1
Contributor
Contributor
Author

Not extra libraries have been added to studio, again the jobs build and run fine on the same box IF run through TAC or even using the same commandline if you use executeJob rather than buildJob.
I haven't setup the libraies SVN repo yet.
Anonymous
Not applicable

Just setup SVN and all jars used in studio have been successfully commited by Studio, this getting the same error, I have even tried using buildJob on the job mentoined in the error message, exactly the same error no indication of where the problem is.
Anonymous
Not applicable

where, how to get nexus repo ?to delete the jar file?

Anonymous
Not applicable

Hello @uganesh 


@uganesh wrote:

where, how to get nexus repo ?to delete the jar file?


It's an old topic. Could you please create a new topic with more information about your current situation and issue?

Best regards

Sabrina