[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1458) CCE upon returning EJB2.x Proxy to caller

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Mon Aug 11 18:31:50 EDT 2008


CCE upon returning EJB2.x Proxy to caller
-----------------------------------------

                 Key: EJBTHREE-1458
                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1458
             Project: EJB 3.0
          Issue Type: Bug
          Components: core
            Reporter: Andrew Lee Rubinger
            Assignee: Andrew Lee Rubinger


Upon returning an EJB2.x Proxy to the caller, CCE.  There are 2 root errors involved.  One is in SLSB Container, upon localHomeCreate:

Caused by: java.lang.ClassCastException
	at java.lang.Class.cast(Class.java:2951)
	at org.jboss.ejb3.stateless.StatelessContainer.invokeHomeCreate(StatelessContainer.java:631)
	at org.jboss.ejb3.session.SessionSpecContainer.invokeHomeMethod(SessionSpecContainer.java:304)
	at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:187)

Behind that is a CCE when the caller gets the requested Proxy:

Caused by: java.lang.ClassCastException: $Proxy169
	at $Proxy172.create(Unknown Source)
	at blah.TestBean.getTwoLocal(TestBean.java:44)
	at blah.TestBeanBase.getInvokedBusinessInterfaceLocalIllegal(TestBeanBase.java:189)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list