Quel test l'avevo già fatto, ed esce null.

È dentro l'EJB che non so come debuggare. Ho letto qualche guida, ma non ha funzionato.