[jboss-user] [JBoss Seam] - Re: Exception when using @EJB (or JNDI to inject a session b
do-not-reply at jboss.com
Wed Nov 8 18:10:06 EST 2006
It's the proper object:
....model.PlayerPlay at 7f59c7
The line that looks interesting in the trace is:
Caused by: java.lang.IllegalArgumentException: Could not set field value by reflection: PlayerActionBean.selectedPlayerPlay on: com.example.SomeBean with value: class com.example.model.PlayerPlay
So, it's trying to set the @In property on the session bean that is injected with @EJB.
This exception happens whenever (and only when) I call a method on the injected (with @EJB) session bean.
If I don't call any methods on SomeBean then there's no exception, if I do then it triest o inject selectedPlayerPlay....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984340#3984340
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984340
More information about the jboss-user