No EJB - CMP, quando o pego a referencia para ver se o objeto � null .... ele mostra que n�o �, mas quando eu tento acessar um atributo do objeto .....
 
         if (this.tabelaPreferida == null) {
            chave1 = null;
         } else {
            chave1 = new Integer(this.tabelaPreferida.getId());
         }
 
apresenta esse erro :
 
java.rmi.AccessException: CORBA NO_PERMISSION 0[Attempting to call non-reentrant bean multiple times: public abstract int br.gov
sitorio.dominio.tabelap.TabelaI.getId() throws java.rmi.RemoteException]; nested exception is:
   org.omg.CORBA.NO_PERMISSION: Attempting to call non-reentrant bean multiple times: public abstract int br.gov.datasus.reposi
.tabelap.TabelaI.getId() throws java.rmi.RemoteException  minor code: 0 completed: Maybe
rg.omg.CORBA.NO_PERMISSION: Attempting to call non-reentrant bean multiple times: public abstract int br.gov.datasus.repositori
elap.TabelaI.getId() throws java.rmi.RemoteException  minor code: 0 completed: Maybe

 

Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Atrašyti