Gavin,
It's the proper object:
....model.PlayerPlay@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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...