Hi

can you try with current snapshot please, we are finally all green today

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/5/13 James Green <[email protected]>

> apache-tomee-1.6.0-20130308.041124-23-plus.zip works
> apache-tomee-1.6.0-20130510.041047-66-plus.zip does not
>
>
> On 13 May 2013 12:07, James Green <[email protected]> wrote:
>
> > Last Fri I upgraded to the current nightly 1.6-SNAPSHOT.
> >
> > I'm not faced with CDI exceptions.
> >
> > SEVERE: The bean instance EnvelopeSoapService threw a system
> > exception:org.apache.webbeans.exception.WebBeansConfigurationException:
> > Configured InterceptorHandler
> > org.apache.webbeans.web.intercept.RequestScopedBeanInterceptorHandler has
> > wrong constructor
> > org.apache.webbeans.exception.WebBeansConfigurationException: Configured
> > InterceptorHandler
> > org.apache.webbeans.web.intercept.RequestScopedBeanInterceptorHandler has
> > wrong constructor
> >         at
> >
> org.apache.webbeans.proxy.NormalScopeProxyFactory.getInstanceProvider(NormalScopeProxyFactory.java:159)
> >         at
> >
> org.apache.webbeans.proxy.NormalScopeProxyFactory.createNormalScopeProxy(NormalScopeProxyFactory.java:137)
> >         at
> >
> org.apache.webbeans.container.BeanManagerImpl.getReference(BeanManagerImpl.java:710)
> >         at
> >
> org.apache.webbeans.container.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:627)
> >         at
> >
> org.apache.webbeans.inject.AbstractInjectable.inject(AbstractInjectable.java:96)
> >         at
> >
> org.apache.webbeans.inject.InjectableField.doInjection(InjectableField.java:65)
> > ...
> > Caused by: java.lang.NoSuchMethodException:
> >
> org.apache.webbeans.web.intercept.RequestScopedBeanInterceptorHandler.<init>(javax.enterprise.inject.spi.BeanManager,
> > javax.enterprise.inject.spi.Bean)
> >         at java.lang.Class.getConstructor0(Class.java:2721)
> >         at java.lang.Class.getConstructor(Class.java:1674)
> >         at
> >
> org.apache.webbeans.proxy.NormalScopeProxyFactory.getInstanceProvider(NormalScopeProxyFactory.java:154)
> >         ... 45 more
> >
> > This class uses @Inject on a setter method accepting a service which has
> a
> > public no-args ctor and another which accepts a DAO.
> >
> > @RequestScoped
> > public class DefaultCustomerBatchJobService implements
> > CustomerBatchJobService {
> >     private BatchJobEnvelopeDao dao;
> >
> >     /**
> >      * Used only by CDI container to create a Contextual Reference.
> >      */
> >     public DefaultCustomerBatchJobService() {
> >     }
> >
> >     /**
> >      * Used by CDI container to create a Contextual Instance.
> >      *
> >      * @param dao
> >      */
> >     @Inject
> >     public DefaultCustomerBatchJobService(BatchJobEnvelopeDao dao) {
> >         this.dao = dao;
> >     }
> >
> >
> > The DAO itself does not have a default no-args ctor but does get built
> via
> > an @Provider.
> >
> > This code was previously working with an older 1.6-SNAPSHOT. Any ideas?
> >
> > James
> >
> >
>

Reply via email to