[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1393) Argument Type mismatch during invocation on specific interface Proxy

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Tue Jun 3 22:20:30 EDT 2008


Argument Type mismatch during invocation on specific interface Proxy
--------------------------------------------------------------------

                 Key: EJBTHREE-1393
                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-1393
             Project: EJB 3.0
          Issue Type: Bug
          Components: proxy
            Reporter: Andrew Lee Rubinger
         Assigned To: Andrew Lee Rubinger
            Priority: Critical
             Fix For: AS 5.0.0.CR1


Attempting to lookup a Proxy for a specific EJB3 Business Interface results in:

Caused by: java.lang.RuntimeException: Could not create the EJB3 Business Proxy implementing "org.jboss.ejb3.core.test.stateless.MyStateless" for MyStatelessBean
	at org.jboss.ejb3.proxy.factory.session.SessionProxyFactoryBase.createProxyBusiness(SessionProxyFactoryBase.java:204)
	at org.jboss.ejb3.proxy.objectfactory.session.SessionProxyObjectFactory.createProxy(SessionProxyObjectFactory.java:132)
	at org.jboss.ejb3.proxy.objectfactory.session.stateless.StatelessSessionProxyObjectFactory.getProxy(StatelessSessionProxyObjectFactory.java:79)
	at org.jboss.ejb3.proxy.objectfactory.ProxyObjectFactory.getObjectInstance(ProxyObjectFactory.java:161)
	at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
	at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1312)
	at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1329)
	... 30 more
Caused by: java.lang.IllegalArgumentException: argument type mismatch
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
	at org.jboss.ejb3.proxy.factory.session.SessionProxyFactoryBase.createProxyBusiness(SessionProxyFactoryBase.java:199)
	... 36 more

Add test cases and fix

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

        



More information about the jboss-jira mailing list