[JBoss JIRA] (ARQ-1655) NPE in WebDriverFactory.createInstance()
by Karel Piwko (JIRA)
[ https://issues.jboss.org/browse/ARQ-1655?page=com.atlassian.jira.plugin.s... ]
Karel Piwko closed ARQ-1655.
----------------------------
Assignee: Aslak Knutsen
Fix Version/s: drone_1.2.4.Final
Resolution: Duplicate Issue
> NPE in WebDriverFactory.createInstance()
> ----------------------------------------
>
> Key: ARQ-1655
> URL: https://issues.jboss.org/browse/ARQ-1655
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Extension - Drone
> Affects Versions: drone_1.2.3.Final
> Reporter: Juergen Zimmermann
> Assignee: Aslak Knutsen
> Fix For: drone_1.2.4.Final
>
> Attachments: arquillian.xml, dependency-tree.txt, stacktrace.txt
>
>
> When I try to run my tests for Firefox (also Chrome and HtmlUnit) I'm getting the attached stacktrace.
> I also attach the output of "mvn dependency:tree" and arquillian.xml.
> My appserver is WildFly 8.0.0.Final.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (ARQ-1666) Fail to collect coverage data on @Startup annotated EJB's
by Aslak Knutsen (JIRA)
[ https://issues.jboss.org/browse/ARQ-1666?page=com.atlassian.jira.plugin.s... ]
Aslak Knutsen closed ARQ-1666.
------------------------------
> Fail to collect coverage data on @Startup annotated EJB's
> ---------------------------------------------------------
>
> Key: ARQ-1666
> URL: https://issues.jboss.org/browse/ARQ-1666
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Extension - Jacoco
> Affects Versions: jacoco_1.0.0.Alpha5
> Reporter: Aslak Knutsen
> Fix For: jacoco_1.0.0.Alpha6
>
>
> I have som ejb beans which are marked with @Startup annotation. When I try to run Arquillian tests in managed container and I try to measure code coverage with arquillian jacoco extension I get following exception.
> {code}
> 09:27:08,837 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.subunit."ear.ear"."logic-0.0.1-SNAPSHOT.jar".component.SomeOtherBean.START: org.jboss.msc.service.StartException in service jboss.deployment.subunit."ear.ear"."logic-0.0.1-SNAPSHOT.jar".component.SomeOtherBean.START: Failed to start service
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_10]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_10]
> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_10]
> Caused by: java.lang.IllegalStateException: JBAS011048: Failed to construct component instance
> at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:163)
> at org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:85)
> at org.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInstance(SingletonComponent.java:116)
> at org.jboss.as.ejb3.component.singleton.SingletonComponent.start(SingletonComponent.java:130)
> at org.jboss.as.ee.component.ComponentStartService.start(ComponentStartService.java:44)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> ... 3 more
> Caused by: javax.ejb.EJBException: java.lang.NullPointerException
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:166)
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:230)
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.requiresNew(CMTTxInterceptor.java:333)
> at org.jboss.as.ejb3.tx.SingletonLifecycleCMTTxInterceptor.processInvocation(SingletonLifecycleCMTTxInterceptor.java:56)
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
> at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:161)
> ... 9 more
> Caused by: java.lang.NullPointerException
> at org.jboss.arquillian.extension.jacoco.container.ArquillianRuntime.swapExecutionData(ArquillianRuntime.java:78)
> at pl.borysfan.logic.SomeOtherBean.$jacocoInit(SomeOtherBean.java)
> at pl.borysfan.logic.SomeOtherBean.(SomeOtherBean.java)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.7.0_10]
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [rt.jar:1.7.0_10]
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.7.0_10]
> at java.lang.reflect.Constructor.newInstance(Constructor.java:525) [rt.jar:1.7.0_10]
> at java.lang.Class.newInstance0(Class.java:372) [rt.jar:1.7.0_10]
> at java.lang.Class.newInstance(Class.java:325) [rt.jar:1.7.0_10]
> at org.jboss.as.weld.injection.WeldEEInjection.produce(WeldEEInjection.java:100)
> at org.jboss.as.weld.injection.WeldManagedReferenceFactory.getReference(WeldManagedReferenceFactory.java:77)
> at org.jboss.as.ee.component.ManagedReferenceInterceptorFactory$ManagedReferenceInterceptor.processInvocation(ManagedReferenceInterceptorFactory.java:90)
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:228)
> ... 18 more
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months
[JBoss JIRA] (ARQ-1387) Support code coverage for jar/war deployed by ZipImporter
by Aslak Knutsen (JIRA)
[ https://issues.jboss.org/browse/ARQ-1387?page=com.atlassian.jira.plugin.s... ]
Aslak Knutsen closed ARQ-1387.
------------------------------
> Support code coverage for jar/war deployed by ZipImporter
> ---------------------------------------------------------
>
> Key: ARQ-1387
> URL: https://issues.jboss.org/browse/ARQ-1387
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Extension - Jacoco
> Affects Versions: jacoco_1.0.0.Alpha5
> Environment: jdk 1.7, org.jacoco.core.0.6.2.20130203000
> Reporter: Andy Ma
> Assignee: Aslak Knutsen
> Labels: arquillian-jacoco, jacoco
> Fix For: jacoco_1.0.0.Alpha6
>
>
> If deployed with ZipImporter like:
> ShrinkWrap.create(ZipImporter.class, name)
> .importFrom(new File(MODULE_PATH + "/" + name)).as(WebArchive.class);
> the code coverage of imported archive can not be reported.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
10 years, 10 months