Hi, Not sure I know the answer right away, but lets try to see what is
going on...
On Tuesday, July 8, 2003, at 06:53 PM, André Luiz N Sousa wrote:
> at
> org.objectstyle.cayenne.access.util.RelationshipDataSource.updateListDa
> ta(RelationshipDataSource.java:97)
> at
> org.objectstyle.cayenne.access.ToManyList.getObjectList(ToManyList.java
> :113)
> at org.objectstyle.cayenne.access.ToManyList.size(ToManyList.java:232)
> at
> br.org.scout23.controladores.controladorconfiguracaogeral.ControladorCo
> nfiguracaoGeral.tratarEndereco(ControladorConfiguracaoGeral.java:394)
> at
> br.org.scout23.controladores.controladorconfiguracaogeral.ControladorCo
> nfiguracaoGeral.excluirGrupoEscoteiro(ControladorConfiguracaoGeral.java
> :312)
> at
> br.org.scout23.appclients.struts.actions.GerenteGrupoEscoteiroAction.ex
> cluirRegistro(GerenteGrupoEscoteiroAction.java:143)
Line "394" in ControladorConfiguracaoGeral.tratarEndereco should be one
of these, right? :
> if ( (wEndereco.getGrupoEscoteiroArray() == null ||
> wEndereco.getGrupoEscoteiroArray().size() == 0) &&
> (wEndereco.getAlmoxarifadoArray() == null ||
> wEndereco.getAlmoxarifadoArray().size() == 0) &&
> (wEndereco.getEscotistaArray() == null ||
> wEndereco.getEscotistaArray().size() == 0)
Could you print out a state of "wEndereco" right before it blows
[System.out.println("" + wEndereco) or something]. Also if you could
send me your DataMap XML file directly, I will see if there are any
anomalies.
Andrus
This archive was generated by hypermail 2.0.0 : Tue Jul 08 2003 - 22:39:21 EDT