Can you confirm that there is a record for HoVPlanoContas in the database with 
id of 129? Is it reproducible?

Andrus

On Jan 24, 2011, at 3:03 AM, Bruno René Santos wrote:

> Hello all,
> 
> Im having an error when I access an object:
> 
> Caused by: org.apache.cayenne.FaultFailureException: [v.3.0.1 Aug 25 2010 
> 19:38:17] Error resolving fault for ObjectId: <ObjectId:HoVPlanoContas, 
> id=129> and state (modified). Possible cause - matching row is missing from 
> the database.
>    at org.apache.cayenne.BaseContext.prepareForAccess(BaseContext.java:171)
>    at 
> org.apache.cayenne.CayenneDataObject.readProperty(CayenneDataObject.java:230)
> 
> When I go to the line 171 of BaseContext there is this comment from Andrus:
> 
> // TODO: andrus 4/13/2006, modified and deleted states are possible due to
>                // a race condition, should we handle them here?
> 
> Why this happens? Any solutions?
> 
> Thanx
> Bruno
> -- 
> Bruno René Santos | [email protected] <mailto:[email protected]> | Gestor 
> de Projectos | Analista | Programador | Investigador
> 
> Holos - Soluções Avançadas em Tecnologias de Informação S.A.
> Parque de Ciência e Tecnologia de Almada/Setúbal . Edifício Madan Parque
> Rua dos Inventores . Quinta da Torre . 2825 - 182 Caparica . Portugal
> Phone: +351 210 438 686 . Fax: +351 210 438 687 . Web: www.holos.pt
> 
> 
> This email and any files transmitted with it are confidential and intended 
> solely for the use of the individual or entity to whom they are addressed. If 
> you are not the intended recipient or the person responsible for delivering 
> the email to the intended recipient, be advised that you have received this 
> email in error and that any use, dissemination, forwarding, printing, or 
> copying of this email is strictly prohibited. If you have received this email 
> in error please notify Bruno René Santos by telephone on +351 210 438 686
> 

Reply via email to