• 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: Occasional EOObjectNotAvailableException
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Occasional EOObjectNotAvailableException


  • Subject: Re: Occasional EOObjectNotAvailableException
  • From: "Lawson, Ben" <email@hidden>
  • Date: Mon, 23 Nov 2009 16:14:40 +0100
  • Acceptlanguage: en-US
  • Thread-topic: Occasional EOObjectNotAvailableException

It does not, the sort is based on a name attribute of the entity.

-Ben

On Nov 23, 2009, at 4:07 PM, Ken Anderson wrote:

> Ben,
>
> Does the sort include any relationships?
>
> Ken
>
> On Nov 23, 2009, at 9:59 AM, Lawson, Ben wrote:
>
>> Hey guys, hoping maybe one of you can shed light on this issue we've
>> been having intermittently:
>>
>> We start by fetching all the rows out of a table using
>> EOUtilities.objectsForEntityNamed(editingContext, entityName), and
>> then filter that array with
>> ERXArrayUtilities.sortedArraySortedWithKey(array, key). The problem
>> is that occasionally the sorting trips up
>> ERXDatabaseContextDelegate.databaseContextFailedToFetchObject when
>> faulting an element in the array (shouldn't this already have
>> happened when building the NSArray from objectsForEntityNamed?).
>>
>> The objects we are fetching are the same as that throwing the error,
>> so it's not a relationship fault that is causing the problem. I'm
>> curious why this problem would occur in the sort instead of the fetch.
>>
>> Finally, this problem only manifests itself in our test environment
>> (a Solaris box) and not on our local development machines (iMacs).
>> The application is built with all the frameworks embedded, and the
>> OS X classpaths match the UNIX classpaths. We took the bundle that
>> exhibited this issue and re-tested locally but the problem still
>> only exists on the Solaris machine.
>>
>> Thanks for the help,
>> -Ben _______________________________________________
>> 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
>

 _______________________________________________
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

References: 
 >Occasional EOObjectNotAvailableException (From: "Lawson, Ben" <email@hidden>)
 >Re: Occasional EOObjectNotAvailableException (From: Ken Anderson <email@hidden>)

  • Prev by Date: Re: Occasional EOObjectNotAvailableException
  • Next by Date: Re: Occasional EOObjectNotAvailableException
  • Previous by thread: Re: Occasional EOObjectNotAvailableException
  • Next by thread: Re: Occasional EOObjectNotAvailableException
  • Index(es):
    • Date
    • Thread