selectOneMenu - java.lang.NullPointerException when adding record to the database (JSF2 and JPA2-OpenJPA)
- by rogie
Good day to all;
I'm developing a program using JSF2 and JPA2 (OpenJPA). Im also using
IBM Rapid App Dev't v8 with WebSphere App Server v8 test server.
I have two simple entities, Employee and Department. Each Department has many Employees and each
Employee belongs to a Department (using deptno and workdept). My problem occurs when i tried to add…