This content has been marked as final.
Show 1 reply
-
1. Re: Exception raised in module user op edithome
yanikc May 11, 2003 10:18 PM (in response to yanikc)Found reason.
In table NUKES_USERS when the column PN_UBLOCKON contains NULL (should contain TRUE or FALSE), the getPersonalMenuStatus() method in org.jboss.nukes.core.ejb.UserEJB.java (or the generated method by the EJB 2 magic) is unable to handle NULL.
Solution:
a) Correct the setup.ddl file to set PN_UBLOCKON to false (and by the way the PN_NOSCORE column should be set to a non-null value as well).
b) Write more code to trap (try,catch,finally) and set a default value in the case of an exception is raised when a EJB getXXX method is called.