Problem with snapshot <--> entity not in sync
Problem with snapshot <--> entity not in sync
- Subject: Problem with snapshot <--> entity not in sync
- From: Guido Neitzer <email@hidden>
- Date: Fri, 20 May 2005 14:51:06 +0200
Hi.
I have a problem with one of my applications ... it sometimes hangs
(kind of deadlock) and sometimes I get this:
------------------------------------------------
java.lang.IllegalStateException: rowDiffsForAttributes: snapshot in
com.webobjects.eoaccess.EODatabaseOperation {_dbSnapshot =
[lot of bla bla deleted]
------------------------------------------------
The keys in the snapshot and the entity are not the same. In the
entity are more keys (I have added exactly these keys with a change
in the model a few days ago, but they are in the model, the db and
the entity).
Interesting enough: this happens SOMETIMES and not with every object
for this entity ... :-(
Some more information:
- the entity has changed a few days ago, the database was also changed
- the new framework with the entity class is in the application
bundle, there is no other framework with the entity installed on the
system
- the entity is searched with a model based fetch spec (done in the
early days of the app) and a display group
- i don't see any chance to reproduce the problem, sometimes it comes
up, sometimes not, I never managed to get the error on my dev
environment (I made a fresh deployment, the issue came back after a
few hours, but only for on of the EOs)
- WO 5.2.3 on development and deployment, Mac OS X 10.3.9 on dev,
10.3.7 on deployment
- IDE is Eclipse, deployment made with "Install ..." in Eclipse, then
"woaFrameworkMerger.pl" to include the framework in the application
bundle.
Any suggestions where to look for the problem? Or any hints how to
check WHERE this can happen in my app?
Thanks!
cug
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden