[jboss-user] [JBoss Seam] - Re: selectOneMenu - NPE
marius.oancea
do-not-reply at jboss.com
Mon Nov 19 04:54:48 EST 2007
Ah. I posted my message before you posted the exception.
Anyway: please make sue you are using the entityManager (and is named entityManager). This seems correct according to your posted XML.
Your entity has to have a @Id. Make sure of that.
NPE seems to be at
EntityIdentifier key = new EntityIdentifier(entity, getEntityManager());
Eventually make a brackpoint here and see what is null.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105944#4105944
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105944
More information about the jboss-user
mailing list