I am trying for hours already to get this tutorial to work in JBoss 4.2.0: http://www.eclipse.org/webtools/jst/components/j2ee/scenarios/jee5_application_creation_tutorial.html
I always get a NPE with that: @PersistenceUnit(name="EJBProject1") EntityManagerFactory emf; ... ... (inside a method) EntityManager em1 = emf.createEntityManager(); // <== This causes a NullPointerException Maybe its related to this: http://www.jboss.com/index.html?module=bb&op=viewforum&f=221 but I can't figure out how to fix it. Any help is appreciated. The eclipse project files can be downloaded here: http://hellekalek.com/diverses/workspace.zip View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046525#4046525 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046525 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user