Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-1338

Type Mismatch in Injection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 1.0.0-Beta4
    • None
    • core
    • None

      As shown from ejbthree1154 Test Client:

      Caused by: java.lang.RuntimeException: Non matching type for inject of field: private org.jboss.ejb3.test.ejbthree1154.TestLocalBusiness org.jboss.ejb3.test.ejbthree1154.DelegateBean.localBusiness for type: $Proxy100 of jndiName env/org.jboss.ejb3.test.ejbthree1154.DelegateBean/localBusiness
      intfs: , org.jboss.ejb3.proxy.JBossProxy, org.jboss.ejb3.test.ejbthree1154.TestRemoteBusiness
      at org.jboss.injection.JndiFieldInjector.inject(JndiFieldInjector.java:117)
      at org.jboss.injection.JndiFieldInjector.inject(JndiFieldInjector.java:95)
      at org.jboss.injection.JndiFieldInjector.inject(JndiFieldInjector.java:63)
      at org.jboss.ejb3.pool.AbstractPool.create(AbstractPool.java:104)
      at org.jboss.ejb3.InfinitePool.get(InfinitePool.java:56)
      at org.jboss.ejb3.InfinitePool.get(InfinitePool.java:51)
      at org.jboss.ejb3.pool.ThreadlocalPool.create(ThreadlocalPool.java:53)
      at org.jboss.ejb3.pool.ThreadlocalPool.get(ThreadlocalPool.java:93)
      at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:58)

              arubinge@redhat.com Andrew Rubinger (Inactive)
              arubinge@redhat.com Andrew Rubinger (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: