Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am getting the following compile error, I have not seen it before, but have many models.
The compile error is the result of a tRunJob. If I deactivate the component, everything runs properly. I can also manually run the job that causes the compile error, and if I run it separately, it compiles and runs without error.
Here is the error I get:
org.talend.designer.runprocess.ProcessorException: java.lang.Exception: [ERROR] COMPILATION ERROR :
[ERROR] E:\Base_Sage\TOS_DI-Win32-20200219_1130-V7.3.1\workspace\SAGE_BASE\poms\jobs\process\Setup\create_client_tables_and_indexes_0.1\src\main\java\sage_base\create_client_tables_and_indexes_0_1\Create_Client_Tables_and_Indexes.java:[238]
[ERROR] E:\Base_Sage\TOS_DI-Win32-20200219_1130-V7.3.1\workspace\SAGE_BASE\poms\jobs\process\Setup\create_client_tables_and_indexes_0.1\src\main\java\sage_base\create_client_tables_and_indexes_0_1\Create_Client_Tables_and_Indexes.java:[245]
[ERROR] E:\Base_Sage\TOS_DI-Win32-20200219_1130-V7.3.1\workspace\SAGE_BASE\poms\jobs\process\Setup\create_client_tables_and_indexes_0.1\src\main\java\sage_base\create_client_tables_and_indexes_0_1\Create_Client_Tables_and_Indexes.java:[263]
[ERROR] E:\Base_Sage\TOS_DI-Win32-20200219_1130-V7.3.1\workspace\SAGE_BASE\poms\jobs\process\Setup\create_client_tables_and_indexes_0.1\src\main\java\sage_base\create_client_tables_and_indexes_0_1\Create_Client_Tables_and_Indexes.java:[894]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project Create_Client_Tables_and_Indexes: Compilation failure: Compilation failure:
[ERROR] E:\Base_Sage\TOS_DI-Win32-20200219_1130-V7.3.1\workspace\SAGE_BASE\poms\jobs\process\Setup\create_client_tables_and_indexes_0.1\src\main\java\sage_base\create_client_tables_and_indexes_0_1\Create_Client_Tables_and_Indexes.java:[238]
[ERROR] if (!(e instanceof TalendException || e instanceof TDieException)) {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Incompatible conditional operand types Exception and TDieException
[ERROR] E:\Base_Sage\TOS_DI-Win32-20200219_1130-V7.3.1\workspace\SAGE_BASE\poms\jobs\process\Setup\create_client_tables_and_indexes_0.1\src\main\java\sage_base\create_client_tables_and_indexes_0_1\Create_Client_Tables_and_Indexes.java:[245]
[ERROR] if (!(e instanceof TDieException)) {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Incompatible conditional operand types Exception and TDieException
[ERROR] E:\Base_Sage\TOS_DI-Win32-20200219_1130-V7.3.1\workspace\SAGE_BASE\poms\jobs\process\Setup\create_client_tables_and_indexes_0.1\src\main\java\sage_base\create_client_tables_and_indexes_0_1\Create_Client_Tables_and_Indexes.java:[263]
[ERROR] if(!(e instanceof TDieException)){
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Incompatible conditional operand types Exception and TDieException
[ERROR] E:\Base_Sage\TOS_DI-Win32-20200219_1130-V7.3.1\workspace\SAGE_BASE\poms\jobs\process\Setup\create_client_tables_and_indexes_0.1\src\main\java\sage_base\create_client_tables_and_indexes_0_1\Create_Client_Tables_and_Indexes.java:[894]
[ERROR] resumeUtil.addLog("JOB_STARTED", "JOB:" + jobName, parent_part_launcher, Thread.currentThread().getId() + "", "","","","",resumeUtil.convertToJsonText(context,parametersToEncrypt));
[ERROR] ^^^^^^^^^^^^^^^^^
[ERROR] The method convertToJsonText(Object, List<String>) from the type ResumeUtil refers to the missing type List
[ERROR] 4 problems (4 errors)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :Create_Client_Tables_and_Indexes
at org.talend.designer.runprocess.ProcessorUtilities.generateBuildInfo(ProcessorUtilities.java:947)
at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:615)
at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:2068)
at org.talend.designer.runprocess.RunProcessContext$1.run(RunProcessContext.java:601)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:440)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:356)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:474)
at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:240)
at org.eclipse.ui.internal.progress.ProgressManager.run(ProgressManager.java:966)
at org.talend.designer.runprocess.RunProcessContext.exec(RunProcessContext.java:548)
at org.talend.designer.runprocess.ui.ProcessComposite.exec(ProcessComposite.java:1448)
at org.talend.designer.runprocess.ui.views.ProcessView$RunAction.run(ProcessView.java:700)
at org.talend.designer.runprocess.ui.actions.RunProcessAction.run(RunProcessAction.java:63)
at org.talend.designer.core.debug.JobLaunchConfigurationDelegate$1$1.run(JobLaunchConfigurationDelegate.java:98)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3919)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3550)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:563)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:151)
at org.talend.rcp.intro.Application.start(Application.java:280)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:595)
at org.eclipse.equinox.launcher.Main.run(Main.java:1501)
There are some additional error log lines, but they make the message too long. If you need them I will add in a reply.
Here is the rest of the error log:
Caused by: java.lang.Exception: [ERROR] COMPILATION ERROR :
[ERROR] E:\Base_Sage\TOS_DI-Win32-20200219_1130-V7.3.1\workspace\SAGE_BASE\poms\jobs\process\Setup\create_client_tables_and_indexes_0.1\src\main\java\sage_base\create_client_tables_and_indexes_0_1\Create_Client_Tables_and_Indexes.java:[238]
[ERROR] E:\Base_Sage\TOS_DI-Win32-20200219_1130-V7.3.1\workspace\SAGE_BASE\poms\jobs\process\Setup\create_client_tables_and_indexes_0.1\src\main\java\sage_base\create_client_tables_and_indexes_0_1\Create_Client_Tables_and_Indexes.java:[245]
[ERROR] E:\Base_Sage\TOS_DI-Win32-20200219_1130-V7.3.1\workspace\SAGE_BASE\poms\jobs\process\Setup\create_client_tables_and_indexes_0.1\src\main\java\sage_base\create_client_tables_and_indexes_0_1\Create_Client_Tables_and_Indexes.java:[263]
[ERROR] E:\Base_Sage\TOS_DI-Win32-20200219_1130-V7.3.1\workspace\SAGE_BASE\poms\jobs\process\Setup\create_client_tables_and_indexes_0.1\src\main\java\sage_base\create_client_tables_and_indexes_0_1\Create_Client_Tables_and_Indexes.java:[894]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project Create_Client_Tables_and_Indexes: Compilation failure: Compilation failure:
[ERROR] E:\Base_Sage\TOS_DI-Win32-20200219_1130-V7.3.1\workspace\SAGE_BASE\poms\jobs\process\Setup\create_client_tables_and_indexes_0.1\src\main\java\sage_base\create_client_tables_and_indexes_0_1\Create_Client_Tables_and_Indexes.java:[238]
[ERROR] if (!(e instanceof TalendException || e instanceof TDieException)) {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Incompatible conditional operand types Exception and TDieException
[ERROR] E:\Base_Sage\TOS_DI-Win32-20200219_1130-V7.3.1\workspace\SAGE_BASE\poms\jobs\process\Setup\create_client_tables_and_indexes_0.1\src\main\java\sage_base\create_client_tables_and_indexes_0_1\Create_Client_Tables_and_Indexes.java:[245]
[ERROR] if (!(e instanceof TDieException)) {
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Incompatible conditional operand types Exception and TDieException
[ERROR] E:\Base_Sage\TOS_DI-Win32-20200219_1130-V7.3.1\workspace\SAGE_BASE\poms\jobs\process\Setup\create_client_tables_and_indexes_0.1\src\main\java\sage_base\create_client_tables_and_indexes_0_1\Create_Client_Tables_and_Indexes.java:[263]
[ERROR] if(!(e instanceof TDieException)){
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Incompatible conditional operand types Exception and TDieException
[ERROR] E:\Base_Sage\TOS_DI-Win32-20200219_1130-V7.3.1\workspace\SAGE_BASE\poms\jobs\process\Setup\create_client_tables_and_indexes_0.1\src\main\java\sage_base\create_client_tables_and_indexes_0_1\Create_Client_Tables_and_Indexes.java:[894]
[ERROR] resumeUtil.addLog("JOB_STARTED", "JOB:" + jobName, parent_part_launcher, Thread.currentThread().getId() + "", "","","","",resumeUtil.convertToJsonText(context,parametersToEncrypt));
[ERROR] ^^^^^^^^^^^^^^^^^
[ERROR] The method convertToJsonText(Object, List<String>) from the type ResumeUtil refers to the missing type List
[ERROR] 4 problems (4 errors)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :Create_Client_Tables_and_Indexes
at org.talend.designer.maven.launch.MavenCommandLauncher.execute(MavenCommandLauncher.java:321)
at org.talend.designer.maven.launch.MavenPomCommandLauncher.execute(MavenPomCommandLauncher.java:57)
at org.talend.designer.maven.tools.BuildCacheManager.build(BuildCacheManager.java:230)
at org.talend.designer.runprocess.maven.MavenJavaProcessor.build(MavenJavaProcessor.java:417)
at org.talend.designer.runprocess.ProcessorUtilities.generateBuildInfo(ProcessorUtilities.java:944)
... 38 more
Hello
Can you please upload the log file? The log file is located in <studio installation directory>/workspace/.metadata/
Regards
Shong