Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
MPogorelov1634291005
Contributor II
Contributor II

Error when run job from job conductor

When i trying run task in job conductor i recieve a error. But a few days before TAC works normaly:

java.lang.Exception: java.lang.NoClassDefFoundError: Could not initialize class com.android.apksig.internal.apk.v1.V1SchemeSigner

java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)

java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)

org.talend.administrator.scheduler.business.ExecutionTaskHandler.deployJobUnit(ExecutionTaskHandler.java:544)

org.talend.administrator.scheduler.business.ExecutionTaskHandler.runTaskUnit(ExecutionTaskHandler.java:914)

org.talend.administrator.scheduler.jobs.RemoteTaskExecution.executeRemoteJob(RemoteTaskExecution.java:533)

org.talend.administrator.scheduler.jobs.RemoteTaskExecution.execute(RemoteTaskExecution.java:251)

org.talend.administrator.scheduler.jobs.RemoteExecutionSwitcher.execute(RemoteExecutionSwitcher.java:50)

org.quartz.core.JobRunShell.run(JobRunShell.java:199)

org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)

Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.android.apksig.internal.apk.v1.V1SchemeSigner

org.talend.administrator.scheduler.business.ExecutionTaskHandler$2.call(ExecutionTaskHandler.java:535)

java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

org.talend.utils.thread.BoundedExecutor$2.run(BoundedExecutor.java:75)

java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)

java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)

java.base/java.lang.Thread.run(Thread.java:833)

Caused by: Could not initialize class com.android.apksig.internal.apk.v1.V1SchemeSigner

com.android.apksig.DefaultApkSignerEngine.<init>(DefaultApkSignerEngine.java:149)

com.android.apksig.DefaultApkSignerEngine.<init>(DefaultApkSignerEngine.java:52)

com.android.apksig.DefaultApkSignerEngine$Builder.build(DefaultApkSignerEngine.java:902)

com.android.apksig.ApkSigner.sign(ApkSigner.java:260)

com.android.apksig.ApkSigner.sign(ApkSigner.java:179)

org.talend.signature.TalendZipSigner.sign(TalendZipSigner.java:52)

org.talend.administrator.common.signature.TalendSigner.signJob(TalendSigner.java:38)

org.talend.administrator.scheduler.business.job.deploy.SenderThreadCached.prepareLocalArchive(SenderThreadCached.java:128)

org.talend.administrator.scheduler.business.job.deploy.SenderThreadCached.send(SenderThreadCached.java:135)

org.talend.administrator.scheduler.business.job.deploy.SenderThread.run(SenderThread.java:61)

I trying reinstall TAC and Jobserver, JDK. The result is the same.

Labels (2)
5 Replies
MPogorelov1634291005
Contributor II
Contributor II
Author

Another one:

java.lang.Exception: java.lang.IllegalAccessError: class com.android.apksig.internal.apk.v1.V1SchemeSigner (in unnamed module @0x6baf25d7) cannot access class sun.security.x509.AlgorithmId (in module java.base) because module java.base does not export sun.security.x509 to unnamed module @0x6baf25d7

java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)

java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)

org.talend.administrator.scheduler.business.ExecutionTaskHandler.deployJobUnit(ExecutionTaskHandler.java:544)

org.talend.administrator.scheduler.business.ExecutionTaskHandler.runTaskUnit(ExecutionTaskHandler.java:914)

org.talend.administrator.scheduler.jobs.RemoteTaskExecution.executeRemoteJob(RemoteTaskExecution.java:533)

org.talend.administrator.scheduler.jobs.RemoteTaskExecution.execute(RemoteTaskExecution.java:251)

org.talend.administrator.scheduler.jobs.RemoteExecutionSwitcher.execute(RemoteExecutionSwitcher.java:50)

org.quartz.core.JobRunShell.run(JobRunShell.java:199)

org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)

Caused by: java.lang.IllegalAccessError: class com.android.apksig.internal.apk.v1.V1SchemeSigner (in unnamed module @0x6baf25d7) cannot access class sun.security.x509.AlgorithmId (in module java.base) because module java.base does not export sun.security.x509 to unnamed module @0x6baf25d7

org.talend.administrator.scheduler.business.ExecutionTaskHandler$2.call(ExecutionTaskHandler.java:535)

java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

org.talend.utils.thread.BoundedExecutor$2.run(BoundedExecutor.java:75)

java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)

java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)

java.base/java.lang.Thread.run(Thread.java:833)

Caused by: class com.android.apksig.internal.apk.v1.V1SchemeSigner (in unnamed module @0x6baf25d7) cannot access class sun.security.x509.AlgorithmId (in module java.base) because module java.base does not export sun.security.x509 to unnamed module @0x6baf25d7

com.android.apksig.internal.apk.v1.V1SchemeSigner.getSupportedAlgorithmId(V1SchemeSigner.java:625)

com.android.apksig.internal.apk.v1.V1SchemeSigner.<clinit>(V1SchemeSigner.java:541)

com.android.apksig.DefaultApkSignerEngine.<init>(DefaultApkSignerEngine.java:149)

com.android.apksig.DefaultApkSignerEngine.<init>(DefaultApkSignerEngine.java:52)

com.android.apksig.DefaultApkSignerEngine$Builder.build(DefaultApkSignerEngine.java:902)

com.android.apksig.ApkSigner.sign(ApkSigner.java:260)

com.android.apksig.ApkSigner.sign(ApkSigner.java:179)

org.talend.signature.TalendZipSigner.sign(TalendZipSigner.java:52)

org.talend.administrator.common.signature.TalendSigner.signJob(TalendSigner.java:38)

org.talend.administrator.scheduler.business.job.deploy.SenderThreadCached.prepareLocalArchive(SenderThreadCached.java:128)

org.talend.administrator.scheduler.business.job.deploy.SenderThreadCached.send(SenderThreadCached.java:135)

org.talend.administrator.scheduler.business.job.deploy.SenderThread.run(SenderThread.java:61)

 

MPogorelov1634291005
Contributor II
Contributor II
Author

Maybe somebody from support can help me?

MPogorelov1634291005
Contributor II
Contributor II
Author

Sorry, my bad) I deleted needed jdk and jre.... Now TAC works successful.

decimatum
Contributor III
Contributor III

Hi, I am facing the same error. How did you resolved it? You deleted the jdk?

Anonymous
Not applicable

Hello @Ethan Pak​ 

That customer delete the jdk and jre by accident, but which means the error is caused by missing jdk or jre. So we think that the unsupported version may also cause this issue. We suggest you use the java 11 to test it again.

Best regards

Sabrina