Check your EntityManager object is entityManager. I ever got the null exception when use
EntityManager em. Later, after I changed to EntityManager entityManager, the exception
gone.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031855#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...