• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: identify the EOF exception
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: identify the EOF exception


  • Subject: Re: identify the EOF exception
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 08 Sep 2003 20:40:11 -0700

I *know* that I've seen this before in my apps, but for the life of my I
can't recall what I had done.  It looks like EOF is trying to update a new
object:

>rowDiffsForAttributes: snapshot in
com.webobjects.eoaccess.EODatabaseOperation
>{_dbSnapshot = {};
No snapshot exists.

>_entity = "CBJoinPublicationPubtext";
>_newRow = {pubID =
It is a new row for the database(I think...)


>_databaseOperator = "EODatabaseUpdateOperator";
We are doing an update operation, not an insert.

It looks like something has seriously gibbled either the EC or more of the
EOF stack.

Trying to update an object after deleting it?

Chuck




At 06:48 PM 08/09/2003 -0500, Jonathan Rochkind wrote:
>Anyone got any diagnosis of the following EOF exception?  I'm not able to
>reproduce it, I just see it in my logs.
>
>Note that the unfortunately named CBJoinPublicationPubtext entity DOES have
>an attribute named "layoutSlotKey".  It is a class property, it is not
>marked for locking, it is not a pk, there is nothing remarkable about
>it.  And on top of that, the string representation of the snapshot in the
>exception (see below) DOES seem to have a value for layoutSlotKey, despite
>the text of the message.  Huh?
>
>IllegalStateException
>
>rowDiffsForAttributes: snapshot in
>com.webobjects.eoaccess.EODatabaseOperation {_dbSnapshot = {}; _entity =
>"CBJoinPublicationPubtext"; _newRow = {pubID =
><com.webobjects.foundation.NSKeyValueCoding$Null>; orderInPublication = 1;
>layoutSlotKey = "text"; }; _object = "{values = {orderInPublication = 1;
>publicationtext = "<CBPublicationtext 5c5434
>(com.webobjects.eoaccess.EOAccessFaultHandler
>_EOIntegralKeyGlobalID[CBPublicationtext (java.lang.Integer)8746])>";
>publication = "null"; layoutSlotKey = "text"; }; this =
>"<CBJoinPublicationPubtext 47c130
>_EOVectorKeyGlobalID[CBJoinPublicationPubtext
>(java.lang.Integer)4743,(java.lang.Integer)8746]>"; }"; _globalID =
>_EOVectorKeyGlobalID[CBJoinPublicationPubtext
>(java.lang.Integer)4743,(java.lang.Integer)8746]; _databaseOperator =
>"EODatabaseUpdateOperator"; } does not contain value for attribute named
>layoutSlotKey with snapshot key: layoutSlotKey
>
>
>EODatabaseOperation.java 338 rowDiffsForAttributes
>EODatabaseContext.java 5346
>createAdaptorOperationsForDatabaseOperationAttributes
>EODatabaseContext.java 5521 createAdaptorOperationsForDatabaseOperation
>EODatabaseContext.java 6337 performChanges
>EOObjectStoreCoordinator.java 411 saveChangesInEditingContext
>EOEditingContext.java 3128 saveChanges
>
>
>--Jonathan
>_______________________________________________
>webobjects-dev mailing list | email@hidden
>Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
>Do not post admin requests to the list. They will be ignored.
>

--

Chuck Hill                                 email@hidden
Global Village Consulting Inc.             http://www.global-village.net
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Code for https?
  • Next by Date: Re: Code for https?
  • Previous by thread: identify the EOF exception
  • Next by thread: Any WO news on Java 1.4.1
  • Index(es):
    • Date
    • Thread