[
https://issues.jboss.org/browse/ARQ-1936?page=com.atlassian.jira.plugin.s...
]
Arcadiy Ivanov updated ARQ-1936:
--------------------------------
Description:
Jacoco normally removes signatures using SignatureRemover. Because Arq Jacoco Extension is
dealing with Archives and Assets it invokes instrumenter directly by hand. The normal
process of signature removal doesn't happen and corrupted jars fail to be read with
errors such as this.
{noformat}
2015-03-21 07:49:08,062 WARN [org.jboss.as.server.deployment] (MSC service thread 1-11)
JBAS015852: Could not index class org/jacoco/core/internal/flow/ClassProbesAdapter.class
at
/content/27ab3865-48b4-48c0-b2b5-dbbfd128ed38.ear/lib/org.jacoco.core-0.7.4.201502262128.jar:
java.lang.SecurityException: SHA-256 digest error for
org/jacoco/core/internal/flow/ClassProbesAdapter.class
at sun.security.util.ManifestEntryVerifier.verify(ManifestEntryVerifier.java:218)
[rt.jar:1.8.0_40]
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:241) [rt.jar:1.8.0_40]
at java.util.jar.JarVerifier.update(JarVerifier.java:228) [rt.jar:1.8.0_40]
at java.util.jar.JarVerifier$VerifierStream.read(JarVerifier.java:482) [rt.jar:1.8.0_40]
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) [rt.jar:1.8.0_40]
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) [rt.jar:1.8.0_40]
at java.io.BufferedInputStream.read(BufferedInputStream.java:345) [rt.jar:1.8.0_40]
at java.io.DataInputStream.readFully(DataInputStream.java:195) [rt.jar:1.8.0_40]
at java.io.DataInputStream.readFully(DataInputStream.java:169) [rt.jar:1.8.0_40]
at org.jboss.jandex.Indexer.verifyMagic(Indexer.java:433)
[jandex-1.2.1.Final.jar:1.2.1.Final]
at org.jboss.jandex.Indexer.index(Indexer.java:689) [jandex-1.2.1.Final.jar:1.2.1.Final]
at
org.jboss.as.server.deployment.annotation.ResourceRootIndexer.indexResourceRoot(ResourceRootIndexer.java:100)
[wildfly-server-8.2.0.Final.jar:8.2.0.Final]
at
org.jboss.as.server.deployment.annotation.AnnotationIndexProcessor.deploy(AnnotationIndexProcessor.java:51)
[wildfly-server-8.2.0.Final.jar:8.2.0.Final]
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159)
[wildfly-server-8.2.0.Final.jar:8.2.0.Final]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
[jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
[jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[rt.jar:1.8.0_40]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[rt.jar:1.8.0_40]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_40]
{noformat}
was:
Jacoco normally removes signatures using SignatureRemover. Because Arq Jacoco Extension is
dealing with Archives and Assets it invokes instrumenter directly by hand. The normal
process of signature removal doesn't happen an corrupted jars fail to be read with
errors such as this.
{noformat}
2015-03-21 07:49:08,062 WARN [org.jboss.as.server.deployment] (MSC service thread 1-11)
JBAS015852: Could not index class org/jacoco/core/internal/flow/ClassProbesAdapter.class
at
/content/27ab3865-48b4-48c0-b2b5-dbbfd128ed38.ear/lib/org.jacoco.core-0.7.4.201502262128.jar:
java.lang.SecurityException: SHA-256 digest error for
org/jacoco/core/internal/flow/ClassProbesAdapter.class
at sun.security.util.ManifestEntryVerifier.verify(ManifestEntryVerifier.java:218)
[rt.jar:1.8.0_40]
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:241) [rt.jar:1.8.0_40]
at java.util.jar.JarVerifier.update(JarVerifier.java:228) [rt.jar:1.8.0_40]
at java.util.jar.JarVerifier$VerifierStream.read(JarVerifier.java:482) [rt.jar:1.8.0_40]
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) [rt.jar:1.8.0_40]
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) [rt.jar:1.8.0_40]
at java.io.BufferedInputStream.read(BufferedInputStream.java:345) [rt.jar:1.8.0_40]
at java.io.DataInputStream.readFully(DataInputStream.java:195) [rt.jar:1.8.0_40]
at java.io.DataInputStream.readFully(DataInputStream.java:169) [rt.jar:1.8.0_40]
at org.jboss.jandex.Indexer.verifyMagic(Indexer.java:433)
[jandex-1.2.1.Final.jar:1.2.1.Final]
at org.jboss.jandex.Indexer.index(Indexer.java:689) [jandex-1.2.1.Final.jar:1.2.1.Final]
at
org.jboss.as.server.deployment.annotation.ResourceRootIndexer.indexResourceRoot(ResourceRootIndexer.java:100)
[wildfly-server-8.2.0.Final.jar:8.2.0.Final]
at
org.jboss.as.server.deployment.annotation.AnnotationIndexProcessor.deploy(AnnotationIndexProcessor.java:51)
[wildfly-server-8.2.0.Final.jar:8.2.0.Final]
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159)
[wildfly-server-8.2.0.Final.jar:8.2.0.Final]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
[jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
[jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[rt.jar:1.8.0_40]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[rt.jar:1.8.0_40]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_40]
{noformat}
Jacoco Extension needs signature removal
----------------------------------------
Key: ARQ-1936
URL:
https://issues.jboss.org/browse/ARQ-1936
Project: Arquillian
Issue Type: Bug
Components: Extension - Jacoco
Environment: WildFly 8.2.0.Final
Reporter: Arcadiy Ivanov
Jacoco normally removes signatures using SignatureRemover. Because Arq Jacoco Extension
is dealing with Archives and Assets it invokes instrumenter directly by hand. The normal
process of signature removal doesn't happen and corrupted jars fail to be read with
errors such as this.
{noformat}
2015-03-21 07:49:08,062 WARN [org.jboss.as.server.deployment] (MSC service thread 1-11)
JBAS015852: Could not index class org/jacoco/core/internal/flow/ClassProbesAdapter.class
at
/content/27ab3865-48b4-48c0-b2b5-dbbfd128ed38.ear/lib/org.jacoco.core-0.7.4.201502262128.jar:
java.lang.SecurityException: SHA-256 digest error for
org/jacoco/core/internal/flow/ClassProbesAdapter.class
at sun.security.util.ManifestEntryVerifier.verify(ManifestEntryVerifier.java:218)
[rt.jar:1.8.0_40]
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:241) [rt.jar:1.8.0_40]
at java.util.jar.JarVerifier.update(JarVerifier.java:228) [rt.jar:1.8.0_40]
at java.util.jar.JarVerifier$VerifierStream.read(JarVerifier.java:482)
[rt.jar:1.8.0_40]
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) [rt.jar:1.8.0_40]
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) [rt.jar:1.8.0_40]
at java.io.BufferedInputStream.read(BufferedInputStream.java:345) [rt.jar:1.8.0_40]
at java.io.DataInputStream.readFully(DataInputStream.java:195) [rt.jar:1.8.0_40]
at java.io.DataInputStream.readFully(DataInputStream.java:169) [rt.jar:1.8.0_40]
at org.jboss.jandex.Indexer.verifyMagic(Indexer.java:433)
[jandex-1.2.1.Final.jar:1.2.1.Final]
at org.jboss.jandex.Indexer.index(Indexer.java:689)
[jandex-1.2.1.Final.jar:1.2.1.Final]
at
org.jboss.as.server.deployment.annotation.ResourceRootIndexer.indexResourceRoot(ResourceRootIndexer.java:100)
[wildfly-server-8.2.0.Final.jar:8.2.0.Final]
at
org.jboss.as.server.deployment.annotation.AnnotationIndexProcessor.deploy(AnnotationIndexProcessor.java:51)
[wildfly-server-8.2.0.Final.jar:8.2.0.Final]
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159)
[wildfly-server-8.2.0.Final.jar:8.2.0.Final]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
[jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
[jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[rt.jar:1.8.0_40]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[rt.jar:1.8.0_40]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_40]
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)