[JBoss JIRA] (ARQ-1475) Enhancer does not allow access to real instance
by Karel Piwko (JIRA)
Karel Piwko created ARQ-1475:
--------------------------------
Summary: Enhancer does not allow access to real instance
Key: ARQ-1475
URL: https://issues.jboss.org/browse/ARQ-1475
Project: Arquillian
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Extension - Drone
Affects Versions: drone_1.2.0.Beta1
Reporter: Karel Piwko
Enhancer API does not support getting real instance to be enhanced and droneType, which reflect field or parameter type, is misleading, because it does not reflect real instance type.
This might be a problem, especially if enhancer will report that it can't enhance an instance only because user injected it into WebDriver type, which is a super type, that might not support given feature.
--
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
12 years, 7 months
[JBoss JIRA] (ARQ-1458) Arquilian tests failed with RuntileException Could not inject members
by Cleverson Sacramento (JIRA)
[ https://issues.jboss.org/browse/ARQ-1458?page=com.atlassian.jira.plugin.s... ]
Cleverson Sacramento edited comment on ARQ-1458 at 9/11/13 7:08 AM:
--------------------------------------------------------------------
This bug was introduced by ARQ-1071 in 1.0.4.Final and persists in current version (1.1.1.Final). The reason is that all ThreadLocal occurences was replaced by InheritableThreadLocal to fix a NPE on @Timeout usages.
The proposed fix consists on revert just one occurence of InheritableThreadLocal to ThreadLocal like it has been done on following Pull Request:
https://github.com/arquillian/arquillian-core/pull/53
was (Author: cleverson.sacramento):
This bug was introduced by ARQ-1071 (https://issues.jboss.org/browse/ARQ-1071) in 1.0.4.Final and persists in current version (1.1.1.Final). The reason is that all ThreadLocal occurences was replaced by InheritableThreadLocal to fix a NPE on @Timeout usages.
The proposed fix consists on revert just one occurence of InheritableThreadLocal to ThreadLocal like it has been done on following Pull Request:
https://github.com/arquillian/arquillian-core/pull/53
> Arquilian tests failed with RuntileException Could not inject members
> ---------------------------------------------------------------------
>
> Key: ARQ-1458
> URL: https://issues.jboss.org/browse/ARQ-1458
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 1.0.4.Final, 1.1.0.Final, 1.1.1.Final
> Environment: Linux, JEE6, Embedded Glassfish 3.1.1, JPA, CDI, Arquilian 1.0.4 & Arquilian 1.1.0
> Reporter: Thomas Lallart
>
> When running more integration tests with Arquilian on Embedded Glassfish, some tests failed with message :
> java.lang.RuntimeException: Could not inject members
> at org.jboss.arquillian.testenricher.cdi.CDIInjectionEnricher.injectClass(CDIInjectionEnricher.java:135)
> at org.jboss.arquillian.testenricher.cdi.CDIInjectionEnricher.enrich(CDIInjectionEnricher.java:78)
> at org.jboss.arquillian.test.impl.TestInstanceEnricher.enrich(TestInstanceEnricher.java:52)
> ...
> Caused by: org.jboss.weld.exceptions.IllegalArgumentException: WELD-001324 Argument bean must not be null
> at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:744)
> at org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:138)
> at org.jboss.weld.util.Beans.injectBoundFields(Beans.java:872)
> at org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:884)
> at org.jboss.weld.manager.SimpleInjectionTarget$1.proceed(SimpleInjectionTarget.java:120)
> See also https://community.jboss.org/message/830718
--
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
12 years, 7 months
[JBoss JIRA] (ARQ-1458) Arquilian tests failed with RuntileException Could not inject members
by Cleverson Sacramento (JIRA)
[ https://issues.jboss.org/browse/ARQ-1458?page=com.atlassian.jira.plugin.s... ]
Cleverson Sacramento edited comment on ARQ-1458 at 9/11/13 7:08 AM:
--------------------------------------------------------------------
This bug was introduced by ARQ-1071 in 1.0.4.Final and persists in current version (1.1.1.Final). The reason is that all ThreadLocal occurences were replaced by InheritableThreadLocal to fix a NPE on @Timeout usages.
The proposed fix consists on revert just one occurence of InheritableThreadLocal to ThreadLocal like it has been done on following Pull Request:
https://github.com/arquillian/arquillian-core/pull/53
was (Author: cleverson.sacramento):
This bug was introduced by ARQ-1071 in 1.0.4.Final and persists in current version (1.1.1.Final). The reason is that all ThreadLocal occurences was replaced by InheritableThreadLocal to fix a NPE on @Timeout usages.
The proposed fix consists on revert just one occurence of InheritableThreadLocal to ThreadLocal like it has been done on following Pull Request:
https://github.com/arquillian/arquillian-core/pull/53
> Arquilian tests failed with RuntileException Could not inject members
> ---------------------------------------------------------------------
>
> Key: ARQ-1458
> URL: https://issues.jboss.org/browse/ARQ-1458
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 1.0.4.Final, 1.1.0.Final, 1.1.1.Final
> Environment: Linux, JEE6, Embedded Glassfish 3.1.1, JPA, CDI, Arquilian 1.0.4 & Arquilian 1.1.0
> Reporter: Thomas Lallart
>
> When running more integration tests with Arquilian on Embedded Glassfish, some tests failed with message :
> java.lang.RuntimeException: Could not inject members
> at org.jboss.arquillian.testenricher.cdi.CDIInjectionEnricher.injectClass(CDIInjectionEnricher.java:135)
> at org.jboss.arquillian.testenricher.cdi.CDIInjectionEnricher.enrich(CDIInjectionEnricher.java:78)
> at org.jboss.arquillian.test.impl.TestInstanceEnricher.enrich(TestInstanceEnricher.java:52)
> ...
> Caused by: org.jboss.weld.exceptions.IllegalArgumentException: WELD-001324 Argument bean must not be null
> at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:744)
> at org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:138)
> at org.jboss.weld.util.Beans.injectBoundFields(Beans.java:872)
> at org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:884)
> at org.jboss.weld.manager.SimpleInjectionTarget$1.proceed(SimpleInjectionTarget.java:120)
> See also https://community.jboss.org/message/830718
--
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
12 years, 7 months
[JBoss JIRA] (ARQ-1458) Arquilian tests failed with RuntileException Could not inject members
by Cleverson Sacramento (JIRA)
[ https://issues.jboss.org/browse/ARQ-1458?page=com.atlassian.jira.plugin.s... ]
Cleverson Sacramento commented on ARQ-1458:
-------------------------------------------
This bug was introduced by ARQ-1071 (https://issues.jboss.org/browse/ARQ-1071) in 1.0.4.Final and persists in current version (1.1.1.Final). The reason is that all ThreadLocal occurences was replaced by InheritableThreadLocal to fix a NPE on @Timeout usages.
The proposed fix consists on revert just one occurence of InheritableThreadLocal to ThreadLocal like it has been done on following Pull Request:
https://github.com/arquillian/arquillian-core/pull/53
> Arquilian tests failed with RuntileException Could not inject members
> ---------------------------------------------------------------------
>
> Key: ARQ-1458
> URL: https://issues.jboss.org/browse/ARQ-1458
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 1.0.4.Final, 1.1.0.Final, 1.1.1.Final
> Environment: Linux, JEE6, Embedded Glassfish 3.1.1, JPA, CDI, Arquilian 1.0.4 & Arquilian 1.1.0
> Reporter: Thomas Lallart
>
> When running more integration tests with Arquilian on Embedded Glassfish, some tests failed with message :
> java.lang.RuntimeException: Could not inject members
> at org.jboss.arquillian.testenricher.cdi.CDIInjectionEnricher.injectClass(CDIInjectionEnricher.java:135)
> at org.jboss.arquillian.testenricher.cdi.CDIInjectionEnricher.enrich(CDIInjectionEnricher.java:78)
> at org.jboss.arquillian.test.impl.TestInstanceEnricher.enrich(TestInstanceEnricher.java:52)
> ...
> Caused by: org.jboss.weld.exceptions.IllegalArgumentException: WELD-001324 Argument bean must not be null
> at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:744)
> at org.jboss.weld.injection.FieldInjectionPoint.inject(FieldInjectionPoint.java:138)
> at org.jboss.weld.util.Beans.injectBoundFields(Beans.java:872)
> at org.jboss.weld.util.Beans.injectFieldsAndInitializers(Beans.java:884)
> at org.jboss.weld.manager.SimpleInjectionTarget$1.proceed(SimpleInjectionTarget.java:120)
> See also https://community.jboss.org/message/830718
--
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
12 years, 7 months