[
https://jira.jboss.org/jira/browse/EJBTHREE-1458?page=com.atlassian.jira....
]
Andrew Lee Rubinger resolved EJBTHREE-1458.
-------------------------------------------
Fix Version/s: AS 5.0.0.CR2
Resolution: Done
Resolved by linked commits
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
Fix For: AS 5.0.0.CR2
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