[
https://issues.apache.org/jira/browse/DELTASPIKE-647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14113847#comment-14113847
]
Gerhard Petracek commented on DELTASPIKE-647:
---------------------------------------------
creating a proxy with ProxyUtils.proxyFactory().createInvokerProxy(/*...*/,
beanBuilder.getBeanClass()) (which uses
org.apache.commons.proxy2.asm.ASMProxyFactory) and using the class of the
resulting proxy for BeanBuilder#beanClass
works with weld 2.2.x (tested with the arquillian-test provided with this
ticket), but fails with owb 1.2:
org.apache.webbeans.proxy.ProxyGenerationException:
java.lang.NoSuchMethodException: CommonsProxyASM_1.<init>()
at
org.apache.webbeans.proxy.NormalScopeProxyFactory.createConstructor(NormalScopeProxyFactory.java:341)
at
org.apache.webbeans.proxy.AbstractProxyFactory.generateProxy(AbstractProxyFactory.java:219)
at
org.apache.webbeans.proxy.AbstractProxyFactory.createProxyClass(AbstractProxyFactory.java:183)
at
org.apache.webbeans.proxy.NormalScopeProxyFactory.createProxyClass(NormalScopeProxyFactory.java:268)
at
org.apache.webbeans.proxy.NormalScopeProxyFactory.createProxyClass(NormalScopeProxyFactory.java:199)
at
org.apache.webbeans.proxy.NormalScopeProxyFactory.createNormalScopeProxy(NormalScopeProxyFactory.java:148)
at
org.apache.webbeans.container.BeanManagerImpl.getReference(BeanManagerImpl.java:727)
at
org.apache.webbeans.container.InjectableBeanManager.getReference(InjectableBeanManager.java:153)
at
org.apache.deltaspike.core.api.provider.BeanProvider.getContextualReference(BeanProvider.java:449)
> AppScoped abstract repositories doesn't work
> --------------------------------------------
>
> Key: DELTASPIKE-647
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-647
> Project: DeltaSpike
> Issue Type: Bug
> Components: Data-Module
> Reporter: Thomas Andraschko
> Assignee: Mark Struberg
> Attachments: 0001-Failing-PartialBeans-test.patch,
> DELTASPIKE-647.patch, DS-647.7z
>
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)